philomena/lib/philomena_web
SomewhatDamaged ae5bfe14e4 Add /forums API Endpoints (#14)
* Adding routes for /forums

Adding routes for new /forums endpoints

* New API Routes

`/forum`
`/forum/:forum_id`

* Add New API Routes

`/forums/:forum_id/topics/:topic_id/`
`/forums/:forum_id/topics/:topic_id/:post_id`

* Adds New API Routes

`/forums/:forum_id/topics`
`/forums/:forum_id/topics/:topic_id`

* Forum JSON formatter

* Updated

Correctly filters out things that should not be shown.

* Added topic JSON filter

* Added correct pagination

* Spacing and neatened

* Cleaned up

Consolidated queries and neatened up spacing.
Fixed name

* Removed unneeded aliases

* Cleaned up

Consolidated queries
Fixed spacing
Removed unneeded aliases

* Cleaned up

Spacing

* Cleaned up

spacing

* Depluralized

* Cleaned up

Removed space

* Removed extra spaces

* Removed extra spaces

* Removed extra spaces

* Removed preloads

* Cleaned up

Grouped clauses

* Consolodated further

* Cleaned up preloads

* Cleaned up

Preloads
consolidated clauses
grouped clauses

* Cleaned up

removed `id`
`locked`

* Removed topic_id

Not useful since the API client should already know it.

* More consolodation of terms

* Add total post count

* Removed unneeded variable

* Last cleanup, I swear.
2020-01-02 17:47:12 -05:00
..
channels initial 2019-08-14 20:32:32 -04:00
controllers Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00
plugs ensure the authenticated user is never persisted as a further safeguard against API CSRF 2019-12-24 12:15:30 -05:00
templates Don't put UTF-8 in search URL (#15) 2020-01-01 22:09:53 -05:00
views discard old parser 2019-12-31 14:56:38 -05:00
comment_json.ex Adding /api/v1/json/comment/:id endpoint (#13) 2019-12-31 18:25:11 -05:00
comment_loader.ex Revert "more aggressive preloading" 2019-12-22 22:13:36 -05:00
endpoint.ex samesite session 2019-12-23 19:20:24 -05:00
forum_json.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00
gallery_json.ex api search controllers 2019-12-24 03:26:06 -05:00
gettext.ex initial 2019-08-14 20:32:32 -04:00
image_json.ex add deletion/duplicate handling to api 2019-12-31 00:10:50 -05:00
image_loader.ex show hidden links on tag page, hidden status on profile page 2019-12-30 18:56:29 -05:00
image_reverse.ex include intensity data in image api response 2019-12-30 09:18:38 -05:00
mailer.ex add mailer, password resets, lockouts 2019-11-14 21:40:35 -05:00
post_json.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00
pow_mailer.ex add mailer, password resets, lockouts 2019-11-14 21:40:35 -05:00
router.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00
tag_json.ex api search controllers 2019-12-24 03:26:06 -05:00
topic_json.ex Add /forums API Endpoints (#14) 2020-01-02 17:47:12 -05:00