Commit Graph

72 Commits (1a0f70450ccf2c21274b07367c4e923595ad59b6)

Author SHA1 Message Date
Dessalines 49bd28e2d4
Adding visual captchas for register and login. (#1027)
* Adding visual captchas for register and login.

* Adding audio wav file for Captcha using espeak.

* Lots of captcha fixes.

- Removed login captchas.
- Added settings to disable captchas, and change difficulty.
- Captchas can only be checked / used once, front end gives a new one on
  failure.
- Added front end button for regenerating captcha.
- Added a disabled / pause button audio playing.

* Some more fixes.
2020-07-29 09:02:46 -04:00
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
Dessalines 2eac037408 Adding post delete, remove, lock, and sticky. 2020-07-20 23:46:36 -04:00
Dessalines fd96dfdb5e Added comment delete, remove, read. 2020-07-20 21:37:44 -04:00
Dessalines 9bc6698f58 Added community delete and remove. 2020-07-20 13:37:39 -04:00
Dessalines a67f46bec5 EditUserMention changed to MarkUserMentionAsRead. 2020-07-20 10:56:40 -04:00
Dessalines 0a28ffb9c4 Private message delete and read extracted. 2020-07-20 00:29:44 -04:00
Dessalines 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
Lorenz Schmidt 13771d56cd
Add default themes with media queries (#796)
* Indicate unstable API in README and mdbook

* Support user preference for light and dark theme

* Add default themes and load them in `setTheme`

* Fixes #758
2020-06-10 11:11:51 -04:00
Dessalines bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
2020-04-10 16:55:57 -04:00
Dessalines c999579c05 Better tippy loading. Fixes #577 2020-03-04 22:35:55 -05:00
Dessalines 774518e4fe Fixing unread indicator on link click. Fixes #527 2020-02-11 10:14:09 -05:00
Dessalines ecd10482a6 Add new comments views to main and community pages. Fixes #480 2020-02-07 23:05:15 -05:00
Dessalines b0b50098a4 Websocket reconnect reload page data. Fixes #504 2020-02-04 11:19:05 -05:00
Dessalines cd57e612c1 Doing UserJoin on connect / reconnect. 2020-02-02 16:37:57 -05:00
Dessalines 4d95be06b5 Merge branch 'dev' into websocket_scopes 2020-02-02 09:15:02 -05:00
Dessalines e8a604d0ed Testing out reconnecting websocket instead of rxJS one. #496 2020-02-01 22:52:16 -05:00
Dessalines 9f2b61708e Merge branch 'dev' into websocket_scopes 2020-02-01 00:37:34 -05:00
Dessalines 895d857825 Merge branch 'dev' into nutomic-api-benchmark 2020-01-31 22:53:55 -05:00
Dessalines 09747ccb66 Removing todo line. 2020-01-31 22:44:02 -05:00
Dessalines 8036474dda Starting to work on user message scope. 2020-01-31 20:02:20 -05:00
Felix 7b4bf68486 Add script to test http api, fix two api calls 2020-01-31 14:17:37 +01:00
Dessalines 5188bddd4d Merge branch 'dev' into websocket_scopes 2020-01-30 21:15:58 -05:00
Dessalines 451dfe679a Add not throwing error on auth check for getPost and getCommunity. Fixes #475 2020-01-28 08:47:37 -05:00
Dessalines 2e84441e66 Strictly typing websocket forms. 2020-01-27 21:04:30 -05:00
Dessalines 65adb0d15d Starting to work on websocket scopes. 2020-01-26 12:23:28 -05:00
Dessalines 3b4258096c Adding a toaster to replace alerts. Fixes #457 2020-01-22 22:29:11 -05:00
Dessalines 253bc3e0af Adding private messaging, and matrix user ids.
- Fixes #244
2020-01-22 16:38:16 -05:00
Dessalines a964b4ce21 Allow comment/post upvoting from other pages.
- Fixes #355
- Votes now coming back for posts and comments on search page.
2020-01-20 18:39:45 -05:00
Dessalines 82253f625b Upgrade package.json. 2020-01-06 11:22:51 -05:00
Dessalines cd7d3e3fd7 Fix for non-logged-in user theme.
Fixes #338
2019-11-13 14:03:09 -08:00
Dessalines 408b0efd48 Dynamically loading CSS theme, removing all but darkly from index.html
- Fixes #333
2019-11-11 19:24:40 -08:00
Dessalines 68e4b61808 Password reset mostly working. 2019-11-01 23:41:57 -07:00
Dessalines 9f35b33dc7 Halfway done with email, not fully working yet. 2019-10-29 20:35:39 -07:00
Dessalines ef56b3dede Adding shorter websocket reconnect.
- Fixes #314
2019-10-20 22:19:22 -07:00
Dessalines 02dd9ac32a Adding username mentions / tagging from comments.
- Fixes #293
2019-10-19 17:46:29 -07:00
Dessalines 4e55612833 Running prettier on code.
- #305 , #309
2019-10-18 17:20:27 -07:00
Dessalines f7c9dc0b21 Make delete account require password.
- Fixes #301
2019-10-17 21:25:23 -07:00
Dessalines 903d73d665 Adding permanently delete account comments and posts.
- Fixes #285
- Fixes #58
2019-10-15 15:09:01 -07:00
Dessalines c0821fcaa5 Adding 8 different themes.
- Fixes #276
2019-10-15 12:21:27 -07:00
Dessalines 3561ef93a0 Adding Community and Site transfer
- Fixes #139
2019-08-23 19:40:41 -07:00
Dessalines 1e9cd32e1d Fixing logout after browser close. 2019-08-19 15:22:05 -07:00
Dessalines d7ab85ab70 Squashed commit of the following:
commit ecd6c5a2f4
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 19:49:38 2019 -0700

    Adding some docs

commit 3babd09aff
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 19:28:46 2019 -0700

    Adding save user settings

commit 6e8da9cc9e
Merge: 3246d5d c148eef
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 17:26:25 2019 -0700

    Merge branch 'dev' into nsfw

commit b3d4a5c4ce
Author: Dessalines <happydooby@gmail.com>
Date:   Sun Aug 11 20:55:09 2019 -0700

    nsfw mostly done, except for settings page.
2019-08-13 19:52:43 -07:00
Dessalines 536c3f4915 Adding support for internationalization / i18n (#189)
* Still not working

* Starting to work on internationalization

* Main done.

* i18n translations first pass.

* Localization testing mostly done.

* Second front end pass.

* Added a few more translations.

* Adding back end translations.
2019-08-09 17:14:43 -07:00
Dessalines f95b9994d2 Fix parenthesis 2019-06-19 13:36:05 -07:00
Dessalines f4fd06aa5b Fixing GetSite
- Fixes #171
2019-06-11 18:41:01 -07:00
Dessalines ab9659c2e2 Fix page titles for custom site name
- Fixes #113
2019-06-02 18:35:46 -07:00
Dessalines 8e0cc3498e Getting your votes on a user details page. 2019-04-29 14:19:00 -07:00
Dessalines 85ed895c5f Adding mark all as read
- Fixes #107
2019-04-29 09:51:13 -07:00