Marco Nassabain
f2ef07c661
🔥 findAllShared: add table alias in sql statement
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
WENDLING NICOLAS
3936362343
✨ Get all shared items with an user
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
527eef0727
✨ NewsItem: add share functions (mapper + service)
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain
5b09e74f40
🗃 NewsItem: added share fields, feedId not null
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Paul Tirk
f18adeba26
fix invalid 'empty' checks
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
f358c8213b
add missing type hints
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
822423af38
use last modified timestamp data instead of removed 'updatedAt' field
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
8035142973
fix wrong function definition & remove leftover copyright headers
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
323f215e3a
separate serialization functions
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
f22eddb91d
remove unused 'findByName' method of folder mapper/service
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
566a21b4a8
add possibility to serialize a reduced version of an entity
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
06a45387ef
lint & add missing copyright/author information
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
5e4c927017
add folder api v2
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Paul Tirk
6e067dfd43
add serialization methods for v2 API
...
Signed-off-by: Paul Tirk <paultirk@paultirk.com >
2021-04-08 10:23:11 +02:00
Sean Molenaar
90702dd297
DB: Use boolean parameter for unread/starred
...
Issue GH-1278
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-04-06 12:43:24 +02:00
Sean Molenaar
951f3eb7ee
DB: Allow negative limits
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-04-05 19:18:19 +02:00
Sean Molenaar
78dce7ffe1
DB: Updates should use set()
...
Issue GH-1211
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-03-31 22:39:00 +02:00
Sean Molenaar
2baa7a2b91
Make PHPstan stricter
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-03-25 18:47:38 +01:00
Sean Molenaar
baf1ca8ec9
DB: Don't show deleted feed items
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-03-23 21:11:25 +01:00
Marco Nassabain
79c9df8dc1
🎨 Item: implode categories for search index
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-03-17 08:58:42 +01:00
Marco Nassabain
7e0aab358c
🎨 Item: store categories as json & add helper fns
...
+ added setter/getters that work with arrays to simplify use case
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-03-17 08:58:42 +01:00
Marco Nassabain
29b55ae030
✨ Item: add categories into search index
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-03-17 08:58:42 +01:00
Jimmy Huynh
4e7a1b159a
✨ Add 'catagories' to jsonSerialize()
...
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr >
2021-03-17 08:58:42 +01:00
Jimmy Huynh
3dfbf64a6b
♻️ Renaming 'tags' into 'categories'
...
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr >
2021-03-17 08:58:42 +01:00
Marco Nassabain
ef0742e868
🐛 Fix Item model: set default value for setTags
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-03-17 08:58:42 +01:00
Jimmy Huynh
f217384716
✨ Update 'Item' model: add 'tags' field
...
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr >
2021-03-17 08:58:42 +01:00
Sean Molenaar
9d5d35ce23
DB: Fix offset quotes
...
Issue GH-1200
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-02-27 15:12:59 +01:00
Sean Molenaar
bf1e71f1a7
DB: Use ID as offset in item queries
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-02-23 17:16:20 +01:00
Sean Molenaar
4a107b3d53
General: Fix folder query
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-02-20 13:57:09 +01:00
Sean Molenaar
01e1db329c
Command: Add debug item list commands
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-02-20 13:57:09 +01:00
anoy
8ca7ef7e49
update sorting column
...
follow-up for b4fa772bc5
(#1056 )
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-02-14 17:15:46 +01:00
Sean Molenaar
b4fa772bc5
Remove V1 item API
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-02-13 13:22:57 +01:00
anoy
7e9fd48f4a
fix refetching of purged articles
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-02-10 13:58:13 +01:00
Sean Molenaar
6e9e2512ea
DB: Remove unused fields
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-02-05 09:37:17 +01:00
Sean Molenaar
5406086829
Psalm: Fix class loading
2021-02-05 07:27:11 +01:00
anoy
5c7838e9bd
fix result ordering for purging query
...
updated_date is currently always NULL
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-02-04 09:03:06 +01:00
anoy
e601f07ee6
fix articlesPerUpdate alias
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-02-02 20:50:34 +01:00
anoy
f2b74a0ba1
fix item purger for PostgreSQL
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-02-02 13:48:55 +01:00
Sean Molenaar
023c61b88f
Mappers: Implement item purging
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-01-30 18:27:06 +01:00
anoy
8d834cff35
fix typo in string template value
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-01-17 17:56:37 +01:00
anoy
fdf4fa454d
fix TypeError in ItemMapper
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-01-15 15:16:41 +01:00
anoy
8b3516a949
fix opened state of folders is not restored
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-01-13 19:23:46 +01:00
Sean Molenaar
67b6c4e1b0
Fix psalm issues
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-01-12 13:29:08 +01:00
anoy
8de3ad77fc
remove deprecated colon prefix for parameters
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2021-01-11 09:32:23 +01:00
Benjamin Brahmer
52f1142cd3
autofix round2
2021-01-08 22:45:10 +01:00
Benjamin Brahmer
67bbd6bfeb
fix the test
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-01-08 22:45:10 +01:00
Benjamin Brahmer
7180e11bdb
fixes done by psalm
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-01-08 22:45:10 +01:00
Sean Molenaar
d3cd465d87
Improve itemmapper wording
...
Co-authored-by: anoy. <anoymouserver@users.noreply.github.com >
2020-12-30 11:21:44 +01:00
Sean Molenaar
05377d023e
Remove PHPunit integration tests
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-12-30 11:21:44 +01:00
anoy
d1c50b8e77
fix FeedMapper find exception
...
Exception: Argument 2 passed to OCA\News\Db\FeedMapper::find() must be of the type int, string given
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2020-12-23 17:32:26 +01:00