Commit graph

413 commits

Author SHA1 Message Date
c0f4d5260f Merge branch 'asonix-abstract_websocket_sends' into abstract_websocket_sends 2020-04-20 15:03:32 -04:00
0d4679a37b Making websocket create community do register rate limit. 2020-04-20 14:55:37 -04:00
05b961a90a Remove unused methods 2020-04-20 13:09:10 -05:00
d11af012fc post -> register 2020-04-20 13:05:07 -05:00
d058db95e5 Use get_ip in ratelimit middleware 2020-04-20 13:02:25 -05:00
4df2031ae0 Give ratelimit fields explicit names 2020-04-20 12:51:42 -05:00
904ebf34a5 Guard CreateCommunity, represent impossible error with Infallible 2020-04-20 12:31:22 -05:00
db4454b52b Add websockets into the api scope 2020-04-20 10:25:47 -05:00
c18fa5a38e Changing warn to debug for rate limiting message. 2020-04-20 10:45:14 -04:00
217efdd706 Allow rustfmt on api config 2020-04-19 23:47:20 -05:00
4712ae4eb0 appease clippy 2020-04-19 23:43:30 -05:00
ac43b86b60 Change RateLimit to act as a middleware 2020-04-19 22:59:07 -05:00
f300c67a4d Adding websocket notification system.
- HTTP and APUB clients can now send live updating messages to websocket
  clients
- Rate limiting now affects both HTTP and websockets
- Rate limiting / Websocket logic is now moved into the API Perform
  functions.
- TODO This broke getting current online users, but that will have to
  wait for the perform trait to be made async.
