Commit graph

998 commits

Author SHA1 Message Date
32d43b85b9 Blocking page refresh when forms are filled. Fixes #671 2020-07-08 14:32:37 -04:00
Filip785
8fe8836bc2 Updates to PR as requested 2020-07-08 19:46:18 +02:00
Filip785
e7b7b0dee3 Merge remote-tracking branch 'upstream/master' into cake-day 2020-07-08 17:21:44 +02:00
cd5f500d11 Version v0.7.13 2020-07-08 09:14:25 -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
Filip785
68e9755e59 Add cake day display in user page & posts/comments #682 2020-07-08 02:28:47 +02:00
8fda7d00d5 Version v0.7.12 2020-07-07 11:07:51 -04:00
Dessalines
f4565d0603
Remove materialized views. (#908)
* One pass at materialized views, only about 30% faster, not good.

* Before merging master to test out bans.

* DB Rework working, still need more testing.

* Fixing accidental addadmin bug from asonix async merge.

* Fixing the comment delete trigger

* Some more DB additions.

- Adding a hot_rank desc, published desc index to post_aggregates_fast.
- Removed WITH CTE queries in favor of direct selects (since CTEs cant
  use indexes)

* Removing some unecessary indexes.

* Some more DB optimizings

- Changing the fast_id pkeys to just ids on the fast tables.
- Removing the private_message_fast, since the view contains no aggregates.
- Comment and post voting now no longer pull from the views, they update the counts directly.

* Adding community_agg_view and post_agg_views Credit: eiknat.

* Adding user and comment_view migrations. (comment_view still broken)

* Adding more views. Credit Eiknat.
2020-07-07 10:54:44 -04:00
bf69d595b4 Adding to sponsors list. 2020-07-05 16:01:41 -04:00
Mischa Spiegelmock
3e6508f484
Fix capitalization of Ukrainian language (#910) 2020-07-05 09:07:43 -04:00
6780855b1f Version v0.7.11 2020-07-04 11:37:04 -04:00
de63ff6d2a Some navbar fixes. 2020-07-04 11:35:38 -04:00
bca62cbf0f Version v0.7.10 2020-07-04 07:42:29 -04:00
e95992b704 Version v0.7.9 2020-07-03 22:26:49 -04:00
69df9cecca Adding a search icon, and a faster transition. 2020-07-03 22:00:51 -04:00
b1b755713e Merge branch 'master' into arrudaricardo-issue-#814 2020-07-03 21:51:42 -04:00
4822a53f06 Merge branch 'issue-#814' of https://github.com/arrudaricardo/lemmy into arrudaricardo-issue-#814 2020-07-03 19:31:50 -04:00
aab68f0baf Adding to sponsors list. 2020-07-03 17:56:50 -04:00
Ricardo de Arruda
2f54532be0 Modify search button to be expandable.
*  Accordingly issue#814.

*  Input contract if un-focus input element

* Search text data persisted when contracted/expanded
2020-07-03 23:20:44 +03:00
1710844a1b Merge branch 'remove-karma-from-search' of https://github.com/jmarthernandez/lemmy into jmarthernandez-remove-karma-from-search 2020-07-02 11:41:48 -04:00
Justin Hernandez
08b953c0aa Remove karma count from search results 2020-07-01 22:01:48 -05:00
3f87b55a52 Adding to sponsors list. 2020-07-01 22:54:52 -04:00
a6ec9dc666 Adding to sponsors list. 2020-07-01 22:50:55 -04:00
9e1e12f6ce Version v0.7.8 2020-07-01 21:54:36 -04:00
d22152eefd Adding a math check for logins (until we get a proper captcha). 2020-07-01 21:48:29 -04:00
8d49dc958e Version v0.7.7 2020-07-01 20:39:51 -04:00
2e886ce4e6 Nother fix for comment box bug. #861 2020-07-01 20:38:11 -04:00
360e7aec42 Adding Albanian for weblate. 2020-07-01 18:50:38 -04:00
cd007febef Merge branch 'master' into federation 2020-07-01 09:04:26 -04:00
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
5c03e9e9ee Version v0.7.6 2020-07-01 08:25:55 -04:00
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
eded51aab6 Version v0.7.5 2020-06-29 21:05:38 -04:00
15ea264fcf Version v0.7.4 2020-06-29 21:02:02 -04:00
c10a05cb68 Version v0.7.3 2020-06-29 20:14:16 -04:00
15af11da98 Changing front end hot reload testing to 8536 2020-06-29 16:55:14 -04:00
effd08c98a Adding some sponsors 2020-06-29 09:38:50 -04:00
e517de5480 Merge branch 'master' into federation 2020-06-27 10:54:08 -04:00
da2bb724e9 Version v0.7.2 2020-06-27 09:28:28 -04:00
208c17dcc8 Fixing comment edits stalling. Fixes #846 2020-06-27 09:03:34 -04:00
6e736e1f1e Version v0.7.1 2020-06-24 13:29:44 -04:00
b94d380729 Adding timeouts to message and delete picture notifications. #834 2020-06-23 21:40:59 -04:00
dc94e58cbf Merge branch 'master' into federation_merge_from_master_2 2020-06-23 21:11:38 -04:00
0680dd2398 Version v0.7.0 2020-06-23 12:55:16 -04:00
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
27f2fd352a Version v0.6.85 2020-06-22 23:04:28 -04:00
5d1212b83c Version v0.6.84 2020-06-22 22:43:57 -04:00
416344b361 Making a better light theme, litely. #822 2020-06-22 22:42:27 -04:00
11f771469f Version v0.6.83 2020-06-22 22:01:45 -04:00
54c735841e Version v0.6.82 2020-06-22 19:32:30 -04:00
318b8c691a Coerce empty post form to undefined. Fixes #602 2020-06-22 19:27:42 -04:00
be3a375cae Instant mark all as read. Fixes #830 2020-06-22 19:21:13 -04:00
63fbf70eaa Disable submit when loading. Fixes #706 2020-06-22 19:05:55 -04:00
c1dbeb43c9 Making comment, post, and message preview a card. Fixes #817 2020-06-22 18:50:06 -04:00
ef2adcc95d Increasing comment margins. Fixes #826 2020-06-22 18:44:06 -04:00
1777070b46 Changing edit to save for some forms. Fixes #829 2020-06-22 18:33:51 -04:00
9dfdf78697 Moving save behind more menu. Fixes #827 2020-06-22 18:29:08 -04:00
c9dcb2662c Version v0.6.81 2020-06-22 17:53:47 -04:00
32d1f42626 Version v0.6.80 2020-06-22 16:15:31 -04:00
a4d2c2ab71 Upping thumbnail size. 2020-06-22 13:45:16 -04:00
cbed185040 Version v0.6.79 2020-06-22 12:56:48 -04:00
1fa7d17e35 Version v0.6.78 2020-06-22 12:51:18 -04:00
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
1b0212377d Version v0.6.74 2020-06-11 10:28:21 -04:00
4cf1f080bf Adding delete picture via pict-rs delete tokens. Fixes #505 2020-06-10 22:47:06 -04:00
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
46bb3064ed Version v0.6.72 2020-06-09 22:49:42 -04:00
da2229a303 Merge branch 'master' into dev 2020-06-09 22:43:28 -04:00
2e4c725647 Fixing toast background for all but i386. Fixes #794 2020-06-09 22:41:04 -04:00
bd26e4e9c1 Fixing some front end pictshare to pictrs conversions. 2020-06-09 17:17:24 -04:00
0f1a8ec928 Merge branch 'master' into federation 2020-06-09 14:01:26 +02:00
e583e45d9a Use pictrs instead of pictshare 2020-06-08 19:52:32 +02:00
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
c7b861e0ba Updating sponsor list. 2020-06-06 21:22:39 -04:00
63ca6e1e24 Version v0.6.71 2020-06-05 11:49:36 -04:00
9bf444e93a Removing webp for now. 2020-06-05 11:45:04 -04:00
7c0ea6cfa7 Version v0.6.70 2020-06-04 21:42:08 -04:00
ee32072489 Fixing webp issue for safari. 2020-06-04 21:40:57 -04:00
f40f74b20d Adding additional 3-instance integration test for community announce. 2020-06-03 17:55:32 -04:00
2e882f75f2 Version v0.6.69 2020-06-03 12:11:52 -04:00
361cf995da Version v0.6.68 2020-06-03 11:46:09 -04:00
686f1d57cb Merge branch 'dev' 2020-06-03 11:42:06 -04:00
2deb0b3d7f Adding webp for pictshare images / avatars. Fixes #772 2020-06-03 11:41:22 -04:00
59d22ef775 Version v0.6.67 2020-06-02 19:59:49 -04:00
b1b9568c96 Adding text-body class to message toast. Fixes #736 2020-06-02 19:58:28 -04:00
998b9454b2 Version v0.6.66 2020-06-02 14:05:17 -04:00
847e19f22d Version v0.6.65 2020-05-28 14:13:47 -04:00
d9ec95ab5b For top-bar post creation, dont select a default community. Fixes #729 2020-05-28 12:55:18 -04:00
4f518a5d92 Version v0.6.64 2020-05-24 13:25:50 -04:00
ed553aa9f0 Updating sponsor link. 2020-05-21 21:15:39 -04:00
18d0edd4eb Version v0.6.63 2020-05-18 09:53:02 -04:00
7bc9bc962a Merge branch 'dev' 2020-05-18 09:52:41 -04:00
b5c1fec845 Fixing issue with empty crossposts. 2020-05-18 09:50:05 -04:00
106ce6096b Version v0.6.62 2020-05-17 18:46:15 -04:00
99e4551cf6 Simplify cross-posts. Fixes #727 2020-05-17 18:39:15 -04:00
f5e96d9372 Version v0.6.61 2020-05-17 16:53:56 -04:00
6fe3d43049 Adding a sponsor. 2020-05-17 16:49:34 -04:00
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
bb1b4ee33e Comment search and apub endpoint 2020-05-14 12:42:26 +02:00
155b99b64e Version v0.6.60 2020-05-12 15:27:28 -04:00
913383ca75 Removing autocomplete for register and user settings password fields.
- Fixes #708
2020-05-12 14:36:22 -04:00
c22310bdaf Version v0.6.59 2020-05-11 19:08:28 -04:00
cb88510964 Version v0.6.58 2020-05-11 14:04:23 -04:00
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
b83aae0b57 Version v0.6.57 2020-05-08 14:08:35 -04:00
e6717c86ac Adding support for webp images on the front end. Fixes #703 2020-05-08 14:02:42 -04:00
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
15f1920b25 Federated private messages. 2020-05-05 22:06:24 -04:00
b8b2398d32 Adding undo follow community. 2020-05-03 22:41:45 -04:00
fab22e3d8a Add federated comment and post undo like. 2020-05-03 20:34:04 -04:00
88e1251d6b Version v0.6.56 2020-05-03 17:27:25 -04:00
2c22e413eb Merge branch 'federation' into federated_remove_actions 2020-05-03 13:22:32 -04:00
a09c818746 Adding federated mod remove actions. 2020-05-03 10:00:59 -04:00
43592c32d9 Adding hindi template. 2020-05-01 21:51:04 -04:00
5366797a4b Add undos for delete community, post, and comment. 2020-05-01 15:01:29 -04:00
2f1cd9976d Adding federated community, comment, and post deletes.
- Unit tests added too.
- No undeletes working yet.
2020-05-01 10:07:38 -04:00
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
9b93d4c098 Better private-message form. Fixes #652 2020-04-29 17:52:18 -04:00
ee4f923f60 Fix search form clearing out. 2020-04-29 13:05:38 -04:00
8cd68f56aa Adding shorthand federated object searching. 2020-04-29 12:55:54 -04:00
36d0e34668 Fix federated community link on search page. 2020-04-28 11:53:05 -04:00
59bba148ff Merge branch 'federation' into add_federated_post_likes 2020-04-28 10:12:07 -04:00
07a9d84ed0 Removing some comments. 2020-04-28 09:57:28 -04:00
3b62f58dd2 Adding federated post and comment likes. 2020-04-28 00:16:02 -04:00
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
66134823bf Version v0.6.55 2020-04-27 09:07:31 -04:00
72433b37c4 Adding a sponsor. 2020-04-27 08:55:31 -04:00
82941001e8 Fixing sponsor issue. 2020-04-26 19:09:47 -04:00
92e4edf9b7 Version v0.6.54 2020-04-26 10:57:27 -04:00
f4b5c1f27b Adding sponsor. 2020-04-26 10:56:53 -04:00
610cce4162 Hide online counts for now. #664 2020-04-26 10:51:59 -04:00
c3ac1649f2 Implement integration test for federation 2020-04-24 18:30:31 +02:00
e5497edd5c Adding some more API testing examples. 2020-04-23 14:13:22 -04:00
ce800f75ad Adding a test bed for API testing. #658 2020-04-23 11:34:32 -04:00
c22090c602 Version v0.6.53 2020-04-22 00:30:43 -04:00
b2a89cd217 Version v0.6.52 2020-04-21 20:43:38 -04:00
f0026065f5 Merge branch 'master' into federation_merge_from_master_1 2020-04-21 10:25:29 -04:00
b98fa12741 Version v0.6.51 2020-04-20 15:40:56 -04:00
fa8fcb0f8b Adding to sponsors list. 2020-04-19 20:01:58 -04:00
be6a7876b4 Version v0.6.50 2020-04-14 19:38:20 -04:00