Commit Graph

26 Commitit

Tekijä SHA1 Viesti Päivämäärä
c0049fc7b6 sqlite: Use per-thread connections 2023-07-29 10:00:27 +02:00
b9595bd513 database: Add fetch() for SessionDao 2023-02-03 16:08:28 +01:00
ef8eebdbaa database: Add missing virtual destructors for some classes 2022-10-24 15:17:04 +02:00
a81963181a RevisionDaoSqlite: Fix cases where we got pageid instead of the page name 2022-08-20 12:31:15 +02:00
622ef5af6a Database: PageDao/CategoryDao: Return 'Page' object, not pagename string 2022-04-03 11:15:02 +02:00
3e736db0ef database: pagedao: Add findByTitle() 2022-03-29 22:30:20 +02:00
f7cf06cdd5 Page: Add 'title' column, storing title of last revision 2022-03-27 09:23:35 +02:00
017932e673 Fix -wreturn-type warnings 2021-10-25 18:13:25 +02:00
6304554358 Add [[maybe_unused]] to silence unhelpful warnings 2021-10-25 17:56:37 +02:00
0aa4bca6cc Fix gcc-11 etc. compilation errors 2021-10-25 13:31:40 +02:00
eb292a7d79 CategoryDaoSqlite: deleteCategory(): Fix broken query 2021-10-12 20:10:35 +02:00
c18178a50f SqliteQueryOption: build(): Handle includeInvisible = true properly 2021-10-12 20:02:03 +02:00
aadb623bf7 UserDaoSqlite: Remove redundant std::move 2021-10-08 23:38:22 +02:00
f002969cc1 PermissionsDao: Add save() 2021-10-05 21:51:31 +02:00
164b2c19ee userDao: Implement list() 2021-10-03 16:51:04 +02:00
4dc688f9eb utils: split: Rename all splitBy*() variants to split() 2021-04-18 13:35:02 +02:00
d507c507e4 handlersearch: Allow all characters by escaping FTS
Escape FTS queries by simply treating everything as string.
Though this way a user cannot use operators, it's an improvement
over how it was done before.

Closes: #7
2021-03-25 21:44:02 +01:00
8595978560 get header-only library dependencies using git submodules 2020-03-18 22:21:03 +01:00
611ef12ca6 permissionsdao: no silent fallback to user-permissions if we find none for user 2019-05-03 16:00:36 +02:00
7c435d61d4 userdaosqlite: query enabled + implemented save 2019-05-03 15:56:52 +02:00
d3af8d8c53 revisiondaosqlite: fix sorting 2018-11-16 16:50:39 +01:00
ebdb71343c PageDaoSqlite::find: Return empty if not page found 2018-11-05 10:48:58 +01:00
6aadd43ff4 execInt: rethrow if no_rows, so callers can handle it 2018-11-05 10:48:30 +01:00
e863b5261b revisiondaosqlite: Don't ignore page visibility setting 2018-11-04 20:08:39 +01:00
099f6533f8 Page: add id field 2018-11-04 19:31:58 +01:00
3bfebfe8a8 Let's make (git) history! 2018-11-03 17:12:20 +01:00