| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Instead of fetching one domain, we use the same method as in site config (to retrieve the matching file) and handle api.example.org, example.org, .org (yes the last one isn’t useful).
If one of these match, we got it and use it.
|
| |
|
|
|
|
| |
Only allowed parameter are asc & desc
|
|
|
|
|
|
|
|
| |
the user
Fixes #3815
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
| |
Parameters weren’t passed to the sub function.
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
|
|
|
|
|
| |
Improve SQL performance by replacing size(e.tags) with a left join and a
null condition
Move the QueryBuilder logic into getRawBuilderForUntaggedByUser
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We refactor getBuilderByUser to separate QueryBuilder getter and the
orderBy(). The previous code of getBuilderByUser() has been moved to
getSortedQueryBuilderByUser(). getBuildByUser() now returns a
QueryBuilder without the call to orderBy().
A new method named sortQueryBuilder() returns a given QueryBuilder with
an orderBy() call using given sort parameters.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
| |
Check is $tags is a string before explode
|
|
|
|
| |
Introduce after the rebase I guess
|
| |
|
|
|
|
|
|
|
|
|
|
| |
First, the setParameter() were done on the same parameter which in fact
just duplicated the condition in the SQL query (like `where t.label =
'test' and t.label = 'test'`.
Changed the parameter doesn't help because the query was then wrong.
Changing the way to match associated tags for an entry and it worked.
|
|
|
|
|
|
|
|
| |
This date is used to sort starred entries.
Can not use Entry::timestamps method otherwise starred_at will be updated each time entry is updated.
Add an updateStar method into Entry class
A migration script has been added in order to set starred_at field.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Store credentials in DB
|
| |
| |
| |
| |
| |
| |
| |
| | |
Encrypt username too
Redirect to list after saving credentials
Fix typos
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
| | |
|
| |
| |
| |
| | |
Inject the current user & the repo to retrieve username/password from the database
|
| | |
|
| | |
|
|/
|
|
|
|
| |
Listing entries can now be filtered by “public”.
Creating or patching an entry can now set is to public or remove the public.
Entry response now include “is_public” boolean field
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Since we still support fucking SQLite, we need to retrieve all tags & annotations for archived entries before deleting them.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
|
|
|
| |
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
|
|
|
| |
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
|
|
|
|
|
|
|
|
| |
This adds an orderBy clause to findAllTags(). This makes the list of
tags more useful, as the tags appear in alphanumerical order instead of
somehow random.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
|
| |
|
|
|
|
| |
Due to overload, we disabled output walkers (see https://github.com/whiteoctober/Pagerfanta/issues/115
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix #18
|
|
|
|
| |
With index (following https://github.com/wallabag/wallabag/pull/2534)
|
| |
|
| |
|
|
|
|
|
|
| |
Since SQLite doesn’t handle cascade remove by default, we need to handle it manually.
Also some refacto
|
|
|
|
|
|
| |
- annotations
- tags
- entries
|
|
|
|
|
|
| |
Instead of retrieve all informations about entries of a tag to just count them, we’ll count them before with a fastest query.
Also change the layout of the tag list in material design
|
|
|
|
| |
We forgot to pass them to the factory
|