Commit graph

92 commits

Author SHA1 Message Date
Dessalines
6e4599411b
Adding inferno-helmet to fix page titles. Fixes #1028 (#1030) 2020-07-27 11:54:42 -04:00
Dessalines
d1342afe93
Remove extra jwt claims (for user settings) (#1025)
* Remove extra jwt claims (for user settings)

- The JWT token only contains the issuer, and your user id now.
- Now only a page refresh is necessary to pick up your settings on all
  clients, including theme, language, etc.
- GetSiteResponse now gives you your user and settings if logged in.
- Fixes #773

* Remove extra comment line, I tested nsfw

* Adding a todo to add a User_::readSafe()
2020-07-27 09:23:08 -04:00
76fec39670 Adding a lot of front end prettying.
- Re-did litely theme.
- Increased spacing.
- Fixed up navbar to not full width.
- Made login/sign up stand out.
- Made thumbnails have a light background.
- Removed btn-sm, made almost all buttons bigger.
- Made all badges lighter.
- Made card backgrounds transparent.
- Fixes #888
2020-07-23 02:10:22 -04:00
59da2976ab Some more API cleanup.
- Extracted methods for is_mod_or_admin, and is_admin.
- Removed admins from GetPostResponse and GetCommunityResponse.
- Some cleanup.
2020-07-22 14:20:08 -04:00
b6a6d52a92 Merge branch 'main' into api_edit_separation 2020-07-22 13:47:52 -04:00
Dessalines
55ce7b1339
Adding version to GetSite. Fixes #1001 (#1002)
* Adding version to GetSite. Fixes #1001

* Removing version.ts file
2020-07-21 13:20:23 +00:00
2eac037408 Adding post delete, remove, lock, and sticky. 2020-07-20 23:46:36 -04:00
fd96dfdb5e Added comment delete, remove, read. 2020-07-20 21:37:44 -04:00
9bc6698f58 Added community delete and remove. 2020-07-20 13:37:39 -04:00
23688f17bb Making chat only sortable by new. 2020-07-13 15:20:46 -04:00
c72acfd282 Fixing offset for mobile reflow. 2020-07-12 14:10:38 -04:00
ff2f70b1de Moving recent comments into main view as a chat select. Fixes #943 2020-07-12 00:58:42 -04:00
cd4e0ab3c2 HTML title bugs.
- Fixing HTML titles for some pages. Fixes #801
- Removing WebSocketService.Instance.site, fetching site on demand now.
2020-07-08 01:02:14 -04:00
b5c1fec845 Fixing issue with empty crossposts. 2020-05-18 09:50:05 -04:00
99e4551cf6 Simplify cross-posts. Fixes #727 2020-05-17 18:39:15 -04:00
221e35ec38 Try to fix post creation bug. 2020-04-05 10:11:16 -04:00
1f0439badd Adding showContext for comments to more places by default. 2020-03-20 22:24:27 -04:00
47dd8acf54 Adding loading indicators to save and mark as read. #519 2020-03-19 11:45:23 -04:00
a823084947 Adding key to comment-node to not clear out form. Fixes #588 2020-03-09 21:38:10 -04:00
08af66ba28 Some comment-node additions
- Hiding extra vote counts if no downvotes.
- Showing numbers on actions if there are.
2020-03-06 09:57:15 -05:00
858366c57b Proper comment-node depth coloring. 2020-03-05 15:10:46 -05:00
c999579c05 Better tippy loading. Fixes #577 2020-03-04 22:35:55 -05:00
774518e4fe Fixing unread indicator on link click. Fixes #527 2020-02-11 10:14:09 -05:00
fd8814677e Live post and comment resorting. Fixes #522
- Moving sorting to utils.
2020-02-09 11:44:24 -05:00
56cd103209 Fixing some technical debt. Fixes #524 2020-02-08 23:20:11 -05:00
716ce0f779 Adding if found to catch errors. 2020-02-05 14:24:35 -05:00
b0b50098a4 Websocket reconnect reload page data. Fixes #504 2020-02-04 11:19:05 -05:00
caba049da1 Merge branch 'dev' into websocket_scopes 2020-02-02 14:37:19 -05:00
ccda4d8453 Some minor fixes. 2020-02-02 14:10:15 -05:00
ac943f8951 Finishing up interpolation rework. 2020-02-02 13:50:44 -05:00
96a7e99e57 Removing PostLikeResponse in favor of PostResponse. Consolidating comment and post_sends. 2020-02-02 12:45:41 -05:00
cda1e6e741 Fixing issue with multiple notifications. 2020-02-02 10:09:01 -05:00
8036474dda Starting to work on user message scope. 2020-01-31 20:02:20 -05:00
Richard
2f9a052f89 usability features
This are all the commits from another PR combined into a single commit.
2020-01-31 21:52:27 +01:00
D Anzorge
8bcf191a1d Add sorting by old (date, ascending) to comment frontend 2020-01-28 20:14:08 +01:00
2e84441e66 Strictly typing websocket forms. 2020-01-27 21:04:30 -05:00
aa5a911edc Fixing front end error messages. Fixes #462 2020-01-25 09:58:53 -05:00
ac1d5f2b86 Done merging http-api and private_message 2020-01-23 19:17:42 -05:00
3b4258096c Adding a toaster to replace alerts. Fixes #457 2020-01-22 22:29:11 -05:00
e31090c9bd Adding comment and post vote loading indicators. Fixes #449 2020-01-20 10:11:50 -05:00
ac7a4031a8 Hide next paginator.
- Fixes #441
- Hide post sort radio if no comments.
2020-01-19 16:47:54 -05:00
dcd60228ed Strongly typing WebsocketJsonResponse. Forgot comment-form.tsx 2020-01-19 00:38:45 -05:00
a044718066 First pass at fixing UI to work with new websocketresponses. 2020-01-18 23:54:10 -05:00
82253f625b Upgrade package.json. 2020-01-06 11:22:51 -05:00
4e55612833 Running prettier on code.
- #305 , #309
2019-10-18 17:20:27 -07:00
c0821fcaa5 Adding 8 different themes.
- Fixes #276
2019-10-15 12:21:27 -07:00
c4bb6028c4 Sort removed and deleted comments at the bottom.
- Fixes #279
2019-10-13 12:53:41 -07:00
c8da0a92ec Add Creator flair for post creator / OPs comments
- Fixes #275
2019-09-13 08:37:12 -07:00
c2ddbec504 Fixing tribute positioning issue, moving recent comments to top. 2019-09-11 17:20:57 -07:00
565fc0abdb Adding ability to do mod action on post creator
- Fixes #248
- Show banned on user comment and user overview. Fixes #264
2019-09-05 17:18:48 -07:00