Commit Graph

969 Commits (4b6a762a5681759e58c172f7c844562534415e8e)

Author SHA1 Message Date
Riley a074564458
Federation async (#848)
* Asyncify more

* I guess these changed

* Clean PR a bit

* Convert more away from failure error

* config changes for testing federation

* It was DNS

So actix-web's client relies on TRust DNS Resolver to figure out
where to send data, but TRust DNS Resolver seems to not play nice
with docker, which expressed itself as not resolving the name to
an IP address _the first time_ when making a request. The fix was
literally to make the request again (which I limited to 3 times
total, and not exceeding the request timeout in total)

* Only retry for connecterror

Since TRust DNS Resolver was causing ConnectError::Timeout,
this change limits the retry to only this error, returning
immediately for any other error

* Use http sig norm 0.4.0-alpha for actix-web 3.0 support

* Blocking function, retry http requests

* cargo +nightly fmt

* Only create one pictrs dir

* Don't yarn build

* cargo +nightly fmt
2020-07-01 08:54:29 -04:00
Dessalines 5c03e9e9ee Version v0.7.6 2020-07-01 08:25:55 -04:00
Dessalines e8fe8d832d Merge branch 'issue-#814' of https://github.com/arrudaricardo/lemmy into arrudaricardo-issue-#814 2020-06-30 21:42:04 -04:00
Ricardo de Arruda e41117c878 Replace search button to input field at navbar.
* Search input not rendered at /search path.

* Navbar wrapped with withRouter for accessing history props.

* Flex-grow/shrink control the width of the input element dynamically.
2020-07-01 00:30:23 +03:00
Andy Coupe 587731583f
improve lighthouse best practices audit (#863)
* improve safety of cross origin links

* add additional safety for cross origin links

* remove duplicates
2020-06-30 09:40:57 -04:00
Dessalines eded51aab6 Version v0.7.5 2020-06-29 21:05:38 -04:00
Dessalines 15ea264fcf Version v0.7.4 2020-06-29 21:02:02 -04:00
Dessalines c10a05cb68 Version v0.7.3 2020-06-29 20:14:16 -04:00
Dessalines 15af11da98 Changing front end hot reload testing to 8536 2020-06-29 16:55:14 -04:00
Dessalines effd08c98a Adding some sponsors 2020-06-29 09:38:50 -04:00
Dessalines e517de5480 Merge branch 'master' into federation 2020-06-27 10:54:08 -04:00
Dessalines da2bb724e9 Version v0.7.2 2020-06-27 09:28:28 -04:00
Dessalines 208c17dcc8 Fixing comment edits stalling. Fixes #846 2020-06-27 09:03:34 -04:00
Dessalines 6e736e1f1e Version v0.7.1 2020-06-24 13:29:44 -04:00
Dessalines b94d380729 Adding timeouts to message and delete picture notifications. #834 2020-06-23 21:40:59 -04:00
Dessalines dc94e58cbf Merge branch 'master' into federation_merge_from_master_2 2020-06-23 21:11:38 -04:00
Dessalines 0680dd2398 Version v0.7.0 2020-06-23 12:55:16 -04:00
Dessalines 4c582cf1b6 Making sure new comments don't clear out your current textarea.
- Making a better random string generator.
- Doing better incoming comment checking.
- Fixes #769
2020-06-23 12:52:07 -04:00
Dessalines 27f2fd352a Version v0.6.85 2020-06-22 23:04:28 -04:00
Dessalines 5d1212b83c Version v0.6.84 2020-06-22 22:43:57 -04:00
Dessalines 416344b361 Making a better light theme, litely. #822 2020-06-22 22:42:27 -04:00
Dessalines 11f771469f Version v0.6.83 2020-06-22 22:01:45 -04:00
Dessalines 54c735841e Version v0.6.82 2020-06-22 19:32:30 -04:00
Dessalines 318b8c691a Coerce empty post form to undefined. Fixes #602 2020-06-22 19:27:42 -04:00
Dessalines be3a375cae Instant mark all as read. Fixes #830 2020-06-22 19:21:13 -04:00
Dessalines 63fbf70eaa Disable submit when loading. Fixes #706 2020-06-22 19:05:55 -04:00
Dessalines c1dbeb43c9 Making comment, post, and message preview a card. Fixes #817 2020-06-22 18:50:06 -04:00
Dessalines ef2adcc95d Increasing comment margins. Fixes #826 2020-06-22 18:44:06 -04:00
Dessalines 1777070b46 Changing edit to save for some forms. Fixes #829 2020-06-22 18:33:51 -04:00
Dessalines 9dfdf78697 Moving save behind more menu. Fixes #827 2020-06-22 18:29:08 -04:00
Dessalines c9dcb2662c Version v0.6.81 2020-06-22 17:53:47 -04:00
Dessalines 32d1f42626 Version v0.6.80 2020-06-22 16:15:31 -04:00
Dessalines a4d2c2ab71 Upping thumbnail size. 2020-06-22 13:45:16 -04:00
Dessalines cbed185040 Version v0.6.79 2020-06-22 12:56:48 -04:00
Dessalines 1fa7d17e35 Version v0.6.78 2020-06-22 12:51:18 -04:00
Dessalines 5594bed6a8 Merge branch 'master' into use-pictrs-1 2020-06-12 17:51:37 -04:00
Dessalines cfa40e482a
Parse out in reply to field. Fixes #694 (#799)
- When a comment or post doesn't exist locally, yet we receive
  an activitypub with it (for example, a nested comment update,
  for a community we just subscribed to, also with a post we
  don't have...), then fetch it.
2020-06-11 11:16:33 -04:00
Dessalines 1b0212377d Version v0.6.74 2020-06-11 10:28:21 -04:00
Dessalines 4cf1f080bf Adding delete picture via pict-rs delete tokens. Fixes #505 2020-06-10 22:47:06 -04:00
Dessalines 043f484693 Version v0.6.73 2020-06-10 11:27:12 -04:00
kartikynwa 36e8ce624c
Change "Forgot Password" button's type to "button" (#797) 2020-06-10 11:12:53 -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 46bb3064ed Version v0.6.72 2020-06-09 22:49:42 -04:00
Dessalines da2229a303 Merge branch 'master' into dev 2020-06-09 22:43:28 -04:00
Dessalines 2e4c725647 Fixing toast background for all but i386. Fixes #794 2020-06-09 22:41:04 -04:00
Dessalines bd26e4e9c1 Fixing some front end pictshare to pictrs conversions. 2020-06-09 17:17:24 -04:00
Felix Ableitner 0f1a8ec928 Merge branch 'master' into federation 2020-06-09 14:01:26 +02:00
Felix Ableitner e583e45d9a Use pictrs instead of pictshare 2020-06-08 19:52:32 +02:00
Dessalines a13e9fe395 Adding galician, turkish, hungarian, and ukrainian languages. 2020-06-07 07:51:36 -04:00
ernestwisniewski c1421c9c44
Adding Polish language (#784) 2020-06-07 07:34:15 -04:00
Dessalines c7b861e0ba Updating sponsor list. 2020-06-06 21:22:39 -04:00
Dessalines 63ca6e1e24 Version v0.6.71 2020-06-05 11:49:36 -04:00
Dessalines 9bf444e93a Removing webp for now. 2020-06-05 11:45:04 -04:00
Dessalines 7c0ea6cfa7 Version v0.6.70 2020-06-04 21:42:08 -04:00
Dessalines ee32072489 Fixing webp issue for safari. 2020-06-04 21:40:57 -04:00
Dessalines f40f74b20d Adding additional 3-instance integration test for community announce. 2020-06-03 17:55:32 -04:00
Dessalines 2e882f75f2 Version v0.6.69 2020-06-03 12:11:52 -04:00
Dessalines 361cf995da Version v0.6.68 2020-06-03 11:46:09 -04:00
Dessalines 686f1d57cb Merge branch 'dev' 2020-06-03 11:42:06 -04:00
Dessalines 2deb0b3d7f Adding webp for pictshare images / avatars. Fixes #772 2020-06-03 11:41:22 -04:00
Dessalines 59d22ef775 Version v0.6.67 2020-06-02 19:59:49 -04:00
Dessalines b1b9568c96 Adding text-body class to message toast. Fixes #736 2020-06-02 19:58:28 -04:00
Dessalines 998b9454b2 Version v0.6.66 2020-06-02 14:05:17 -04:00
Dessalines 847e19f22d Version v0.6.65 2020-05-28 14:13:47 -04:00
Dessalines d9ec95ab5b For top-bar post creation, dont select a default community. Fixes #729 2020-05-28 12:55:18 -04:00
Dessalines 4f518a5d92 Version v0.6.64 2020-05-24 13:25:50 -04:00
Dessalines ed553aa9f0 Updating sponsor link. 2020-05-21 21:15:39 -04:00
Dessalines 18d0edd4eb Version v0.6.63 2020-05-18 09:53:02 -04:00
Dessalines 7bc9bc962a Merge branch 'dev' 2020-05-18 09:52:41 -04:00
Dessalines b5c1fec845 Fixing issue with empty crossposts. 2020-05-18 09:50:05 -04:00
Dessalines 106ce6096b Version v0.6.62 2020-05-17 18:46:15 -04:00
Dessalines 99e4551cf6 Simplify cross-posts. Fixes #727 2020-05-17 18:39:15 -04:00
Dessalines f5e96d9372 Version v0.6.61 2020-05-17 16:53:56 -04:00
Dessalines 6fe3d43049 Adding a sponsor. 2020-05-17 16:49:34 -04:00
Dessalines 6fe4184f72 Adding Greek and Basque languages for weblate. 2020-05-16 22:52:28 -04:00
Dessalines 940dc73f28 Federated mentions. Fixes #681 (#717)
* Federated mentions. Fixes #681

* Changing some todos, adding comments.
2020-05-15 12:36:11 -04:00
Felix bb1b4ee33e Comment search and apub endpoint 2020-05-14 12:42:26 +02:00
Dessalines 155b99b64e Version v0.6.60 2020-05-12 15:27:28 -04:00
Dessalines 913383ca75 Removing autocomplete for register and user settings password fields.
- Fixes #708
2020-05-12 14:36:22 -04:00
Dessalines c22310bdaf Version v0.6.59 2020-05-11 19:08:28 -04:00
Dessalines cb88510964 Version v0.6.58 2020-05-11 14:04:23 -04:00
Dessalines 2719daffb0 Merge branch 'thumbnail-outsourced' of https://github.com/AndreVallestero/lemmy into AndreVallestero-thumbnail-outsourced 2020-05-11 13:20:03 -04:00
Andre Vallestero 9155469e8a Removed redundant erroneous check 2020-05-11 11:29:35 -04:00
Dessalines b83aae0b57 Version v0.6.57 2020-05-08 14:08:35 -04:00
Dessalines e6717c86ac Adding support for webp images on the front end. Fixes #703 2020-05-08 14:02:42 -04:00
Dessalines 2db6f35b7c Removing button wrapper for comment context. Fixes #702 2020-05-08 13:36:52 -04:00
Andre Vallestero ffcbb7613e Added additional check for pictshare thumbnail 2020-05-07 21:30:23 -04:00
Andre Vallestero bc8ad12b04 Added externally hosted UI thumbnail support 2020-05-07 21:26:08 -04:00
Dessalines 15f1920b25 Federated private messages. 2020-05-05 22:06:24 -04:00
Dessalines b8b2398d32 Adding undo follow community. 2020-05-03 22:41:45 -04:00
Dessalines fab22e3d8a Add federated comment and post undo like. 2020-05-03 20:34:04 -04:00
Dessalines 88e1251d6b Version v0.6.56 2020-05-03 17:27:25 -04:00
Dessalines 2c22e413eb Merge branch 'federation' into federated_remove_actions 2020-05-03 13:22:32 -04:00
Dessalines a09c818746 Adding federated mod remove actions. 2020-05-03 10:00:59 -04:00
Dessalines 43592c32d9 Adding hindi template. 2020-05-01 21:51:04 -04:00
Dessalines 5366797a4b Add undos for delete community, post, and comment. 2020-05-01 15:01:29 -04:00
Dessalines 2f1cd9976d Adding federated community, comment, and post deletes.
- Unit tests added too.
- No undeletes working yet.
2020-05-01 10:07:38 -04:00
Dessalines 38cdfdf7e0 Changing federated community and user links and searching.
- Search: !community@instance, @user@instance
- Representation: community@instance, user@instance
2020-04-30 11:45:12 -04:00
Dessalines 9b93d4c098 Better private-message form. Fixes #652 2020-04-29 17:52:18 -04:00
Dessalines ee4f923f60 Fix search form clearing out. 2020-04-29 13:05:38 -04:00
Dessalines 8cd68f56aa Adding shorthand federated object searching. 2020-04-29 12:55:54 -04:00
Dessalines 36d0e34668 Fix federated community link on search page. 2020-04-28 11:53:05 -04:00
Dessalines 59bba148ff Merge branch 'federation' into add_federated_post_likes 2020-04-28 10:12:07 -04:00
Dessalines 07a9d84ed0 Removing some comments. 2020-04-28 09:57:28 -04:00
Dessalines 3b62f58dd2 Adding federated post and comment likes. 2020-04-28 00:16:02 -04:00
Dessalines 22abbebd41 Lots of additions to federation.
- Added a shared inbox.
- Added federated comments, comment updates, and tests.
- Abstracted ap object sends into a common trait.
2020-04-27 12:57:00 -04:00
Dessalines 66134823bf Version v0.6.55 2020-04-27 09:07:31 -04:00
Dessalines 72433b37c4 Adding a sponsor. 2020-04-27 08:55:31 -04:00
Dessalines 82941001e8 Fixing sponsor issue. 2020-04-26 19:09:47 -04:00
Dessalines 92e4edf9b7 Version v0.6.54 2020-04-26 10:57:27 -04:00
Dessalines f4b5c1f27b Adding sponsor. 2020-04-26 10:56:53 -04:00
Dessalines 610cce4162 Hide online counts for now. #664 2020-04-26 10:51:59 -04:00
Felix c3ac1649f2 Implement integration test for federation 2020-04-24 18:30:31 +02:00
Dessalines e5497edd5c Adding some more API testing examples. 2020-04-23 14:13:22 -04:00
Dessalines ce800f75ad Adding a test bed for API testing. #658 2020-04-23 11:34:32 -04:00
Dessalines c22090c602 Version v0.6.53 2020-04-22 00:30:43 -04:00
Dessalines b2a89cd217 Version v0.6.52 2020-04-21 20:43:38 -04:00
Dessalines f0026065f5 Merge branch 'master' into federation_merge_from_master_1 2020-04-21 10:25:29 -04:00
Dessalines b98fa12741 Version v0.6.51 2020-04-20 15:40:56 -04:00
Dessalines fa8fcb0f8b Adding to sponsors list. 2020-04-19 20:01:58 -04:00
Dessalines be6a7876b4 Version v0.6.50 2020-04-14 19:38:20 -04:00
Dessalines fcf1c65fc1 Front end federation names and links for users, posts, and communities. 2020-04-14 19:18:13 -04:00
Dessalines 1336b4ed60 Merge branch 'dev' into federation 2020-04-14 16:07:20 -04:00
Dessalines f040dac647 Initial post-listing community non-local. 2020-04-14 15:43:58 -04:00
Dessalines 26ad37a8c0 Updating views to add apub actor_id and local columns. 2020-04-14 15:12:19 -04:00
Dessalines 6d5518cbd4 Merge branch 'dev' into admin_settings 2020-04-14 10:54:04 -04:00
Dessalines 567a9aa131 Adding another sponsor. 2020-04-13 12:42:16 -04:00
Dessalines 8192f69584 Version v0.6.49 2020-04-12 14:57:37 -04:00
Dessalines 676690097f Use twemoji style for emoji picker. 2020-04-12 14:55:52 -04:00
Dessalines a26bff6921 Version v0.6.48 2020-04-12 14:08:02 -04:00
Dessalines aa5db37bda Add open collective (#637)
* Add Emoji Picker for comments and post body.

- Fixes #634

* Make sure typing dropdown uses twemojis.

* Adding opencollective links. Fixes #636
2020-04-12 12:54:49 -04:00
Dessalines d6d040f5da Add Emoji squashed commit. 2020-04-12 12:47:48 -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 ed264aba3c Updating code url references to https://github.com/LemmyNet/lemmy 2020-04-09 16:11:11 -04:00
Dessalines 56947e7710 Removing community name unique constraint. Removing useless fedi_name column from user_table. 2020-04-07 10:54:15 -04:00
Dessalines 221e35ec38 Try to fix post creation bug. 2020-04-05 10:11:16 -04:00
Dessalines cb49a7e790 Version v0.6.45 2020-04-03 14:44:30 -04:00
Dessalines 0ca385deaf Adding a text body preview and icon for posts with a body. Fixes #617 2020-04-03 13:46:25 -04:00
Dessalines 1e0f5cfcea Add georgian language for weblate. 2020-04-01 13:22:44 -04:00
Dessalines 0b467cfeed Browser notification as plain markdown. Fixes #618 2020-04-01 11:31:24 -04:00
Dessalines 83c7d82fce Changing post voting arrows. 2020-03-24 14:41:46 -04:00
Dessalines ac6dc65342 Version v0.6.44 2020-03-24 10:47:38 -04:00
Dessalines a8ab7864ae Making vote buttons bigger. 2020-03-24 10:46:39 -04:00
Dessalines 0414edeade Hide toast on click. 2020-03-21 11:21:15 -04:00
Dessalines ef9ae09c2b Version v0.6.43 2020-03-21 10:38:42 -04:00
Dessalines f1ddf09cae Adding flex-wrap. 2020-03-21 10:20:03 -04:00
Dessalines 32c85599b6 Changing comment actions to flex row. Fixes #611 2020-03-21 00:15:45 -04:00
Dessalines 1f0439badd Adding showContext for comments to more places by default. 2020-03-20 22:24:27 -04:00
Dessalines da36f1dacc Version v0.6.42 2020-03-20 19:33:11 -04:00
Dessalines adde3375e5 Merge branch 'dev' 2020-03-20 19:03:26 -04:00