Julian Lam
3c7f79cb8a
fix: use console.info instead of console.log for sw registration
4 years ago
Barış Soner Uşaklı
c33dc90562
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
54737d3076
feat: #8233 , search sub categories
4 years ago
Julian Lam
8437130ec2
fix: early button/anchor clicks do nothing
...
This reverts commit a395324b52
, and
fixes the issue where the ACP became unusable because of the earlier
variant of this code.
Thanks @psychobunny for spotting.
4 years ago
Barış Soner Uşaklı
a395324b52
Revert "fix: early button/anchor clicks do nothing"
...
This reverts commit 966d3f7654
.
4 years ago
Julian Lam
966d3f7654
fix: early button/anchor clicks do nothing
...
This solves a small UX issue where clicking on a button (or anchor
that is not meant to be ajaxified) before ajaxify.end is called
leads to nothing happening because the appropriate click handler
has not been added.
This code will intercept premature clicks, wait until ajaxify.end
is called, and then re-send the click.
4 years ago
psychobunny
aa268d5eeb
feat: register service worker, #8126
4 years ago
Barış Soner Uşaklı
f2f3ba49b6
feat: hightlight matches in quick search
...
fix title hightlights
4 years ago
Barış Soner Uşaklı
d38c872259
feat: add loading indicator
4 years ago
psychobunny
82ab6cd3b1
fix: tooltip placement on navbar search
4 years ago
psychobunny
683c01b0d3
fix: rogue tooltip on navbar profile icon
4 years ago
Barış Soner Uşaklı
02a48e1c64
fix: change user tooltip container to content
4 years ago
Barış Soner Uşaklı
047c414841
fix: add user tooltips to body
...
so they don't get cutoff in containers with overflow:hidden
4 years ago
Barış Soner Uşaklı
42298fe659
fix: clear old value on focus
...
hide results if input lost focus during search
4 years ago
Barış Soner Uşaklı
5002e0f62c
feat: refactor app.js
4 years ago
Barış Soner Uşaklı
630bac2aa5
feat: remove global window.templates
4 years ago
Barış Soner Uşaklı
94da9fe55e
feat: add partials/footer/js.tpl
...
add ajaxify.coldLoad which gets called from partials/footer/js.tpl
4 years ago
Julian Lam
589216e720
fix: multiple alerts in the same millisecond overwrite each other
4 years ago
Barış Soner Uşaklı
3f01f4a2b8
Revert "feat: load timeago strings client-side"
...
This reverts commit 558a2d739c
.
5 years ago
Julian Lam
558a2d739c
feat: load timeago strings client-side
...
9adaccd036
introduced the ability to
configure an assetBaseUrl, but the timeago strings were still
calling a hardcoded value as it was handled server-side. There's
no need for the strings to be loaded until timeago is initialised.
5 years ago
Barış Soner Uşaklı
ec05783507
feat: remove js-enabled.css
5 years ago
Julian Lam
2286ee2a61
fix: invalid session error modal during logout
...
A brief flash can be seen, but this is exacerbated by slow
connections and/or slow server response.
5 years ago
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
5 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