Commit Graph

5262 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
85c832fcc6 add tooltip 2018-11-14 00:21:27 -05:00
Barış Soner Uşaklı
fe8832ad5c dont update if index didnt change 2018-11-13 23:22:06 -05:00
Barış Soner Uşaklı
7b5c4f343a drag nav 2018-11-13 22:51:57 -05:00
Barış Soner Uşaklı
de14102ee7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-12 17:10:00 -05:00
Barış Soner Uşaklı
d9452bf3d4 fix: custom navigation item not showing groups 2018-11-12 17:09:58 -05:00
Julian Lam
b3f96d28aa fix(acp): hard-to-discover dropdown selector in ACP
Made the dropdown an MDL button fab with better positioning via
a p.lead so that it is more easily discoverable and obvious that
it is a button that can be pressed.

Fixes #6899
2018-11-12 16:44:13 -05:00
Barış Soner Uşaklı
69bb3293ee misc fixes
handle spider uids properly
2018-11-12 00:20:44 -05:00
Barış Soner Uşaklı
b6771836cf closes #6937 2018-11-10 20:51:07 -05:00
Barış Soner Uşaklı
973b5fcfe0 closes #6932 2018-11-10 07:35:46 -05:00
Baris Usakli
3e2dffa6d0 fix search in if in query param isn't passed in 2018-11-09 16:29:08 -05:00
Julian Lam
f7bd398eb1 style(eslint): newlines in public/src as well 2018-11-08 12:11:31 -05:00
Julian Lam
aef1c155cc hey husky wtf you doin' 2018-11-07 16:02:48 -05:00
Julian Lam
da10ca084b fix: #6921, allow square brackets in usernames 2018-11-07 16:01:31 -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
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
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
Barış Soner Uşaklı
61c7aa4b19 closes #6885 2018-10-29 10:27:29 -04:00
Barış Soner Uşaklı
fee3ec308a use showSelect 2018-10-27 12:13:12 -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ı
56c1eac1a5 fix translations on dashboard 2018-10-24 17:32:22 -04:00
Barış Soner Uşaklı
69253d9a7f use chart.js legend 2018-10-24 12:51:14 -04:00
Barış Soner Uşaklı
8abef4c101 bg colors 2018-10-24 12:12:17 -04:00
Barış Soner Uşaklı
b916dc562f fix bg colors 2018-10-24 11:55:44 -04:00
Barış Soner Uşaklı
804451cc37 update axis ids 2018-10-24 11:46:39 -04:00
Barış Soner Uşaklı
c2191167ee fail colors 2018-10-24 11:39:40 -04:00
Barış Soner Uşaklı
5b842c98ac fix typo 2018-10-24 11:34:57 -04:00
Barış Soner Uşaklı
9f36ce3997 #6862 2018-10-24 11:24:37 -04:00
Barış Soner Uşaklı
11c2a65b5a fix config values not showing client side if they were set to 0 2018-10-24 10:33:30 -04:00
Andrew Rodrigues
e2ecbae06c add body class when cookie consent warning is open 2018-10-23 17:23:21 -04:00
Andrew Rodrigues
c9fc65d901 more efficient selectors (apparently) 2018-10-23 15:11:17 -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
Julian Lam
762dac6a4a closes #6825 2018-10-11 14:47:42 -04:00
Julian Lam
c95ad2c46a closes nodebb/nodebb-theme-persona#339 2018-10-11 14:29:49 -04:00
Barış Soner Uşaklı
702be3f6de https://github.com/NodeBB/nodebb-theme-persona/issues/363 2018-10-10 22:46:36 -04:00
Baris Usakli
6dc84deca9 allow admins mods to watch/ignore categories for other users 2018-10-05 14:37:44 -04:00
André Zanghelini
523a2dc54c Add settings page to control watched categories (#6648)
* Add settings page to control watched categories

* Fix passing undefined to pushUnreadCount
2018-10-05 13:00:18 -04:00
Barış Soner Uşaklı
49ba5af5fa closes #6810 (#6813) 2018-10-04 10:56:47 -04:00
Barış Soner Uşaklı
95ace13599 add loading=false 2018-09-26 22:05:01 -04:00
Barış Soner Uşaklı
ef55598822 filter messages that are already inserted to DOM 2018-09-26 21:30:29 -04:00
Barış Soner Uşaklı
3554a0a725 closes #6791, if fileSize isn't passed in don't perform check 2018-09-25 17:53: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ı
df4f5f6f27 closes #6784 2018-09-24 12:41:04 -04:00
Barış Soner Uşaklı
71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
2018-09-20 19:47:44 -04:00
Barış Soner Uşaklı
669a5135e1 closes #6768 2018-09-19 14:38:07 -04:00
Barış Soner Uşaklı
d880a7ade0 closes #6771 2018-09-18 18:08:46 -04:00
André Zanghelini
f3956299eb Add tooltip in taskbar icons (#6693)
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
2018-09-17 16:23:06 -04:00
smyther
f120015b54 Fix for user being able to open multiple "delete posts" modals (#6770)
* Implement fix for multiple fork cards showing

* Fix for admin being able to open multiple 'delete posts' modals

* Fix linting issue
2018-09-17 11:07:10 -04:00