1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-18 10:25:55 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
fowr
4f68166870 api.php: using depedency injection instead of globals 2024-08-16 19:26:19 +02:00
Zankaria
4d8a4db338 api.php: partially modernize the Api class 2024-08-11 16:14:03 +02:00
Lorenzo Yario
6cd11d546f
undid to do a pr for it 2024-04-29 15:20:17 -07:00
Lorenzo Yario
4674f44327
soyjak upstream for api changes 2024-04-29 15:18:54 -07:00
RealAngeleno
f48872d5a4
prohibit emails from showing up in api if hide_email is true 2023-07-10 04:02:51 -07:00
RealAngeleno
ed627325ad
prohibit original filename from showing up in api when disabled
Makes it so that if $config['show_filename'] = false, it will show $apiPost['tim'] as the filename instead.
2023-07-10 02:46:28 -07:00
Fredrick Brennan
505adffcdc Cyclical threads ♺ 2016-05-06 16:39:20 +02:00
czaks
abe4bdd6ae fixup 2016-05-05 10:52:58 +02:00
czaks
dcf5d699bd simplify the md5 execution logic 2016-05-05 08:22:19 +02:00
Anonke
3f29bdfac9 the poster IDs were showing in API despite being disabled 2015-05-30 20:46:43 +02:00
Jason Puglisi
8cf28682e7 Removed tab at start of api.php to fix ban list and possibly other stuff 2015-04-03 08:03:15 -04:00
czaks
5a9af83ba6 better slugify support for api 2015-03-31 05:50:52 +02:00
czaks
e35d261ff4 enable embed field for api 2015-03-31 05:32:38 +02:00
8chan
4a22ee9245 Extra files and IDs in API
Conflicts:
	inc/api.php
2015-03-31 05:28:08 +02:00
czaks
bf1b6103cf Merge branch 'master' of github.com:vichan-devel/Tinyboard 2015-03-10 14:22:47 +01:00
czaks
6c4d3941fa api fix 2015-03-10 14:22:29 +01:00
czaks
50b80e9e24 ... (slug api) 2015-03-10 14:06:44 +01:00
clsr
49079e57fb Fix expanded tabs 2014-10-18 13:43:25 +02:00
clsr
d266908ca9 Fix API: Swap image width/height, make replies an integer, fix original filename 2014-10-18 13:43:25 +02:00
czaks
ef53af04ec fix a recently added md5 api field 2014-09-27 11:31:30 +02:00
hatstand0
d27cddaacc Add file hash to API
The API currently lacks the Base64 encoded file hash 4chan's API provides, which assists in file de-duplication by archive software.
2014-09-26 13:28:04 +02:00
hatstand0
7ea5b129e6 Fix thumbnail width/height in API
The API currently has the thumbnail widths and heights switched around
2014-09-26 13:27:49 +02:00
copypaste
c483e1258c multiimage posting 2014-04-27 15:48:47 +02:00
czaks
a7813360e3 Revert "why not extend this freaky 4chan api a bit?"
This reverts commit faaa0eab3a.

This improves on bug vichan-devel#24 a little bit
2014-03-09 01:46:14 +01:00
czaks
2664a84974 4chan api: add missing tim field 2013-12-28 22:24:54 +01:00
czaks
faaa0eab3a why not extend this freaky 4chan api a bit? 2013-12-28 19:51:13 +01:00
czaks
d6b8447233 revise 4chan api support 2013-12-28 19:46:50 +01:00
Michael Foster
7f0de93608 Cleaner check to make sure inc/ files aren't accessed directly. 2013-09-06 20:12:04 +10:00
ctrlcctrlv
9d77a4cc4c Only add country to JSON if flag fits country code regex 2013-08-21 22:35:24 +10:00
ctrlcctrlv
ed142a5e5d ;_; 2013-08-21 22:35:19 +10:00
ctrlcctrlv
ddd34347f8 Make file/thumb dimensons actually work (thanks sti) 2013-08-21 22:35:11 +10:00
ctrlcctrlv
618d979ec4 Country flags in API if they are enabled 2013-08-21 22:35:07 +10:00
ctrlcctrlv
ecda099dfb Custom fields in API, read config.php for info. Non-4chan compatible fields removed. 2013-08-21 22:35:01 +10:00
K
0cb54b15dc Add support for 4chan-compatible json API.
Conflicts:
	inc/functions.php
2013-08-21 22:32:44 +10:00