Commit Graph

9805 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
973b5fcfe0 closes #6932 2018-11-10 07:35:46 -05:00
Baris Usakli
2c5157aeaa use max.min 2018-11-09 16:48:34 -05:00
Baris Usakli
2ee743d65c add itemsPerPage to search api 2018-11-09 16:47:26 -05:00
Baris Usakli
62787368c6 add searchonly option to searh api 2018-11-09 15:09:47 -05:00
Barış Soner Uşaklı
4724901588 use series 2018-11-09 11:19:15 -05:00
Julian Lam
d027207f88 fix: flags detail page crash if reporter blocks author
Fixed an issue where the flags detail page would crash if the
reporting user flagged a post and then proceeded to block the
post author.

Retrieval of a flag's target data should be irrespective of
block status.

fixes #6925
2018-11-08 13:43:45 -05:00
Julian Lam
95cc27f1ff style(eslint): enforcing newline on chained calls 2018-11-08 11:36:00 -05:00
Julian Lam
a5022ce425 fix: #6922, skin assets not including plugin LESS files 2018-11-07 19:18:11 -05:00
renovate[bot]
64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
2018-11-07 15:53:14 -05:00
Barış Soner Uşaklı
75816deca7 add cache to redis (#6917)
* add cache to redis

move out cache module from mongo

* fix redis tests

* add callback noop

* fix typo

* del cache on field delete

* make redis/mongo caches separate
2018-11-07 15:04:56 -05:00
Julian Lam
501b3a79ca Refactor skins to be built on server-side (#6849)
* WIP

* using bootswatch from npm instead of bootswatch CDN url

* feat: on-demand client css building for skins

* added ability for client-side to select a skin

* updated loading and saving logic of bootstrapSkin on client side user settings

* fix: broken test for #6849
2018-11-07 13:44:35 -05:00
Julian Lam
84433f29ab Do not require a full refresh on login/logout (#6841)
* no-refresh login as well, plus lots of fixes for missing config on login

* replace config with new set on logout as well

* passing new payload data into new action:app.loggedIn hook, and old action:app.loggedOut hook

* fixed issues with socket.io not properly representing uid on server

* some light refactoring and cleanup

* minor cleanup, fixed spa logout not working after login

* have reconnection handler for socket.io wait 2s to confirm disconnection before reporting -- stops flicker if reconnecting immediately

* Dynamically replace chat and slideout menu on updateHeader()

... instead of just the menu items.

* more efficient calls to Benchpress and translator /cc @pitaj

* fix: chats and notification handlers not working after login

* fix: accidentally calling cb multiple times
2018-11-07 12:34:12 -05:00
Baris Usakli
968be7d8de make lint happy 2018-11-06 13:35:55 -05:00
Baris Usakli
3c611d85ed closes #6912
- on category setParent dialog do not show children of current category
- break recursion if category parentCid is equal to child cid to prevent
infinite loop
- dont allow setting the parentCid of a category to one of it's children
2018-11-06 13:34:29 -05:00
Barış Soner Uşaklı
6f47446171 closes #6910 2018-11-05 08:20:43 -05:00
Julian Lam
3c8939a80d fix: interstitial redirects failing if done via ajaxify 2018-11-01 19:24:34 -04:00
Barış Soner Uşaklı
2df19c0ae4 fix typo 2018-11-01 10:50:50 -04:00
Barış Soner Uşaklı
ed7399f9ed shorter code 2018-11-01 10:44:53 -04:00
Barış Soner Uşaklı
412358b070 #6903 2018-10-31 19:12:33 -04:00
Barış Soner Uşaklı
67d3b29204 #6903 2018-10-31 16:22:40 -04:00
Barış Soner Uşaklı
ff38abc225 move bcrypt into password 2018-10-31 15:10:45 -04:00
Barış Soner Uşaklı
4e297921c4 dont show object cache if it doesnt exist 2018-10-31 14:14:10 -04:00
Barış Soner Uşaklı
4caaa046d7 dont load post data again
shorter async.parallel
2018-10-30 20:25:29 -04:00
Barış Soner Uşaklı
d3e4daebec posts/delete cleanup 2018-10-30 19:41:06 -04:00
Barış Soner Uşaklı
0de60cfdca fix mongodb tests 2018-10-30 18:58:02 -04:00
Barış Soner Uşaklı
8ca36ad122 closes #6890 2018-10-30 18:29:52 -04:00
Julian Lam
157bea6966 fix: username trim on login, closes #6894 2018-10-30 17:09:32 -04:00
Julian Lam
5ccdc1c017 internationalising english labels in session time ACP block, #6883 2018-10-29 12:29:41 -04:00
Julian Lam
58b088c054 update html on session time ACP block, #6883 2018-10-29 12:25:07 -04:00
Barış Soner Uşaklı
2e579ee0f9 closes #6883 2018-10-29 12:18:11 -04:00
Barış Soner Uşaklı
5ee4529a8e if source has no parentCid assume 0 2018-10-29 11:18:00 -04:00
Barış Soner Uşaklı
9918389a43 closes #6884 2018-10-29 10:59:22 -04:00
Barış Soner Uşaklı
7aa937a657 remove dupe code in mongodb sorted 2018-10-28 16:20:38 -04:00
Barış Soner Uşaklı
ea1e8fb8fe Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-27 06:29:24 -04: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
Barış Soner Uşaklı
66ed48e088 closes #6875 2018-10-27 06:23:24 -04:00
Julian Lam
4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes #6847 2018-10-26 15:21:04 -04:00
Baris Usakli
51792da430 dont crash if there is nothing to write 2018-10-26 15:15:20 -04:00
Baris Usakli
12f3f56b01 change to .exists 2018-10-26 14:31:38 -04:00
Baris Usakli
566564ed74 fix redis tests
fixed typo in groups/data.js
added postcount,viewcount to int fields
2018-10-26 13:01:34 -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ı
f3a679e268 remove parseInts 2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
aca50f1fe1 dont crash if topic is moved to pinned topic 2018-10-25 11:55:11 -04:00
Barış Soner Uşaklı
da22940b80 dont retry absolute paths 2018-10-25 10:58:51 -04:00
Barış Soner Uşaklı
ebd4b19a65 moved req.user up 2018-10-24 21:22:12 -04:00
Barış Soner Uşaklı
9c03881d5a add threshold for image resizing 2018-10-24 20:03:03 -04:00
Barış Soner Uşaklı
369e4854d2 remove parseInts 2018-10-24 19:30:50 -04:00
Barış Soner Uşaklı
541997a755 fix lint 2018-10-24 19:25:40 -04:00
Barış Soner Uşaklı
40f9ee3003 dont crash if topic does not exist 2018-10-24 17:41:06 -04:00
Barış Soner Uşaklı
2f198583c4 change to this 2018-10-24 13:26:05 -04:00