Barış Soner Uşaklı
242f8e95ad
fix : #10020 , /api/post/upload returns v3 style response
2021-11-21 19:45:04 -05:00
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
2021-11-18 16:42:18 -05:00
Barış Soner Uşaklı
d5bfd51267
fix : #10010 , handle reverse sorting for topic events
...
dont add events to dom if sort is most votes
if sorting is reverse add new events after the main post or at the top instead of bottom
2021-11-17 23:34:01 -05:00
Barış Soner Uşaklı
e368feef51
refactor: dont expost entire res._locals to client side
2021-11-17 22:11:24 -05:00
Barış Soner Uşaklı
4359e5c97c
refactor: remove tabs after declaration
2021-11-16 16:24:17 -05:00
Barış Soner Uşaklı
258f368e32
refactor: add filter:topic.getPosts
...
this hook only fires when loading the posts of a topic cold load + infinite scroll
do not remove posts if they have index =-1
use topics.getTopicPosts instead of getMainPostAndReplies
2021-11-15 18:08:09 -05:00
Barış Soner Uşaklı
231472354e
perf: create user tooltips on demand
2021-11-13 20:25:09 -05:00
Barış Soner Uşaklı
7f8783555b
Revert "perf: remove createUserTooltips"
...
This reverts commit facc10e40f .
2021-11-13 20:16:24 -05:00
Baris Usakli
facc10e40f
perf: remove createUserTooltips
2021-11-12 11:18:44 -05:00
Barış Soner Uşaklı
41c3eb8298
refactor: shorter require
2021-11-09 19:38:35 -05:00
Barış Soner Uşaklı
96f13e4f5d
feat: #9992 , hooks.one
2021-11-09 19:29:29 -05:00
Barış Soner Uşaklı
0428912c6d
refactor: deprecate app.alert functions user alerts module directly
2021-11-09 13:34:59 -05:00
Barış Soner Uşaklı
8b4510cc70
refactor: deprecate app.logout
...
use logout module instead
move header related code out of app.js
2021-11-08 23:28:26 -05:00
Barış Soner Uşaklı
619034484f
refactor: simpler rejoin
...
remove pointless app.cacheBuster = null
2021-11-08 22:48:02 -05:00
Barış Soner Uşaklı
f352be63dc
refactor: deprecate app.openChat/newChat
...
use chat.openChat/newChat instead
2021-11-08 22:20:41 -05:00
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
2021-11-08 21:31:49 -05:00
Barış Soner Uşaklı
666fe209f0
refactor: move session messages
2021-11-08 21:00:37 -05:00
Barış Soner Uşaklı
3d2398ac4c
test: lint
2021-11-08 20:48:32 -05:00
Barış Soner Uşaklı
518552543d
refactor: move warnings/messages out of app.js
2021-11-08 20:40:41 -05:00
Barış Soner Uşaklı
41e0240010
fix: dont show previews on mobile
2021-11-05 13:20:13 -04:00
Barış Soner Uşaklı
c1cc35a949
refactor: display errors from category drag/drop
2021-11-04 14:23:16 -04:00
Barış Soner Uşaklı
054685265d
fix: category load more btn visibility
2021-11-04 13:19:37 -04:00
Barış Soner Uşaklı
2e623dd271
feat: #9967 , allow dropdowns in navigation
2021-11-03 16:01:32 -04:00
Barış Soner Uşaklı
f728abda06
fix: remove tooltip on ajaxify
2021-11-03 10:52:03 -04:00
Barış Soner Uşaklı
8a88295d04
fix: don't highlight external nav items
2021-11-02 20:05:17 -04:00
Barış Soner Uşaklı
9fbb3b11ef
perf: only load posts once
2021-11-01 18:22:39 -04:00
Barış Soner Uşaklı
5a0efd2d42
fix: don't use # for previews
2021-11-01 15:30:36 -04:00
Barış Soner Uşaklı
8c67031609
feat: show posts previews if enabled on mouse over
2021-11-01 15:09:05 -04:00
Barış Soner Uşaklı
89399c0ed5
fix : #9954 , get next post timestamp
...
fixes topic events being inserted in after first page but at the wrong spot
2021-10-31 15:09:33 -04:00
Barış Soner Uşaklı
a7f235dbac
fix: topic events not rendered in infinitescroll
2021-10-31 10:51:16 -04:00
Barış Soner Uşaklı
74aa12c95b
fix: hooks is sometimes undefined
2021-10-28 21:33:21 -04:00
Barış Soner Uşaklı
e8c17feedb
refactor: use utils.debounce
2021-10-28 12:00:51 -04:00
Barış Soner Uşaklı
50b2ebf844
fix: remove unused code
2021-10-28 09:46:21 -04:00
Barış Soner Uşaklı
3d1cf168f2
revert: lazy load
2021-10-27 09:52:46 -04:00
Barış Soner Uşaklı
015727855f
fix: remove loading="lazy", fixes inf. scroll loaded images
2021-10-27 09:39:48 -04:00
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
2021-10-26 14:28:42 -04:00
Julian Lam
5a328485dd
Revert "fix: only show email confirmation warning toast on pages that it applies"
...
This reverts commit 1bd1cc74a4 .
2021-10-26 14:28:42 -04:00
Barış Soner Uşaklı
64192731a0
refactor: use search api for topic search
2021-10-25 23:12:34 -04:00
Barış Soner Uşaklı
89f5e06bbf
fix: don't repeat search if on same page
2021-10-25 22:03:59 -04:00
Barış Soner Uşaklı
19ee717444
refactor: slowdown quick search
2021-10-25 21:22:44 -04:00
Barış Soner Uşaklı
f4cf482a87
feat: show popular searches
2021-10-25 16:26:50 -04:00
Barış Soner Uşaklı
8d316d1859
fix : #9934 , fix translator test
2021-10-25 13:59:43 -04:00
Barış Soner Uşaklı
47df62e700
fix: clicking outside postContainer should close tooltip
2021-10-23 20:49:14 -04:00
Barış Soner Uşaklı
f02fba29dc
refactor: add callback to loadNotifications
2021-10-23 14:56:17 -04:00
Barış Soner Uşaklı
fec7ebed04
fix: tooltip
2021-10-20 20:31:27 -04:00
Barış Soner Uşaklı
66fca4e066
feat: quote tooltip
2021-10-20 19:58:25 -04:00
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
2021-10-12 10:26:18 -04:00
gasoved
227456fb17
fix: no global bootbox ( #9879 )
...
* fix: require bootbox (easy ones)
* fix: require bootbox (ugly ones)
* fix(eslint): a lengthy line
2021-10-08 15:25:36 -04:00
Julian Lam
3e69bcdf1f
fix : #9872 update app badge with notification count if applicable
2021-10-08 11:32:54 -04:00
Barış Soner Uşaklı
176ed9199b
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2021-10-07 15:20:47 -04:00