Barış Soner Uşaklı
b459592a4e
Merge branch 'master' of https://github.com/NodeBB/NodeBB
5 years ago
Barış Soner Uşaklı
f70d1648c6
feat: show more relevant snippets
5 years ago
Julian Lam
5a367ecbb4
fix: remove use of 'hidden' class in navbar toggling
5 years ago
Barış Soner Uşaklı
6349fa03e1
feat: more search changes
5 years ago
Barış Soner Uşaklı
4b38533b15
feat: more merge/search fixes
5 years ago
Barış Soner Uşaklı
5fd05dc942
feat: more search & merge fixes
5 years ago
Barış Soner Uşaklı
d92032dad1
fix: prevent logout form from submitting
5 years ago
Julian Lam
922d49be0b
fix(style): switch..case
5 years ago
Barış Soner Uşaklı
f12d448ef5
feat: quick search changes
5 years ago
Barış Soner Uşaklı
bb1a56f0fe
feat: move quick search into search module
...
so it can be used directly
5 years ago
Barış Soner Uşaklı
47d73a2ab4
fix: move checks into timeout
5 years ago
Barış Soner Uşaklı
84c20f919b
fix: don't explode if server sends `checkSession`
5 years ago
Barış Soner Uşaklı
5781a2dc65
feat: fix session mismatch errors by clearing cookie on logout ( #8338 )
...
* feat: fix session mismatch errors by clearing cookie on logout
* feat: remove app.upateHeader
ported from 2.0
* feat: handle if user doesn't click button and just refreshes page
5 years ago
Barış Soner Uşaklı
d6c2764fe7
fix: don't trigger quick search if val doesn't change
5 years ago
Barış Soner Uşaklı
6f78113ee3
fix: prevent duplicate search triggers
...
if app.handleSearch is called from a plugin in action:ajaxify.end events are fired multiple time
5 years ago
Barış Soner Uşaklı
ada45a34d5
fix: search post snipets incase content is plain text
5 years ago
Barış Soner Uşaklı
40b5cbab2c
refactor: remove console.log
5 years ago
Barış Soner Uşaklı
765b8156d5
feat: parse quick search tpl even if no results
...
allows showing "no results found" in theme
5 years ago
psychobunny
275e837bcf
fix: jquery xhtml violations
5 years ago
Barış Soner Uşaklı
c8fb7f9246
fix: escape register query param
5 years ago
Barış Soner Uşaklı
4b8897d9bc
fix: lint
5 years ago
Aziz Khoury
beea56b3c6
ie11 doesnt support Object.values ( #7993 )
5 years ago
Barış Soner Uşaklı
f31d30cd02
feat: add client side hook for quick search&normal search
6 years ago
Julian Lam
289dada5f7
fix(deps): update to eslint@6
6 years ago
Barış Soner Uşaklı
25ea634787
fix : #7659 add option to change cookie link url
6 years ago
Barış Soner Uşaklı
e65ddc98b5
fix: https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/53
6 years ago
Julian Lam
a41769e61c
feat: update meta tags on ajaxify ( #7580 ), fixes #7544
...
* feat: wip -- refresh meta tags on ajaxify
* feat: wrapped up meta tags update on ajaxify feature
* fix: removed commented-out line
* fix: removed another commented-out line
6 years ago
Barış Soner Uşaklı
09681e6ccf
fix : #7562
6 years ago
Barış Soner Uşaklı
e906bea470
fix: escape search snippet closes #7506
6 years ago
Andrew Rodrigues
78e0b9834c
fix : #7485
6 years ago
Andrew Rodrigues
c37b2f2ed3
fix : #7378
6 years ago
Barış Soner Uşaklı
03305db845
fix : #7395
6 years ago
Barış Soner Uşaklı
fc830c0f41
feat: lower search timeout
6 years ago
Barış Soner Uşaklı
8a0e1280d6
feat: quick search
6 years ago
Baris Usakli
d2b8396764
feat: make topic search a function
6 years ago
Barış Soner Uşaklı
c01d43e01d
feat: quick search
6 years ago
Barış Soner Uşaklı
f6cfbbb520
fix: don't crash if body doesn't have `skin-`
6 years ago
Julian Lam
63061ffd37
feat: new hook filter:user.logout
...
- used for setting "next" for post logout redirection
6 years ago
Julian Lam
5ee173c2f6
fix : #7276 improper request for client-noskin.css
6 years ago
Julian Lam
3859d417ce
fix : #7236 , header search stops working after header update
6 years ago
Julian Lam
954af0f0d2
fix : #7176 , FUOC on app.reskin()
6 years ago
Julian Lam
8e9de540b4
fix : #7136 socket.disconnect() now called on invalid session
6 years ago
Julian Lam
d81e0a5f5b
fix : #7146 Better RTL handling on (de-)authentication
...
- RTL is applied (or unapplied) on login and logout depending on
user language/guest-detected language.
- config is automatically saved into res.locals.config whenever
loadConfig is called
- On login/logout, buildHeader is called instead of getting config
- On logout, req.uid is deleted instead of set to 0
6 years ago
Julian Lam
900f0a0b78
fix : #7118 , invoking autoLocale middleware on logout
...
Also:
- firing client-side hook on header update
- updating bootbox locale on header update
6 years ago
Andrew Rodrigues
7fb29f4272
fix: closes #6784 ( #7137 )
...
* fix: closes #6784
* #6784 also fix homepage + subfolder installs
* #6784 fixes suburls as well (ex. /tags/x and /groups/y)
* #6784 more elegant solution @pitaj
and the last time I touch this function, lol
* #6784 regis, final answer
I lied in that last commit
6 years ago
Barış Soner Uşaklı
f103390aa5
fix : #7103
...
update counter when user navigates to /unread
fix new topic alert on /unread
moved unread code from footer to unread
6 years ago
Barış Soner Uşaklı
74d0e88df3
fix: don't explode if there is no css el
6 years ago
Julian Lam
5f3d1c76c8
fix : #7038 , autoLocale logic not playing nicely with no-refresh auths ( #7059 )
...
* fix : #7038 , autoLocale logic not playing nicely with no-refresh auths
- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
webserver.js into new middleware method.
* style: tests, use lodash
* fix: timeago strings not switching languages on login or out
6 years ago
Julian Lam
6df5668e64
fix : #7063 , logout code should do hard page nav to / or data.next
6 years ago
Julian Lam
28a1fa780a
fix: skin not changing after login or logout, #7038
6 years ago