1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-05-13 19:34:05 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
Sean Molenaar
10e8c28fea Add migration with foreign keys
Closes 

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-11-03 19:58:37 +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
Sean Molenaar
8a203a329c Fix minor issues, prepare for foreign keys and check feeds
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-09 22:15:03 +02:00
Sean Molenaar
4425e9da42 Fix Application class loading in config
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-10-05 09:48:28 +02:00
Sean Molenaar
bc01761221 Fix repair step and test it
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-29 13:02:03 +02:00
Sean Molenaar
60ab4941cc Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-09-25 19:18:04 +02:00
Sean Molenaar
b73c7c0f8a Cleanup appinfo files
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-08-26 22:48:17 +02:00
Sean Molenaar
becce6b752 Define an official codestyle and adhere to it. 2018-12-14 07:54:43 +01:00
Sean Molenaar
5b94705cf3 Core: Fix compatibility with nextcloud codestyle () 2018-03-27 15:35:06 +02:00
Daniel Opitz
a97dd58e3b Split binary to booleans ()
* replaced old status with 2 flags for unread and starred

* add fields to db, replace int(1,0) with booleans in sql queries, removed StatusFlags class + refactor code relying to it

* add repair step for migration

* again use integer(1,0) instead of bool in sql queries, because of sqlite doesn't support true/false

* add/fix unit tests for new boolean status

* set unread/starred flags as statements in sql

* fixed mysql unknown column items.unread, fixed marking of read items on repair step

* remove unnecessary bool casts

* add empty checks to Items::is* methods

* update migration to use native sql instead of the querybuilder

* don't cast the flags manually, let the api do the work
2017-08-14 10:34:53 +02:00