- Fixes #446
2020-04-19 18:08:25 -04:00
charleshthomasiii
09836bffef Add apache benchmark installation check 2020-04-15 13:52:46 -04:00
be6a7876b4 Version v0.6.50 2020-04-14 19:38:20 -04:00
6d5518cbd4 Merge branch 'dev' into admin_settings 2020-04-14 10:54:04 -04:00
8192f69584 Version v0.6.49 2020-04-12 14:57:37 -04:00
a26bff6921 Version v0.6.48 2020-04-12 14:08:02 -04:00
c92201a674 Removing redundant to_owned 2020-04-11 14:10:33 -04:00
61815bce2e Adding live reloading of config.hjson changes through UI.
- https://stackoverflow.com/questions/61159698/update-re-initialize-a-var-defined-in-lazy-static/61161271#61161271
- https://stackoverflow.com/questions/29654927/how-do-i-assign-a-string-to-a-mutable-static-variable/47181804#47181804
2020-04-11 14:06:04 -04:00
bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
2020-04-10 16:55:57 -04:00
cb49a7e790 Version v0.6.45 2020-04-03 14:44:30 -04:00
a006f498b1 Merge branch 'nutomic-auto-setup' into dev 2020-03-31 16:29:57 -04:00
76bf71162e Automatic instance setup based on config variables (fixes #404) 2020-03-29 00:13:13 +01:00
1571a4acd4 Changing markdown parser to comrak. Moving crate imports to lib.rs. 2020-03-28 18:02:49 -04:00
bafc2fc7ac Convert md to html for feeds, try to deduplicate code 2020-03-28 16:56:20 +01:00
ac6dc65342 Version v0.6.44 2020-03-24 10:47:38 -04:00
ef9ae09c2b Version v0.6.43 2020-03-21 10:38:42 -04:00
da36f1dacc Version v0.6.42 2020-03-20 19:33:11 -04:00
807f33f748 Version v0.6.41 2020-03-19 12:17:26 -04:00
10b0667764 Version v0.6.40 2020-03-19 00:53:34 -04:00
d2cf36bf02 Updating chttp to isahc. 2020-03-18 23:11:37 -04:00
dc14719b08 Updating rust, rust deps, yarn deps. Fixes #605 2020-03-18 22:30:16 -04:00
62ab68d317 Adding full logging. 2020-03-13 11:08:42 -04:00
ef6df1339f Proper error logging for websocket 2020-03-12 12:03:04 +01:00
62679090a3 Version v0.6.39 2020-03-09 23:26:15 -04:00
edb7ab2638 Version v0.6.38 2020-03-09 23:24:06 -04:00
8989aa1714 Version v0.6.37 2020-03-09 23:22:24 -04:00
450ebf4e38 Version v0.6.36 2020-03-09 23:21:24 -04:00
d7ff72a538 Version v0.6.35 2020-03-09 23:20:13 -04:00
5427c4a230 Version v0.6.34 2020-03-09 23:16:19 -04:00
d1ee0d7af7 Merge branch 'yerba_master' 2020-03-09 12:54:22 -04:00
nutomic
bf1db428f6 Move volumes into subfolder (ref #474) (#23)
Change ports and container names

Move volumes into subfolder (ref #474)

Merge pull request #587 from StaticallyTypedRice/patch-2

Clarify that content violating this code of conduct will likely be removed.
Clarify that content violating this code of conduct will likely be removed.

Lemmy has a general policy of removing any content that violates the rules whenever possible, which is typically a good thing, and I felt it important to mention that in the code of conduct.

Co-authored-by: Felix <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Richie Zhang <12566991+StaticallyTypedRice@users.noreply.github.com>
2020-03-09 16:50:28 +00:00
4a1f744211 Adding community title and description searching. Fixes #589 2020-03-08 19:14:52 -04:00
2eb681413d Version v0.6.33 2020-03-08 00:46:15 -05:00
63051717d7 Version v0.6.32 2020-03-07 22:02:25 -05:00
5396cb2f5c Running cargo update. 2020-03-07 19:52:00 -05:00
ac280782b2 Iframely and pictshare backend mostly done. 2020-03-07 18:31:13 -05:00
496c4e523c Version v0.6.31 2020-03-06 15:08:04 -05:00
970e0b5185 Version v0.6.30 2020-03-06 13:24:12 -05:00
876d311706 Remove email from GetUserDetails when not same user. Fixes #579 2020-03-05 15:46:33 -05:00
80f9003135 Version v0.6.29 2020-03-01 18:26:17 -05:00
6c6e7aa872 Version v0.6.28 2020-02-29 22:24:00 -05:00
f607e98565 Version v0.6.27 2020-02-29 15:28:30 -05:00
8ed1610f48 Version v0.6.26 2020-02-29 13:10:28 -05:00
72c5bdbf9e Version v0.6.25 2020-02-27 13:16:30 -05:00
883c8decde Version v0.6.24 2020-02-19 13:35:58 -05:00
b18c87b9c4 Version v0.6.23 2020-02-18 12:37:35 -05:00
fd82487ab5 Version v0.6.22 2020-02-17 16:11:49 -05:00
1e5d93d9bb Version v0.6.21 2020-02-17 14:38:16 -05:00
50600938cb Version v0.6.20 2020-02-17 13:04:53 -05:00
ce8fadae52 Merge branch 'master' of https://github.com/dessalines/lemmy 2020-02-17 11:21:04 -05:00
b6ce26023e Version v0.6.19 2020-02-16 14:26:39 -05:00
Richard
ed07e98bff changed permissions from db-init.sh to be able to run 2020-02-14 21:30:06 +01:00
91649d21ae Version v0.6.18 2020-02-14 10:12:40 -05:00
f1392dc9a7 Version v0.6.17 2020-02-09 15:08:51 -05:00
9c8fe0379f Adding instant voting / vote animations. Fixes #526 2020-02-09 15:04:41 -05:00
56cd103209 Fixing some technical debt. Fixes #524 2020-02-08 23:20:11 -05:00
8baa483c89 Version v0.6.16 2020-02-08 11:44:16 -05:00
4b0227c45e Change post sorting hot rank to use newest comment time. Fixes #517 2020-02-08 11:16:58 -05:00
41d8642bf5 Version v0.6.15 2020-02-07 23:50:33 -05:00
ecd10482a6 Add new comments views to main and community pages. Fixes #480 2020-02-07 23:05:15 -05:00
779a72581c Version v0.6.14 2020-02-07 11:28:20 -05:00
b6fceec6dd Adding post body searching. Fixes #507 2020-02-07 11:17:15 -05:00
be77e30110 Version v0.6.13 2020-02-06 23:02:26 -05:00
218653c52f Fixing rate limiting. 2020-02-06 22:48:43 -05:00
cd4001b2ef Merge branch 'minor_changes' of https://github.com/StaticallyTypedRice/lemmy into StaticallyTypedRice-minor_changes 2020-02-06 16:23:35 -05:00
1c030d1fb6 Version v0.6.12 2020-02-06 16:16:51 -05:00
94b1bbe5aa Merge branch 'post_title_length' into rate_limit_fixes 2020-02-06 16:10:19 -05:00
1369ad1fbc Fixing rate limit checking to only ping after a success. Fixes #516 2020-02-06 16:07:59 -05:00
Richie Zhang
33563c3e9f Implement password verification in db-init.sh. 2020-02-06 13:07:34 -08:00
65a6e7731c Increasing post title length limit to 200. Fixes #515 2020-02-06 13:10:43 -05:00
Richie Zhang
da6cdb7c26 Create db-init.sh 2020-02-05 18:15:28 -08:00
420fb5a847 Version v0.6.11 2020-02-04 19:48:11 -05:00
7e64d033bf Version v0.6.10 2020-02-03 10:58:17 -05:00
032ebe7a9e Integrate email relay in Ansible setup 2020-02-03 14:10:24 +01:00
ee2038a75a Returning specific slurs from slur filter on failure. Fixes #463 2020-02-02 22:51:54 -05:00
a2267aa056 Version v0.6.9 2020-02-02 17:15:48 -05:00
46727f72df Dont show deleted / removed replies or messages in inbox. Fixes #493 2020-02-02 17:07:16 -05:00
96a7e99e57 Removing PostLikeResponse in favor of PostResponse. Consolidating comment and post_sends. 2020-02-02 12:45:41 -05:00
cda1e6e741 Fixing issue with multiple notifications. 2020-02-02 10:09:01 -05:00
4d95be06b5 Merge branch 'dev' into websocket_scopes 2020-02-02 09:15:02 -05:00
8035976e40 Adding username and email case insensitivity uniqueness. Fixes #341 2020-02-01 20:11:12 -05:00
5d84d474d0 Version v0.6.8 2020-02-01 16:56:31 -05:00
9f2b61708e Merge branch 'dev' into websocket_scopes 2020-02-01 00:37:34 -05:00
895d857825 Merge branch 'dev' into nutomic-api-benchmark 2020-01-31 22:53:55 -05:00
8ec104cb76 Mostly done eliminating recurring fetches. 2020-01-31 22:34:08 -05:00
8036474dda Starting to work on user message scope. 2020-01-31 20:02:20 -05:00
7b4bf68486 Add script to test http api, fix two api calls 2020-01-31 14:17:37 +01:00
4778f198e1 Adding a materialized view for reply_view. Fixes #466 2020-01-28 23:53:19 -05:00