Commit graph

890 commits

Author SHA1 Message Date
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
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