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
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
1e60e1e351
Implement HTTP API using generics ( fixes #380 )
2020-01-18 14:23:43 +01:00
81c6d276d5
Fix issue with adding multiple instances of chatserver.
2020-01-15 22:01:14 -05:00
3f868f99e6
removing some comments.
2020-01-12 16:47:02 -05:00
dff8b947bb
Trying to add r2d2 connection pooling to websockets.
2020-01-12 10:31:51 -05:00
4361f48b98
Make various functions async
2020-01-11 13:50:07 +01:00
d8c84e2541
Upgrade actix to 2.0 ( fixes #392 )
2020-01-10 23:41:08 +01:00
d08e09fbdc
Apply changes suggested by cargo clippy ( fixes #395 )
2020-01-02 12:30:00 +01:00
0f8965fac9
Adding some fixes to new docs system.
2020-01-01 17:47:00 -05:00
cd9df4455e
Adding open_registration to nodeinfo.
2019-12-31 10:44:30 -05:00
80f76f2efd
Use actix config to handle routes in seperate folders ( #378 )
2019-12-31 14:17:24 +01:00
786be3fa66
Config fixes.
...
- Adding front_end_dir to settings.
- Adding unit test for PasswordResetRequest encryption.
- Readme points to lemmy.hjson
- Fixing docker prod, dev, and ansible builds.
- Removing redundant env files, as all config is now in a single file.
- Some formatting fixes.
2019-12-28 16:11:03 -05:00
cdbf260803
Added option to enable/disable federation
2019-12-27 17:30:45 +01:00
3d9f7d28d6
Implement webfinger ( fixes #149 )
2019-12-27 17:29:50 +01:00
cf3ae15ee9
Implement config ( fixes #351 )
2019-12-27 17:28:44 +01:00
Lyra
34def84d43
Add correct ActivityPub types conversion for Community and Post.
2019-12-27 17:25:20 +01:00
665dca80d0
Moving front end routes from nginx to actix
...
- Fixes #363
2019-12-11 21:28:33 -08:00
Lyra
0ceed8fd9b
Import the Settings struct instead of prefixing the namespace
2019-12-06 23:47:30 +01:00
Lyra
279a901e4a
Add configuration variables in order to allow binding lemmy to a different adress/port
2019-12-06 20:36:56 +01:00
52ea7a32db
Some RSS work.
...
- Display rss buttons on front end for user, /c/all, and community
pages. Fixes #348 .
- Some clean up and additions to RSS feeds.
2019-12-01 17:23:52 -08:00
8e5c02f967
Add feed for all
2019-12-01 20:01:38 +01:00
cfbe8ac926
fix sort parameter handling, handle errors
2019-12-01 19:09:10 +01:00
f47bdbc37a
wip
2019-11-23 23:25:59 +01:00
942f6a05af
basic, working rss feeds
2019-11-23 23:24:50 +01:00
de313fc977
Implement RSS feeds ( fixes #118 )
2019-11-23 23:24:10 +01:00
dcad96170e
Running cargo fmt
2019-11-21 11:27:52 -08:00
20966e085a
preserve json order
2019-11-16 01:31:41 +01:00
2666ba6adf
rewrite
2019-11-16 01:31:41 +01:00
4f116dc758
got it working
2019-11-16 01:31:41 +01:00
fcf3252292
Implement nodeinfo support ( fixes #144 )
2019-11-16 01:31:41 +01:00
44442565aa
Running cargo fmt on server code.
...
- Adding a .rustfmt.toml for the 2 space indent.
2019-09-07 08:35:05 -07:00
9bf561b7c2
Formatting fixes.
2019-07-19 20:00:38 -07:00
jonnnh
eea27088d2
upgrade
2019-07-19 11:05:17 +08:00
jonnnh
28b69fb1fc
upgrade
2019-07-17 19:11:01 +08:00
5e1fcd318a
Adding API docs for app developers.
...
- Fixes #99 .
2019-05-15 09:04:05 -07:00
f8615b6178
Done with reorg
2019-05-05 09:20:30 -07:00
779e5964fa
More reorg
2019-05-04 08:53:29 -07:00
cbec13eecc
Reorganizing files before splitting out API
2019-05-02 18:34:21 -07:00