Barış Soner Uşaklı
40230725c3
refactor: move header unread code to separate module
3 years ago
Barış Soner Uşaklı
cba78aee16
refactor: use alerts.error/success
3 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
3 years ago
Barış Soner Uşaklı
e368feef51
refactor: dont expost entire res._locals to client side
3 years ago
Barış Soner Uşaklı
231472354e
perf: create user tooltips on demand
3 years ago
Barış Soner Uşaklı
7f8783555b
Revert "perf: remove createUserTooltips"
...
This reverts commit facc10e40f
.
3 years ago
Baris Usakli
facc10e40f
perf: remove createUserTooltips
3 years ago
Barış Soner Uşaklı
41c3eb8298
refactor: shorter require
3 years ago
Barış Soner Uşaklı
0428912c6d
refactor: deprecate app.alert functions user alerts module directly
3 years ago
Barış Soner Uşaklı
8b4510cc70
refactor: deprecate app.logout
...
use logout module instead
move header related code out of app.js
3 years ago
Barış Soner Uşaklı
619034484f
refactor: simpler rejoin
...
remove pointless app.cacheBuster = null
3 years ago
Barış Soner Uşaklı
f352be63dc
refactor: deprecate app.openChat/newChat
...
use chat.openChat/newChat instead
3 years ago
Barış Soner Uşaklı
1a9b15989b
refactor: move search functions from app.js to search module
...
deprecate:
app.handleSearch, use search.init(options) instead
app.enableTopicSearch, use search.enableQuickSearch(options) instead
app.prepareSearch, use search.showAndFocusInput() instead
3 years ago
Barış Soner Uşaklı
666fe209f0
refactor: move session messages
3 years ago
Barış Soner Uşaklı
518552543d
refactor: move warnings/messages out of app.js
3 years ago
Barış Soner Uşaklı
2e623dd271
feat: #9967 , allow dropdowns in navigation
3 years ago
Barış Soner Uşaklı
8a88295d04
fix: don't highlight external nav items
3 years ago
Barış Soner Uşaklı
74aa12c95b
fix: hooks is sometimes undefined
3 years ago
Julian Lam
80ea12c1c1
feat: new ACP option `emailPrompt`
...
... which allows administrators to disable the client-side prompt to
encourage users to enter or confirm their email addresses
3 years ago
Julian Lam
5a328485dd
Revert "fix: only show email confirmation warning toast on pages that it applies"
...
This reverts commit 1bd1cc74a4
.
3 years ago
Barış Soner Uşaklı
64192731a0
refactor: use search api for topic search
3 years ago
Barış Soner Uşaklı
89f5e06bbf
fix: don't repeat search if on same page
3 years ago
Barış Soner Uşaklı
19ee717444
refactor: slowdown quick search
3 years ago
gasoved
b0a24d6dd5
refactor: var to const and let ( #9885 )
...
* refactor: var to const and let
* fix: missed global bootbox usage
* refactor: align with eslint expectations
3 years ago
gasoved
227456fb17
fix: no global bootbox ( #9879 )
...
* fix: require bootbox (easy ones)
* fix: require bootbox (ugly ones)
* fix(eslint): a lengthy line
3 years ago
Barış Soner Uşaklı
a7668a7fb1
refactor: use utils.debounce
...
fixes socket message spam in chat resize
3 years ago
Julian Lam
ca9bae3a1c
fix: move app.alert back into the conditionals
3 years ago
Julian Lam
1bd1cc74a4
fix: only show email confirmation warning toast on pages that it applies
3 years ago
Barış Soner Uşaklı
794bf01b21
feat: allow changing default search in
4 years ago
Anton Grigoryev
342503e07a
Feat: Client-side hooks - replace window.trigger ( #9679 )
...
* feat/clientside-hooks: replace window.trigger with hooks.fire
* feat(clientside-hooks): Move hooks require to the top
* fix: simplifying complex logical expression
* fix: client-side hook for translator - post-review fixes
4 years ago
Julian Lam
bbbacd86ab
feat: updated email confirmation alert to more closely reflect email usage, remembering dismissal
4 years ago
Julian Lam
58adb76246
feat: allow requirejs modules to be awaited
4 years ago
Julian Lam
69c96dd23c
refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation
4 years ago
Julian Lam
ec6d1e2321
fix : #9507 session reroll causes socket.io to become confused ( #9534 )
...
* fix : #9507 session reroll causes socket.io to become confused
* fix: added return
* fix: simpler logic for error handling
* fix: overly sensitive catch
4 years ago
gasoved
ce5fea2abd
fix: do not register SW for Safari until upstream fixes #9193
4 years ago
Barış Soner Uşaklı
f32ea1737a
fix : #9466 , don't call leaveRoom in maintenance mode
4 years ago
Barış Soner Uşaklı
8a4c361ece
fix : #9354 , don't close quicksearch results if mouse is down on them
4 years ago
Julian Lam
c265016944
fix: app.parseAndTranslate to always return promise
4 years ago
Julian Lam
b5a6a3149d
refactor: app.parseAndTranslate to return promise if no callback passed
4 years ago
Julian Lam
114e3a1e76
fix: use components for toggleNavbar instead
4 years ago
Peter Jaszkowiak
0d59fe3d2b
fix( #9315 ): api v3 post, put, del JSON
...
also allow `app.alertError` to be called without an argument
also fix `./nodebb build --dev` to actually build in dev mode
4 years ago
Barış Soner Uşaklı
fca17cb713
fix: move service worker back to relative_path/service-worker.js
4 years ago
Opliko
2bc74cffe6
fix : #9127 , scope service worker to relative_path for the forum ( #9239 )
...
Adds a `Service-Worker-Allowed` header on `assets/src/service-worker.js` URL and uses `scope` option during registration to ensure the service worker is correctly scoped to the entire forum and only the forum.
4 years ago
Julian Lam
1d77572117
feat(hooks): update action:ajaxify.end to use new hooks module
4 years ago
Barış Soner Uşaklı
3121215e87
fix: #9127 , use assets path
4 years ago
psychobunny
b8d4709eec
fix(pwa): #9127 service-worker.js missing on subfolder installs
4 years ago
Barış Soner Uşaklı
5080f35752
fix : #8991 , logout on password reset, dont verify email if password expired
...
dont allow same password on reset
4 years ago
Barış Soner Uşaklı
8adbf54ae6
fix: don't show topic search if no search privilege
4 years ago
Barış Soner Uşaklı
c8554b78b9
fix : #8968 , don't show topic search if search is not enabled
4 years ago
Julian Lam
d584516947
fix : #8943 , session mismatch modal thrown on login (race condition)
4 years ago