コミットグラフ

1127 コミット (f6d169567c922683be52f48164a2eabd7291107b)
 

作成者 SHA1 メッセージ 日付
Ana Gelez f6d169567c
Introduce Searcher::new
This function does what was previously done in main:
create a search index, and try to recover for errors
if possible.

This commit also fixes plume-cli to use the new Searcher
API (that depends on a DbPool, not on a single Connection).
4年前
Ana Gelez eaad38ad2c
Avoid unwrapping, return an Error instead 4年前
Mina Galić 962fbcc503
plume-model: refactor Searcher to have its own DbPool
this way, we don't need to pass along a conn into the function.
This should make splitting PlumeRocket up into its components a little
easier. This PR is another attempt at fixing #799.
4年前
Mina Galić f945e18bf1
Revert "Add an SearcherActor, wrapping Searcher & DbPool"
This reverts commit 0757f84397fc4d4ecba8a904e9d25f1b243b4292.
We'll attempt to use a strategy in #807
4年前
Mina Galić b92a877420
finish off the strategy document 4年前
Mina Galić 046b5d0214
Add past attempts at solutions. 4年前
Mina Galić 6935565efd
add design document describing current issues 4年前
Mina Galić 5e17636b9d
Add an SearcherActor, wrapping Searcher & DbPool
and implement AddDocument message!
This code compiles, but hasn't been put to use yet.
4年前
Mina Galić d344e06efd
add riker as dependency, we will use it to replace searcher 4年前
trinity-1686a 9ec2d93f50 implement login via LDAP
Reviewed-on: #826
Reviewed-by: Mina Galić <me+git@igalic.co>
4年前
Trinity Pointard 4da9b24cb1 cargo fmt 4年前
Trinity Pointard f40634aa97 address comments 4年前
Trinity Pointard ccba8163c9 fix compilation issue with cli 4年前
Trinity Pointard 8975b0f9e9 cargo fmt 4年前
Trinity Pointard d626f3366d add support for ldap 4年前
Trinity Pointard b24f195e10 refactor login
first step toward ldap
should have no functionnal change
4年前
Mina Galić 003dcf861a Merge pull request 'CSS Fix: My title is displayed at the wrong position on Webkit browsers' (#825) from quentin/Plume:pr/flex into main
Reviewed-on: #825
Reviewed-by: Mina Galić <me+git@igalic.co>
4年前
Quentin Dufour 5d8efa77a3 Fix title 4年前
kiwii fb6d49cc6e Merge pull request 'GPU acceleration for the mobile menu' (#818) from gpu-acceleration into main
Reviewed-on: #818
Reviewed-by: kiwii <kiwii@noreply@joinplu.me>
4年前
Mina Galić 48776939f4 Merge branch 'main' into gpu-acceleration 4年前
Marek Ľach 104b6c1d0c
GPU acceleration for the mobile menu
Reimplements #810, but for all browsers.
4年前
Mina Galić 3881927550 Merge pull request 'mobile-margins' (#817) from mobile-margins into main
Reviewed-on: #817
Reviewed-by: Mina Galić <me+git@igalic.co>
4年前
Ana Gelez 0bec13edc0 Improve responsiveness 4年前
Ana Gelez 191d6da486 Move header-related style to _header.scss
It seems to fix the overflowing menu items on small screens too
4年前
kiwii 9aaff1a484 Merge pull request 'Use result of local storage insert operation to suppress Clippy' (#810) from KitaitiMakoto/Plume:suppress-clippy into main
Reviewed-on: #810
Reviewed-by: kiwii <kiwii@noreply@joinplu.me>
4年前
Kitaiti Makoto 36fd55a7e4 Use result of local storage insert operation to suppress Clippy 4年前
kiwii fc474bf8d1 Merge pull request '[BUG FIX]Make it possible to switch to rich text editor' (#808) from KitaitiMakoto/Plume:richtexteditor into main
Reviewed-on: #808
Reviewed-by: kiwii <kiwii@noreply@joinplu.me>
4年前
Kitaiti Makoto a050deb557 [BUG FIX]Make it possible to switch to rich text editor 4年前
kiwii 6de9a1f1c8 Merge pull request 'Recreate search index if its format is outdated' (#802) from KitaitiMakoto/Plume:invalid-index into main
Reviewed-on: #802
Reviewed-by: Mina Galić <me+git@igalic.co>
4年前
Kitaiti Makoto 5e30bede40 Don't care about needless return value of closures 4年前
Kitaiti Makoto 5cca66b346 Add action user can take to error message 4年前
Kitaiti Makoto 484659fde2 Run cargo fmt 4年前
Kitaiti Makoto 5fc827c1c9 Re-initialize search index when recreating is failed 4年前
Kitaiti Makoto 50753b3a65 Recreate search index if its format is outdated 4年前
Kitaiti Makoto c5d03d300b Cause IndexInvalidDataError when search index is invalid 4年前
kiwii 010eac6c4a Merge pull request 'upgrade rocket* to the latest stable' (#800) from igalic/Plume:update/rocket into main
Reviewed-on: #800
Reviewed-by: kiwii <kiwii@noreply@joinplu.me>
4年前
Mina Galić a107d35492
upgrade rocket* to the latest stable
before we embark on upgrading to async, and all the refactoring that
this will bring on us (see #797 & #799), we should keep our `main`
branch as stable and current as possible.
Let's start by upgrading rocket and its dependencies.
4年前
Kitaiti Makoto f9beb2383b Update lindera-tantivy to v0.1.3 4年前
Chosto 7e78cffcaa
Bump Docker base images to buster flavor (#797) 4年前
TheMasix 28576c1fa3
Add Vazir Font (#787)
* Add Vazir Font

* Add Vazir Font License

* fix prettier problem

* Shabnam added
4年前
Gelez d99b42582d
Add Persian to the list of languages (#782) 4年前
KITAITI Makoto 92a386277b
Switchable tokenizer (#776)
* [REFACTORING]Rename whitespace_tokenizer to tag_tokenizer for
registration

Name representing its purpose is preferred.

* Add lindera-tantivy to plume-model's dependencies

* Install lindera-tantivy

* Add SearchTokenizerConfig struct

* Add search tokenizers to config option

* Use CONFIG for tokenizers

* Use enum to hold tokenizer config instead of initializing on config phase

* Use guard instead of duplicate default values

* Use as_deref() instead of guard

* Move SearchTokenizer from plume-models to plume-models::search::tokenizer

* Rename SearchTokenizer to TokenizerKind

* Define SearchTokenierConfig::determine_tokenizer()

* Use determine_tokenizer in SearchTokenizerConfig::init()

* Pass tokenizer config to Searcher methods

* Add LowerCase filter to Lindera tokenizer

* Add test for Lindera tokenizer

* Define SEARCH_LANG env to specify tokenizers set

* Run cargo fmt

* Make Lindera tokenizer optional

* Fix typos
4年前
Gelez 297d9fcf40
Don't show boosts and likes for "all" and "local" in timelines (#781)
Fixes #711
4年前
KITAITI Makoto ef70cb93e6
Upgrade Tantivy to v0.12.0 (#771)
* Upgrade Tantivy to 0.12.0

* Follow Tantivy Tokenizer's new type definition

* Wrap tokenizers with TextAnalyzer to use filter methods

* Replace async IndexWriter::garbage_collect_files with sync functions

* Update Cargo.toml
4年前
Daniel Watkins efb76a3c17
remove dependency on runtime-fmt (#773)
Per the issue, "runtime-fmt uses perma-unstable rust APIs and is
therefore susceptible to breakage".

This replaces the two calls to rt_format! with .replace() and drops the
dependency.

Fixes #769
4年前
KITAITI Makoto 197f0d7ecd
Add test for hash including ZWSP (#772)
* Add test for hash including ZWSP

* Run cargo fmt
4年前
KITAITI Makoto 3be842c653
Make database connections configurable by environment variables (#768)
* Make env DB_MAX_SIZE and DB_MIN_IDLE recognizable

* Make database max size and minimum idle configurable

* Restore file permission

* Fail fast
4年前
KITAITI Makoto dabe904642
Escape expressions in @Html (#767) 4年前
KITAITI Makoto 180e34b07c
Fix Atom feed datetime format (#766) 4年前
KITAITI Makoto 847d6f7fac
Fix Atom feed (#764)
* Percent-encode URI segments in ap_url

* Fix invalid Atoms

* Remove redundant clone according to cargo clippy

* Revert "Percent-encode URI segments in ap_url"

This reverts commit 8253aa79bd.
ActivityPub(JSON-LD) accepts URI.
See https://github.com/Plume-org/Plume/pull/764#issuecomment-623105734

* Use absolute IRI for IDs in Atom

* Reuse formatted string

* Use parent element's creation date for Atom updated if there's no post

* Remove uncecessary UTC conversion

* Extract routes::build_atom_feed function
4年前