Commit Graph

131 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
cd2f72fb73 feat: pass topic creation data to action:topic.save 2019-01-30 10:32:50 -05:00
Barış Soner Uşaklı
f3a679e268 remove parseInts 2018-10-25 17:02:59 -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ı
cf75c79611 Unread changes closes #6781 (#6783)
* WIP

* more unread work

* faster teaser block handling

if user doesn't have anyone blocked don't check

* much faster filtering of blocked posts

* add missing uid

* add tidsByFilter to return

* dont load all pids to find previous non-blocked teaser

* fix unread filters

they no longer use unread/new unread/watched etc they are query strings now

* shorter nav item code

* add unreplied to filters

fix icons not clearing to 0
dont increment unread counters if there is a reply in a topic where you ignored the topic creator
2018-09-24 12:58:59 -04:00
Barış Soner Uşaklı
f77e7de285 closes #6067 2018-06-03 14:25:27 -04:00
Barış Soner Uşaklı
4ee2284066 closes #6489 2018-05-07 12:23:08 -04:00
Barış Soner Uşaklı
3551a34138 up spam be gone 2018-02-06 12:55:03 -05:00
Barış Soner Uşaklı
510e57d414 on new topic create add to votes sorted set 2018-01-08 12:22:24 -05:00
Peter Jaszkowiak
46fafb20b9 Remove string.js dependency 2017-10-13 21:02:41 -06:00
Julian Lam
3bd02d58e3 fixes logic that allowed posts beyond maximum post length if min is set to 0, @barisusakli 2017-06-28 12:25:51 -04:00
Julian Lam
28d8be8b9d fixed #5782 2017-06-28 11:20:57 -04:00
Barış Soner Uşaklı
d65f494c6d closes #5127 2017-06-16 14:25:40 -04:00
Peter Jaszkowiak
3c2d4fe649 Switch from underscore to lodash 2017-05-27 14:51:45 -06:00
Peter Jaszkowiak
2b2544a4b1 Deprecate non-standard String.prototype.rtrim 2017-05-09 14:37:35 -06:00
barisusakli
e3205bcfad merge 2017-04-16 14:26:12 -04:00
Peter Jaszkowiak
0fe10f5e86 Escape topic titles at the source, deduplicate 2017-04-15 01:38:42 -06:00
Julian Lam
d18cfced96 Merge remote-tracking branch 'origin/master' into develop 2017-04-12 23:57:14 -04:00
Peter Jaszkowiak
1892492505 Deprecate utils.walk, remove prototype modification 2017-04-08 21:02:06 -06:00
Peter Jaszkowiak
1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Julian Lam
af2d9fb85b Merge branch 'master' into develop 2017-03-06 09:51:11 -05:00
Julian Lam
8226fd6566 enhancing™️ post reply length checker to account for line breaks in redactor 2017-03-06 09:40:19 -05:00
Julian Lam
ddea9f534e running eslint again 2017-02-24 12:47:46 -05:00
Julian Lam
72e77772db Merge branch 'master' into develop 2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
b1b486f729 ESlint quote-props 2017-02-18 01:19:20 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
3fb7f9fce5 closes #5398 2017-01-26 22:18:16 +03:00
barisusakli
78b7d5896c convert topic title to string 2016-12-07 16:25:46 +03:00
Julian Lam
5916530a35 fix topic creation regression caused by 576df84218 2016-11-21 11:18:10 -05:00
Julian Lam
576df84218 trimming composer input before doing length check in replies 2016-11-21 10:52:37 -05:00
barisusakli
6acc79ec07 convert title to string 2016-11-21 10:17:45 +03:00
Peter Jaszkowiak
91a28e98b7 isMain on topic.create for filter:post.create 2016-11-02 10:33:39 -06:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
6f86621e30 closes #5096 2016-10-08 19:09:55 +03:00
barisusakli
a6c3be0bb1 store category recent tids for faster retrieval 2016-09-22 18:21:54 +03:00
barisusakli
4aac8bbe6a closes #2222 2016-08-30 13:10:52 +03:00
barisusakli
07fe5057e1 make sure validator.escape() receives strings only 2016-08-27 15:45:15 +03:00
barisusakli
50aac3c6a4 closes #4979 closes #4984 2016-08-27 14:06:14 +03:00
barisusakli
6e469f1f0a add missing return to guestHandleValid 2016-08-16 22:30:11 +03:00
barisusakli
3b0eca3be2 fix timestamp on posts.reply 2016-08-16 22:27:26 +03:00
barisusakli
0efe315790 closes #4631 2016-08-12 12:57:23 +03:00
barisusakli
56d325bd86 privilege fixes 2016-08-10 23:55:49 +03:00
Ben Lubar
26df552d55 Add edit, delete, and topics:delete permissions for users acting on their own posts 2016-08-06 21:23:09 -05:00
barisusakli
ded69e8373 closes #4677 2016-06-08 11:53:12 +03:00
barisusakli
825ecce0df closes #4643 2016-05-14 19:39:31 +03:00
barisusakli
b6ddbc3071 closes #4111 2016-03-08 19:45:18 +02:00
barisusakli
f3d2ad5f1f lets break some themes :evil: 2016-03-03 20:13:41 +02:00
Julian Lam
088940d4c7 Squashed commit of the following:
commit 49e6c0040cc82c1e2684933a8e167ef14854aff8
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 16:12:15 2016 -0500

    added recording and charts for topic and post counts globally and by cid

commit e02ff70757f778aa016fbc42ef10a5da2d07a9d9
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 15:35:49 2016 -0500

    added labels to charts

commit e75d83bf3886e5183bcf5fcd848d71c513761e01
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 13:30:47 2016 -0500

    added per category graphs to ACP management page

commit e3f543200950925cc9e8bf33cccb592f949a100e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 12:36:11 2016 -0500

    updated analytics to move helper methods to analytics lib and sending per category analytics to ACP page

commit 01891d8f7c408925fcdad18dcaa941e5ebbeb9b2
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Feb 24 16:48:55 2016 -0500

    saving per-category analytics, and updated the writeData method to use async for "clarity"
2016-02-25 16:12:50 -05:00