Commit Graph

84 Commits (1ecedefae78ecdfb28c7e9e4b9cf634bd4de47f6)

Author SHA1 Message Date
Barış Soner Uşaklı b2a74b4172 fix: remove cache
Barış Soner Uşaklı 0cb9bba4da feat: header
Barış Soner Uşaklı 4650a76036 fix:
Barış Soner Uşaklı 9f5062682d fix: unread badge
- only increase unread badge if topic or category is watched
- fix logic for "there are new posts/topics" on /unread and /recent
Barış Soner Uşaklı 99e0895e99 fix: move the check to get methods
all .post methods will have csrf
Barış Soner Uşaklı 9d28b935fd dont load uid 0, -1 from db
Barış Soner Uşaklı b6771836cf closes
renovate[bot] 64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 ()
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: , linting 😬
Julian Lam 501b3a79ca
Refactor skins to be built on server-side ()
* 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 
Julian Lam 84433f29ab
Do not require a full refresh on login/logout ()
* 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
Barış Soner Uşaklı f3a679e268 remove parseInts
Barış Soner Uşaklı 9c022afae1
Parse int ()
* 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
Barış Soner Uşaklı 702be3f6de https://github.com/NodeBB/nodebb-theme-persona/issues/363
Barış Soner Uşaklı cf75c79611
Unread changes closes ()
* 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
Julian Lam 3522ad0e05 Revert "closes #6664"
This reverts commit f27a0d252c.
Julian Lam f27a0d252c closes
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Baris Usakli 52ab0a00d9 use the acp config for homePageTitle
Barış Soner Uşaklı 245e1a9159 closes
Barış Soner Uşaklı 5069892b97 pass correct uid to client side
-1 spider,0 guest, >0 regular user
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop
Barış Soner Uşaklı d16667a5fb closes
Barış Soner Uşaklı ac1f7eefe5 closes
Barış Soner Uşaklı ff6c6a54c1 make upload permissions global
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
Barış Soner Uşaklı 2b6410f201 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission
Barış Soner Uşaklı fb97ff2265 canChat should be false if chat is globally disabled
Peter Jaszkowiak be00a1c013 Support for using yarn instead of npm, include unread counts on cold load ()
* Close 

* Support for package managers besides npm

- Also fixes issue where upgrade-plugins wouldn't work
Baris Usakli 4a73621dca chat privilege
Barış Soner Uşaklı 41fbf7117d Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Barış Soner Uşaklı 056e4f0601
Barış Soner Uşaklı ce3e1f31ab fix for
Julian Lam 9cbf1597cd Merge remote-tracking branch 'origin/master' into develop
Baris Usakli 68bcfb2883 closes
Julian Lam cd6dcff38b Split up customJS into customHTML and customJS for better organisation ()
* WIP

* fixed customJS not actually working in footer

* Moving scripts to footer, 

* Added upgrade scripts for 
Barış Soner Uşaklı 0498832317 closes
Barış Soner Uşaklı 493cd16f39 closes
Baris Usakli dc110e2e3f closes
Baris Usakli 7538210b07
load correct timeago settings on cold load instead of after page load
Barış Soner Uşaklı b64ba40c67 closes
Barış Soner Uşaklı 08aaabd33c closes
Barış Soner Uşaklı 3a1eba2537 merge
psychobunny b3bd70235a refactor ban messaging; add ban duration to message; use bootbox instead of alert
Barış Soner Uşaklı 4900f21dd5 fix crash in header
barisusakli 33e8ecc1f4 closes
Peter Jaszkowiak 64bf542d17 Fix HTML `lang` attribute using the `defaultLang`
Themes need `lang="{function.localeToHTML, userLang, defaultLang}"` in
their header.tpl file
barisusakli 27b030a71c test for
barisusakli 992e3128bd closes
barisusakli e85e35cf0c closes
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files
Barış Soner Uşaklı 9079ee5b14 style