Commit Graph

220 Commits

Author SHA1 Message Date
Julian Lam
ab9b671693 fix(emails): broken test due to sticky registration interstitial 2021-07-30 13:29:13 -04:00
Julian Lam
69c96dd23c refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation 2021-07-30 13:29:13 -04:00
Julian Lam
cc6cbfcdc4 Flags API (#9666)
* feat: new routes for flags API

+ flag get
+ flag creation, migration from socket method
+ flag update, migration from socket method
* fixed bug where you could not unassign someone from a flag

* feat: tests for new flags API

added missing files for schema update

* fix: flag tests to use Write API instead of sockets

* feat: flag notes API + tests

* chore: remove debug line

* test: fix breaking test on mongo
2021-07-16 13:44:42 -04:00
Barış Soner Uşaklı
39e1359142 fix: schema 2021-06-08 11:54:52 -04:00
psychobunny
2db77b0cd2 docs: add undoTimeout 2021-06-07 14:51:55 -04:00
Julian Lam
d2960aeb09 feat: added GET user route for api v3 2021-05-26 12:35:37 -04:00
Julian Lam
6ef0c8e950 docs: update API docs to better outline authentication options 2021-05-10 11:20:28 -04:00
Julian Lam
d08d0c42e9 docs: update API authentication verbiage 2021-04-26 16:14:06 -04:00
gasoved
8faa6e4515 feat: filter flags by username #8489 (#9451)
* feat: filter flags by username #8489

* feat: toggle flag filter text
2021-04-14 16:50:30 -04:00
Barış Soner Uşaklı
d09cdc0436 fix: spec 2021-04-07 14:23:39 -04:00
gasoved
077330b764 feat: scheduled topics (#9399)
* feat: scheduled topics

* refactor: linting fixes

* fix: tests

* fix(test): race condition

* fix: make a single request
2021-03-24 14:28:02 -04:00
Barış Soner Uşaklı
e42b152f16 fix: #9414, use posts:view_deleted 2021-03-21 21:38:08 -04:00
Barış Soner Uşaklı
1e1127bd20 fix: spec 2021-03-13 14:35:26 -05:00
Julian Lam
2a939aad8d fix: regression via c1b3079d93
Also refactored privilege render logic so that it no longer needs a server-side hack to render column count
2021-03-12 14:22:16 -05:00
Julian Lam
e755067387 docs: fixed typo 2021-03-04 13:56:45 -05:00
Julian Lam
c1b3079d93 feat: category privilege API routes
closes #9342
2021-03-04 12:46:31 -05:00
Julian Lam
0804d54759 spec: schema docs for new ACP dashboard subpage routes 2021-02-24 12:51:20 -05:00
Julian Lam
d3a9e76ae2 test(user): added additional tests for icon background colour 2021-02-19 11:38:48 -05:00
Julian Lam
4c078084dc test: fix spec for topic thumbs 2021-02-16 12:40:25 -05:00
Julian Lam
1d9ade4c36 test: added missing properties to topicObject 2021-02-16 12:29:11 -05:00
Julian Lam
b31f6dd24a test: added missing test file 2021-02-16 12:22:35 -05:00
Julian Lam
ad54b174a4 test: topic reordering tests 2021-02-16 12:18:25 -05:00
Barış Soner Uşaklı
ab0ef44289 fix: spec 2021-02-08 11:46:42 -05:00
Barış Soner Uşaklı
47299ea587 Categories refactor (#9257)
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft

* feat: new category filter/search WIP

* feat: remove categories from /tag

* fix: dont load all categories when showing move modal

* feat: allow adding custom categories to list

* breaking: dont load entire category tree on post queue

removed unused code
add hooks to filter/selector
add options to filter/selector

* feat: make selector modal work again

* feat: replace old search module

* fix: topic move selector

* feat: dont load all categories on create category modal

* fix: fix more categorySelectors

* feat: dont load entire category tree on group details page

* feat: dont load all categories on home page and user settings page

* feat: add pagination to /user/:userslug/categories

* fix: update schemas

* fix: more tests

* fix: test

* feat: flags page, dont return entire category tree

* fix: flag test

* feat: categories manage page

dont load all categories
allow changing root category
clear caches properly

* fix: spec

* feat: admins&mods page

dont load all categories

* fix: spec

* fix: dont load all children when opening dropdown

* fix: on search results dont return all children

* refactor: pass all options, rename options.cids to options.selectedCids

* fix: #9266

* fix: index 0

* fix: spec

* feat: #9265, add setObjectBulk

* refactor: shoter updateOrder

* feat: selectors on categories/category

* fix: tests and search filter

* fix: category update test

* feat: pagination on acp categories page

show order in set order modal

* fix: allow drag&drop on pages > 1 in /admin/manage/categories

* fix: teasers for deep nested categories

fix sub category display on /category page

* fix: spec

* refactor: use eslint-disable-next-line

* refactor: shorter
2021-02-07 15:09:52 -05:00
gasoved
cabec378f4 fix: openapi test specs 2021-02-03 09:49:28 -05:00
gasoved
72b050b4a8 test: post diff deletion tests 2021-02-03 09:49:28 -05:00
Barış Soner Uşaklı
833c73e81b fix: example 2021-02-01 22:21:19 -05:00
Barış Soner Uşaklı
cc560ca3f9 feat: doc add description 2021-02-01 22:08:56 -05:00
Barış Soner Uşaklı
ed11e17129 feat: add doc for query param 2021-02-01 22:03:44 -05:00
Barış Soner Uşaklı
d1364c3130 Categories refactor (#9233)
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft
2021-02-01 15:19:32 -05:00
Barış Soner Uşaklı
4c12e0aaf8 fix: update docs 2021-02-01 15:16:36 -05:00
Barış Soner Uşaklı
faeb637353 fix: tests remove old routes 2021-01-27 20:30:33 -05:00
Julian Lam
dc84559d0b feat(topic-events): topic events GET route in write API 2021-01-27 13:16:49 -05:00
Julian Lam
ab2e1ecb40 feat(topic-events): work in progress topic events logic and client-side implementation 2021-01-27 13:16:49 -05:00
Julian Lam
8b72479f62 fix: remove 'filters' and 'categories' from flag details API return [breaking]
These options were originally used when the flag filters were shown in the sidebar. This has seen been removed, and so the information is now superfluous
2021-01-25 12:13:09 -05:00
Julian Lam
966c4117ec refactor(api): post move to write API 2021-01-18 15:31:14 -05:00
Julian Lam
e118e59ce0 refactor(api): post diffs to use write API 2021-01-18 14:26:22 -05:00
Julian Lam
0da2843281 feat(api): schema definition for new credential checking route 2021-01-07 15:11:45 -05:00
Julian Lam
87a7d85e89 fix: missing breadcrumbs in schema 2021-01-07 15:11:45 -05:00
Julian Lam
edb8da1ef9 feat(api): closes #9123 category and topic routes migrated to Write API 2020-12-29 10:32:01 -05:00
Julian Lam
fb3f3f729f refactor(openapi): update TopicObject component to reference TopicObjectSlim in its schema 2020-12-28 10:48:58 -05:00
Julian Lam
3959a7bd9c fix(api): failing test due to missing file 2020-12-22 14:43:22 -05:00
Julian Lam
32e36f7b2e feat(api): group ownership API route, switch client-side to use API route 2020-12-22 14:26:31 -05:00
Julian Lam
98550d61d7 feat(api): add schema for groups update route 2020-12-22 13:22:01 -05:00
Julian Lam
4fc1337762 feat(api): added schema for email unsubscribe token 2020-12-22 13:22:01 -05:00
Julian Lam
f416dc177a fix: all tests, wrap up work 2020-12-18 14:01:41 -05:00
Julian Lam
9c2de86a6e fix: two more routes 2020-12-18 14:01:41 -05:00
Julian Lam
cb32e32ae3 feat: fix more tests, add more routes, update api test suite 2020-12-18 14:01:41 -05:00
Julian Lam
14c51e3c60 feat: add registration/complete route, fix some other tests 2020-12-18 14:01:41 -05:00
Julian Lam
b9a61d2d45 fix: api tests 2020-12-18 14:01:41 -05:00