Commit Graph

30 Commits

Author SHA1 Message Date
Barış Uşaklı
24e7cf4a00 refactor: move post uploads to post hash (#13533)
* refactor: move post uploads to post hash

* test: add uploads to api definition

* refactor: move thumbs to topic hash

* chore: up composer

* refactor: dont use old zset
2025-07-07 10:22:24 -04:00
Julian Lam
61f6806b6a test: a few additional tests for announce handling 2025-05-14 11:49:12 -04:00
Barış Soner Uşaklı
70a9f6d337 fix: return null if field isn't in hash 2025-02-11 13:37:21 -05:00
Barış Soner Uşaklı
291bf7db41 perf: move attachments to post hash 2024-06-13 19:49:04 -04:00
Julian Lam
0c2cfbe7a0 chore: lint 2024-03-06 14:59:49 -05:00
Julian Lam
f368a1a87f fix: remove intFields hack and update db.parseIntFields to only parseInt if field value is a number 2024-03-06 11:45:34 -05:00
Julian Lam
3a870360c4 fix: revert introduction of toPid into post intFields, manually cast toPid as int in getPostSummaryByPids if present and numeric 2024-02-21 15:15:59 -05:00
Julian Lam
893dd523ca fix: send string to validator 2024-02-20 14:23:53 -05:00
Julian Lam
31fd135f6e fix: parseIntFields for tids 2024-02-20 14:09:06 -05:00
Julian Lam
56cfae0766 fix: accidental overwrite of hoisted internal variable 2024-02-14 11:56:21 -05:00
Julian Lam
6b517252b9 feat: activitypub response to note retrieval via pid 2024-01-25 16:27:56 -05:00
Julian Lam
2ff70fdde2 refactor: generate a topic id when asserting a new topic 2024-01-19 11:31:04 -05:00
Julian Lam
3ce84b39bc feat: ability to load remote post data in a topic 2024-01-10 20:52:28 -05:00
Barış Soner Uşaklı
4327a09d76 feat: allow optional fields argument on db.getObject(s) (#9385) 2021-03-14 11:40:54 -04:00
Barış Soner Uşaklı
f316c4d4b8 refactor: remove uncessary check 2021-03-14 00:39:11 -05:00
Peter Jaszkowiak
707b55b6a5 chore: eslint prefer-template 2021-02-08 18:06:44 -05:00
Julian Lam
6e2da9966e refactor: move plugin hook methods to plugin.hooks.* 2020-11-20 16:32:39 -05:00
Barış Soner Uşaklı
16039b1117 refactor: post edit 2020-09-25 15:54:55 -04:00
Barış Soner Uşaklı
4f14dc7a58 fix: #8640, add bookmarks to intFields 2020-09-21 14:57:00 -04:00
Julian Lam
a9dfc9a74e feat: add replies to getPostSummaryByPids 2020-08-27 14:46:07 -04:00
Julian Lam
e0c7d65a92 Revert "feat: add reply count to getPostSummaryByPids"
This reverts commit de0f4aadb8.
2020-08-27 14:44:51 -04:00
Julian Lam
de0f4aadb8 feat: add reply count to getPostSummaryByPids 2020-08-27 13:21:18 -04:00
Barış Soner Uşaklı
af790e3f5e refactor: shorter code 2020-06-19 12:03:33 -04:00
Julian Lam
0e07ffa1d9 feat: send pids into filter:post.getFields hook 2019-07-31 15:06:14 -04:00
Barış Soner Uşaklı
1b2b308a7e feat: #7743, posts module 2019-07-17 00:17:21 -04:00
Barış Soner Uşaklı
fb6067a7ca only parse if field is requested 2018-10-25 19:58:01 -04:00
Barış Soner Uşaklı
ac39112271 remove more parseInts 2018-10-21 19:33:46 -04:00
Barış Soner Uşaklı
9c022afae1 Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
c3a903142a closes #6850 2018-10-20 16:31:16 -04:00
Baris Usakli
9251912282 move methods from posts to posts/data 2018-10-17 15:24:17 -04:00