Commit Graph

44 Commits

Author SHA1 Message Date
Pietro Carrara
ddb7c92bdb Check if file fields are set on the API 2021-07-04 19:42:45 -03:00
Pietro Carrara
4a69c62df3 Load board config while generating json 2021-07-04 19:33:31 -03:00
Pietro Carrara
91bbfccf17 Check fields, use config paths 2021-07-04 15:42:47 -03:00
Pietro Carrara
6d9867f5b4 Use thumb, not thumb_path 2021-07-04 15:05:06 -03:00
Pietro Carrara
2252634892 Modify api image fields 2021-07-04 12:02:21 -03:00
nonmakina
0eb4059a7c
Merge pull request #135 from PietroCarrara/overboard-api
Build overboard json
2021-01-12 22:03:28 -06:00
Pietro Carrara
7004f2b437 Build overboard json 2021-01-11 20:23:59 -03:00
Pietro Carrara
e7cc1649c8 Add unique_ips field to the API 2021-01-11 15:46:57 -03:00
towards-a-new-leftypol
9033f6dc99
Merge pull request #99 from PietroCarrara/api-messages
Add warning and ban messages to the API
2021-01-04 21:11:18 -05:00
6aa3161380 Fixes indenting 2021-01-04 17:46:50 -06:00
1e96b12900 Adds spoilers to api 2021-01-04 17:42:57 -06:00
Pietro Carrara
cd2c81b654 Add warning and ban messages to the API 2021-01-04 19:06:29 -03:00
nonmakina
54c1c7fabe
Revert "Add spoiler information to the API" 2021-01-03 21:40:41 -06:00
Pietro Carrara
336130aabc Add spoiler information to the API
Using 1,0 rather than true,false keeps compatibility
with Clover/Kuroba's implementation of vichan's API parser
2021-01-03 20:02:48 -03:00
Pietro Carrara
59c2e35d70 Enable API flags for user_flag and country_flags 2020-12-31 07:29:10 -03:00
Pietro Carrara
4a1f42bde8 Enable flags on the JSON api 2020-12-30 20:08:47 -03: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