chylex
b9c807ff63
Add article word count to JSON
...
Signed-off-by: chylex <contact@chylex.com >
2022-05-28 08:53:40 +02:00
Benjamin Brahmer and Sean Molenaar
0fb620244d
check if variable is null before striping tags
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com >
2022-05-04 18:14:37 +02:00
Marco Nassabain and Benjamin Brahmer
b5186b01f1
🚑 Item: set id to null in clone function
...
This is done to set the id to null BEFORE resetting the updated fields.
The purpose of this is to avoid explicitly adding a NULL id into the DB,
which provokes an error in some DBMS (like postgres).
Fixes #1375
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-06-16 11:31:11 +02:00
Marco Nassabain and Sean Molenaar
96846e1266
🔥 Remove changes to back-end from front-end pr
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Jimmy Huynh and Sean Molenaar
4a9a4cf0d2
(+) Adding sharing_user names to EVERY articles + pre-condition if sharedArticle: no title feed (e.g.: from wikiRSS...)
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Marco Nassabain and Sean Molenaar
bf85a5883a
🩹 Item: change $sharedBy to string|null in annot.
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
413c4b8914
🩹 Fix sharedByDisplayName bug:
...
- setting sharedByDisplayName shouldn't mark it as updated
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
c2c92a3f5a
🩹 Fix issues after rebase
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
276460a240
🩹 Item: mark categoriesJson as updated in clone
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
8674d558fc
✨ Update Item model: add sharedByDisplayName
...
- added field + setters + getters
- include field in serialized Item
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
b0c42e4cd7
♻️ Item: Remove isShared
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
2cba1e4146
🧹 Cleanup code, remove spaces, rename variables
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
e5d439ee7e
🚑 Fix newsItem insert error
...
- add Item::__clone method resetting updated fields
- set item id to null in ShareService
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
e96d7c9b1e
🎨 Item.php: make shared_by nullable
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
6a6f89ff94
🎨 Item.php: Remove shared_with
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
WENDLING NICOLAS and Sean Molenaar
f6014567f3
🗑 '!=' is discouraged, replaced by '!=='
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
WENDLING NICOLAS and Sean Molenaar
a9863ec5f7
🗑 '!=' is discouraged, replaced by '!=='
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
df8680b14a
🩹 Remove traces of feed_id being nullable
...
- feed_id is not nullable so we remove default values
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Jimmy Huynh and Sean Molenaar
98d72bac54
(*) fix: item Model
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Jimmy Huynh and Sean Molenaar
4294842a00
(*) fix: item Model
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Jimmy Huynh and Sean Molenaar
b402fddef9
(+) Adding sharing_user names to EVERY articles + pre-condition if sharedArticle: no title feed (e.g.: from wikiRSS...)
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 22:31:21 +02:00
Marco Nassabain and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
2baa7a2b91
Make PHPstan stricter
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-03-25 18:47:38 +01:00
Marco Nassabain and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
6e9e2512ea
DB: Remove unused fields
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2021-02-05 09:37:17 +01:00
Benjamin Brahmer and Sean Molenaar
7180e11bdb
fixes done by psalm
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-01-08 22:45:10 +01:00
Sean Molenaar
ec6930da82
DB: stop overloading getID
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-10-28 23:08:53 +01:00
Tilo Spannagel and Sean Molenaar
a74491ecde
Add Type Info to Entities
...
Signed-off-by: Tilo Spannagel <development@tilosp.de >
2020-10-09 13:59:23 +02:00
anoy and Sean Molenaar
0fe6384085
trim whitespaces in item titles
...
Signed-off-by: anoy <anoymouserver+github@mailbox.org >
2020-10-04 20:10:15 +02:00
Sean Molenaar and Benjamin Brahmer
b9c31a73bd
DB: Fix mime checking
...
Signed-off-by: Sean Molenaar <sean@m2mobi.com >
2020-10-03 14:01:36 +02:00
Benjamin Brahmer
4e6acf9c68
fix matching any string
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2020-10-03 14:01:36 +02:00
Sean Molenaar and Benjamin Brahmer
167dc70238
Fix various 15.0 bugs
...
Issue #821,#820,#819
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-10-03 14:01:36 +02:00
Sean Molenaar and Benjamin Brahmer
e528361141
Add feed autodiscovery
...
Issue GH-415
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-09-29 21:15:53 +02:00
Sean Molenaar and Benjamin Brahmer
35b53ecd40
OPML export command and fixes
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-09-29 14:56:07 +02:00
Sean Molenaar and Benjamin Brahmer
d00d1ab2a2
Create V2 mapper, Service and management commands
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-09-27 15:35:31 +02:00
Benjamin Brahmer and Sean Molenaar
dd266ed05f
fix import with invalid guid_hash
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2020-08-29 23:45:26 +02:00
Sean Molenaar and Sean Molenaar
54630030c3
Add phpstan checks
...
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu >
2020-08-25 20:52:48 +02:00
David Engster and Benjamin Brahmer
864794461f
Do not create spurious links in item body
...
The 'str_replace' will match any HTML element that starts with '<a',
including things like '<address' or '<article', thus creating spurious
links in item bodies. Fix that by simply adding one whitespace.
Fixes issue #527 .
Signed-off-by: David Engster <deng@randomsample.de >
2020-05-21 12:02:25 +02:00
Éloi Rivard and GitHub
306d3cdc60
Basic Media-RSS support ( #599 )
...
Signed-off-by: Éloi Rivard <azmeuk@gmail.com >
2020-02-16 14:26:06 +01:00
Sean Molenaar and Benjamin Brahmer
62bd42cb17
Stop assuming encoding of xml, let simplexml throw silently ( #457 )
2019-03-22 09:19:05 +01:00