Commit Graph

33 Commits

Author SHA1 Message Date
Baris Usakli
756dfd8ae6 fix: #7008 2019-03-09 11:16:36 -05:00
Barış Soner Uşaklı
920efad04d fix: #7300 2019-01-26 23:44:41 -05:00
Barış Soner Uşaklı
eb7ae54f81 Category watch state (#7109)
* feat: wip, category watch change

* feat: pass data to client

* feat: allow changing state

* fix: account page categories

* fix: show in unread if topic is followed or category is watched

* feat: add default watch state to acp

* feat: save user category watch state

* feat: update unread recent pages

* fix: remove dupe code

* fix: flip conditions

* fix: handle empty arrays

* fix: ignore/watch on others profile

* feat: upgrade script for category states

if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers

* fix: upgrade

* fix: tests

* fix: redis count

* fix: more tests
2018-12-14 16:24:17 -05:00
Barış Soner Uşaklı
c27be9db5a Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
2018-10-27 06:26:50 -04:00
Baris Usakli
881185ae59 closes #6857 2018-10-22 13:07:02 -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ı
9912c400b6 closes #6612 2018-06-27 16:14:44 -04:00
Barış Soner Uşaklı
ccad95cf73 closes #6579 2018-06-18 14:37:37 -04:00
Barış Soner Uşaklı
ac1f7eefe5 closes #2304 2018-01-31 15:20:17 -05:00
Baris Usakli
f177b01022 closes #6147 2017-12-06 11:54:08 -05:00
Barış Soner Uşaklı
c406d26beb if route is home display home as title 2017-12-05 16:21:06 -05:00
Baris Usakli
38e52a65be fix breadcrumbs and home /api route not loading 2017-11-15 14:48:28 -05:00
Baris Usakli
a500e0019c closes #6005 2017-10-30 15:26:17 -04:00
Baris Usakli
19dc7da42f closes #5994 2017-10-19 13:53:05 -04:00
Baris Usakli
852396e60d closes #5903 2017-09-21 13:50:24 -04:00
Barış Soner Uşaklı
fcce96efab style change 2017-08-21 16:51:42 -04:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
feb8405f95 ESlint eol-last 2017-02-18 02:30:48 -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
5cfe379841 fix recent for inf scroll 2016-11-03 18:02:15 +03:00
barisusakli
556dfa51d9 fix pagination querystring on /recent 2016-11-03 15:15:16 +03:00
barisusakli
f8ae7b069c cid filter 2016-11-03 14:47:44 +03:00
barisusakli
fb47bf3889 unread/recent changes closes #4774 2016-11-03 13:06:25 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
pichalite
6249b9a6fb rename dbset to set 2016-07-16 00:08:53 +00:00
pichalite
f72e00a1b5 pass dbset as attribute 2016-07-15 23:43:49 +00:00
barisusakli
84a7b6690b closes #4434 2016-05-13 14:08:50 +03:00
barisusakli
25f3a31ff1 closes #4587 2016-04-30 10:47:28 +03:00
barisusakli
1c29722ac4 recent style 2016-01-26 18:13:18 +02:00
barisusakli
cb9b51e8a5 closes #3475 2015-09-11 23:57:46 -04:00
barisusakli
eaefd9d24c remove meta/title.js and meta.title.build #3481 2015-08-26 15:55:00 -04:00
barisusakli
fe5f1b8c1d moved recent popular 2015-08-17 16:38:12 -04:00