Commit graph

62 commits

Author SHA1 Message Date
Dessalines abadc79756 Fix community_view clippy 2020-08-16 11:27:50 -04:00
Dessalines e336e5bcc0
Re-organizing federation tests. #746 #1040 (#1047)
* Re-organizing federation tests. #746 #1040

* Add more checks in inbox, plus some refactoring (#76)

Merge branch 'main' into more-inbox-permissions

Move check_community_ban() into helper function

Move slur check into helper functions

Move Claims::decode and site ban check into helper function

Note: this changes behaviour in that site ban is checked in more
places now. we could easily add a boolean parameter
check_for_site_ban to get the previous behaviour back

Rewrite user_inbox and community_inbox in the same way as shared_inbox

Add check against instance allowlist etc in shared_inbox

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/76

* Adding verbose to test results.

Co-authored-by: nutomic <nutomic@noreply.yerbamate.dev>
Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
2020-08-04 10:57:37 -04:00
Dessalines 78603e7e31 Update inferno-i18next. 2020-07-31 11:59:46 -04:00
Dessalines 8d1ec88195
Enforce rustfmt +nightly for consistent rust imports. (#1035) 2020-07-28 12:42:14 -04:00
Dessalines 6e4599411b
Adding inferno-helmet to fix page titles. Fixes #1028 (#1030) 2020-07-27 11:54:42 -04:00
Dessalines 80943a65e6
Upgrade front deps. (#1029)
* Adding a sponsor.

* Upgrade some front end deps.
2020-07-27 11:42:31 -04:00
Coma Grayce 6fbfb69ee4
Add sub and sup Markdown tags. 2020-07-21 01:06:22 +03:00
Dessalines ea5276ad7f Merge branch 'master' of https://github.com/lemmynet/lemmy 2020-07-10 14:18:46 -04:00
nutomic 80aef61aed Split code into cargo workspaces (#67)
More fixes

- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml

Address review comments

- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL

Decouple utils and db

Split code into cargo workspaces

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
2020-07-10 18:15:41 +00:00
Dessalines 8e96507cb1
Replacing selectr with choices.js for community searching. (#932)
- Fixes #839
- Fixes #847
2020-07-10 14:01:45 -04:00
Dessalines db09730d5f Removing twemoji, and the massive emoji picker. Fixes #895 2020-07-09 13:32:23 -04:00
Dessalines ce800f75ad Adding a test bed for API testing. #658 2020-04-23 11:34:32 -04:00
Dessalines 1336b4ed60 Merge branch 'dev' into federation 2020-04-14 16:07:20 -04:00
Dessalines 16005a0c05 Updating front end packages. 2020-04-14 12:34:52 -04:00
Dessalines d6d040f5da Add Emoji squashed commit. 2020-04-12 12:47:48 -04:00
Dessalines dc14719b08 Updating rust, rust deps, yarn deps. Fixes #605 2020-03-18 22:30:16 -04:00
Dessalines a5331bce77 Only show tribute menu after a minlength of 3 characters.
- Fixes #562
2020-03-03 16:36:11 -05:00
Dessalines 44bbc45973 A first pass at adding icons, and tippy tooltips.
- Adding icons for post-listing, comment-node, and navbar.
- Adding html titles.
- Updating moment expand to use users locale.
2020-03-03 02:29:45 -05:00
Dessalines a8303940df Upgrading inferno. 2020-03-02 11:00:34 -05:00
Dessalines 300828808d Adding generate report for yarn start. 2020-02-29 14:40:27 -05:00
Felix Ableitner b713ee0ec5 remove translation report from readme 2020-02-29 20:35:25 +01:00
Felix d7f49cea9a generate typescript during compilation 2020-02-29 19:16:23 +01:00
Felix c0802c7fa2 make i18n compatible with weblate 2020-02-29 19:08:19 +01:00
Dessalines fb32acb1ed Use image thumbnails from pictshare. Fixes #555 2020-02-27 12:55:23 -05:00
Dessalines 0b69974e49 Add community refine by searching on new post creation. Fixes #521 2020-02-12 12:12:19 -05:00
Dessalines 56cd103209 Fixing some technical debt. Fixes #524 2020-02-08 23:20:11 -05:00
Dessalines cda1e6e741 Fixing issue with multiple notifications. 2020-02-02 10:09:01 -05:00
Dessalines e8a604d0ed Testing out reconnecting websocket instead of rxJS one. #496 2020-02-01 22:52:16 -05:00
Dessalines f61c969f7a Adding yarn run ts-node to husky pre-commit. 2020-01-28 20:08:33 -05:00
Dessalines 353891a3d1 Updating front end packages. 2020-01-24 11:28:11 -05:00
Dessalines 3b4258096c Adding a toaster to replace alerts. Fixes #457 2020-01-22 22:29:11 -05:00
Dessalines 5579f4b482 Automatically update translation report. Fixes #439 2020-01-19 16:23:04 -05:00
Dessalines 7bf391957d Adding a better rust formatter. 2020-01-13 21:32:08 -05:00
Dessalines 02e37d58d7 Removing outdateds from package.json. 2020-01-06 11:23:29 -05:00
Dessalines 82253f625b Upgrade package.json. 2020-01-06 11:22:51 -05:00
Dessalines 206d9160de Adding cargo checking to husky pre-commit. Fixes #402 2020-01-04 17:21:33 -05:00
Dessalines a7dedaf273 Externalize into sort-select component.
- Fixes #311
2019-10-20 17:49:13 -07:00
Dessalines 3a4505aaab Update translation report. 2019-10-19 23:24:26 -07:00
Dessalines 82ea5ae918 Adding prettier. 2019-10-18 17:00:26 -07:00
zacanger 7836e29c37 add husky, lint-staged, sortpack 2019-10-18 16:28:54 -06:00
zacanger 9fad242382 chore: switch from tslint to eslint 2019-10-18 15:56:32 -06:00
Dessalines c0821fcaa5 Adding 8 different themes.
- Fixes #276
2019-10-15 12:21:27 -07:00
Dessalines b8971c0da9 Reverting tribute, didnt work for non-dev build. 2019-09-11 17:30:25 -07:00
Dessalines c2ddbec504 Fixing tribute positioning issue, moving recent comments to top. 2019-09-11 17:20:57 -07:00
Dessalines d16df598fa Adding emoji-short-name package.
- Fixes #266
2019-09-04 15:22:31 -07:00
Dessalines d82117241d Removing markdown-it-emoji from index.html 2019-09-02 17:33:09 -07:00
Dessalines 6699c7112c Switch to Twemoji
- Fixes #257
2019-08-31 09:40:42 -07:00
Dessalines 4d329c8da5 Adding support for mentions via tribute.
- Adding mentions in comment textareas for users (@) and communities
(#). Fixes #129
- Removing balloon-css
2019-08-29 20:11:29 -07:00
Dessalines 988eef2e65 Adding emoji support. 2019-08-29 16:14:28 -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