Commit Graph

20 Commits (8036474ddad2f20c27a2fb023395306d6b9e577d)

Author SHA1 Message Date
Dessalines 8036474dda Starting to work on user message scope. 4 years ago
Felix f1035dacc2 working! 4 years ago
Dessalines dff8b947bb Trying to add r2d2 connection pooling to websockets. 5 years ago
Felix Ableitner d08e09fbdc Apply changes suggested by cargo clippy (fixes #395) 5 years ago
Dessalines fca8e6a0a9 Adding some site oriented settings.
- Adding option to close registration. Fixes #350
- Adding option to disable showing NSFW buttons. Fixes #364
- Adding option to disable downvotes. Fixes #239
5 years ago
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.
5 years ago
Dessalines faef62e073 Switching to shorthands for rust params. 5 years ago
Dessalines d18f2c9eb1 Use builder pattern for views
- Fixes #360
5 years ago
Lyra 9fc8aacc2d Add default options for all parameters and move them out of the constructor. Rename structure to PostQueryBuilder 5 years ago
Lyra bff3183a27 Use a dedicated structure in order to search posts 5 years ago
Dessalines 90ce1f1a3f Adding default sort / filter into user settings.
- Fixes #295
5 years ago
Dessalines 3f6b2be2cc Adding stickied posts.
- Fixes #245
5 years ago
Dessalines 44442565aa Running cargo fmt on server code.
- Adding a .rustfmt.toml for the 2 space indent.
5 years ago
Dessalines 3561ef93a0 Adding Community and Site transfer
- Fixes #139
5 years ago
Dessalines b7e73a5559 View where a URL has been cross-posted to in the past
- This shows when creating a post, or when viewing a post.
- Fixes #131
5 years ago
Dessalines d7ab85ab70 Squashed commit of the following:
commit ecd6c5a2f4
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 19:49:38 2019 -0700

    Adding some docs

commit 3babd09aff
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 19:28:46 2019 -0700

    Adding save user settings

commit 6e8da9cc9e
Merge: 3246d5d c148eef
Author: Dessalines <happydooby@gmail.com>
Date:   Tue Aug 13 17:26:25 2019 -0700

    Merge branch 'dev' into nsfw

commit b3d4a5c4ce
Author: Dessalines <happydooby@gmail.com>
Date:   Sun Aug 11 20:55:09 2019 -0700

    nsfw mostly done, except for settings page.
5 years ago
Dessalines 536c3f4915 Adding support for internationalization / i18n (#189)
* Still not working

* Starting to work on internationalization

* Main done.

* i18n translations first pass.

* Localization testing mostly done.

* Second front end pass.

* Added a few more translations.

* Adding back end translations.
5 years ago
Dessalines b1490ef51a Enforce -1 or 1 like scores 5 years ago
Dessalines f8615b6178 Done with reorg 5 years ago
Dessalines 7fb6a0b138 Mostly done with reorg. 5 years ago