Commit Graph

180 Commits

Author SHA1 Message Date
Lyra
c19ace7e6a Introduce the "MaybeOptional" trait.
This trait is a generic type that allows us to get an Option from any type and from another option. It can be used to remove the ugly "do_something", "do_something_optional" that we previously had.
2019-12-11 00:10:39 +01:00
Dessalines
b7d05c18a1 Version v0.5.0 2019-12-09 11:13:15 -08:00
Dessalines
faef62e073 Switching to shorthands for rust params. 2019-12-09 11:08:19 -08:00
Dessalines
f0808a1116 Adding custom language setting.
- Fixes #319
2019-12-09 00:24:53 -08:00
Dessalines
4c7da003a2 Merge branch 'dev' 2019-12-08 13:06:55 -08:00
Dessalines
a128258fe0 Fixing unit test. 2019-12-08 12:56:10 -08:00
Dessalines
d18f2c9eb1 Use builder pattern for views
- Fixes #360
2019-12-08 12:39:54 -08:00
Dessalines
7880e5272a Version v0.4.0.10 2019-12-07 18:33:28 -08:00
Dessalines
9185a31945 Removing feeds orig. 2019-12-07 18:03:21 -08:00
Dessalines
3158c9d710 Running cargo fmt 2019-12-07 18:02:23 -08:00
Dessalines
a51b7d95b2 show_nsfw is now default for postquery. 2019-12-07 18:01:54 -08:00
Dessalines
2325690cb6 Merge branch 'teromene-config_dif_addr' into config_dif_addr_merge 2019-12-07 17:57:30 -08:00
Dessalines
a29af98e4b Adding RSS feeds for inbox and subscribed. Refactored RSS code.
- Fixes #349
2019-12-07 16:39:43 -08:00
Lyra
9fc8aacc2d Add default options for all parameters and move them out of the constructor. Rename structure to PostQueryBuilder 2019-12-07 23:54:42 +01:00
Lyra
3123d308d0 Resolved conflict with master 2019-12-07 13:10:10 +01:00
Lyra
bff3183a27 Use a dedicated structure in order to search posts 2019-12-07 13:03:03 +01:00
Dessalines
43d32d516b Show removed posts in users history.
- Fixes #354
2019-12-06 22:43:20 -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
Dessalines
9363be0f19 Version v0.4.0.9 2019-12-05 18:49:55 -08:00
Dessalines
143f191887 Version v0.4.0.8 2019-12-02 13:11:22 -08:00
Dessalines
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
Felix Ableitner
8e5c02f967 Add feed for all 2019-12-01 20:01:38 +01:00
Felix Ableitner
cfbe8ac926 fix sort parameter handling, handle errors 2019-12-01 19:09:10 +01:00
Felix Ableitner
f47bdbc37a wip 2019-11-23 23:25:59 +01:00
Felix Ableitner
4b036bbeba other sort options, sort by hot by default, adjust rss fields 2019-11-23 23:24:50 +01:00
Felix Ableitner
942f6a05af basic, working rss feeds 2019-11-23 23:24:50 +01:00
Felix Ableitner
de313fc977 Implement RSS feeds (fixes #118) 2019-11-23 23:24:10 +01:00
Dessalines
bf601b0458 Fixing issue with missing community.
- Fixes #339
2019-11-22 16:18:10 -08:00
Dessalines
b29f578e31 Fixing deploy script. 2019-11-22 16:17:20 -08:00
Dessalines
c237b06f90 Version v0.4.0.7 2019-11-22 12:30:00 -08:00
Dessalines
c6b854bfa1 Version v0.4.0.7 2019-11-21 20:12:10 -08:00
Dessalines
9b01520462 Version v0.4.0.7 2019-11-21 18:36:26 -08:00
Dessalines
eebe5913aa Version v0.4.0.6 2019-11-21 17:46:08 -08:00
Dessalines
002e8b9db9 Version v0.4.0.5 2019-11-21 17:43:39 -08:00
Dessalines
9b75cfe519 Version v0.4.0.5 2019-11-21 15:48:37 -08:00
Dessalines
9df278319d Version v0.4.0.4 2019-11-21 11:34:48 -08:00
Dessalines
dcad96170e Running cargo fmt 2019-11-21 11:27:52 -08:00
Felix Ableitner
39565fecfb use camelcase for json keys 2019-11-21 15:51:57 +01:00
Felix Ableitner
9ac1beae82 rebase 2019-11-16 01:32:45 +01:00
Felix Ableitner
7b5884b664 change version numbering command 2019-11-16 01:32:21 +01:00
Felix Ableitner
20966e085a preserve json order 2019-11-16 01:31:41 +01:00
Felix Ableitner
2666ba6adf rewrite 2019-11-16 01:31:41 +01:00
Felix Ableitner
10976bd656 nicer string handling 2019-11-16 01:31:41 +01:00
Felix Ableitner
4f116dc758 got it working 2019-11-16 01:31:41 +01:00
Felix Ableitner
fcf3252292 Implement nodeinfo support (fixes #144) 2019-11-16 01:31:41 +01:00
Dessalines
3021d19e1f Fixing ansible build, and email link. 2019-11-02 13:07:19 -07:00
Dessalines
3350599901 Running cargo fmt. 2019-11-01 23:43:21 -07:00
Dessalines
68e4b61808 Password reset mostly working. 2019-11-01 23:41:57 -07:00
Dessalines
9f35b33dc7 Halfway done with email, not fully working yet. 2019-10-29 20:35:39 -07:00