Barış Soner Uşaklı
f76c0e8952
refactor: shorter generateTopicClass
3 years ago
Julian Lam
935704a83c
feat: collect hook logs in order to reduce console noise, flush on ajaxify loadScript completion
3 years ago
Julian Lam
4b79dfd29d
feat: add support for PATCH method in api module
3 years ago
Barış Soner Uşaklı
e9a86cb912
fix: optional params
3 years ago
Barış Soner Uşaklı
e841d59a67
feat: add translateKeys
3 years ago
Barış Soner Uşaklı
70e613f814
fix : #10374 , use quick search in setting
3 years ago
Julian Lam
1c8d1d231e
fix(sorted-list): call loadItem hook on add/edit items as well as on item retrieval, refactor edit to call parse()
3 years ago
Julian Lam
914733e44b
fix: allow calls to api module without a defined payload
3 years ago
Julian Lam
92d613e420
feat(sorted-list): add new client-side hook `filter:settings.sorted-list.loadItem`
3 years ago
Julian Lam
fb4f89f391
fix(sorted-list): only call `.stripHTMLTags()` on string values
3 years ago
Julian Lam
1fa4134201
fix : #10329 , select elements in sorted-list not showing proper values
3 years ago
Barış Soner Uşaklı
3acd2ac850
refactor: wrap around if at end
...
remove debug log
dont focus input on mobile
3 years ago
Barış Soner Uşaklı
b517b376ac
feat: ability to go through your posts in a topic
...
because I am 👴 useful for large topics
3 years ago
Barış Soner Uşaklı
58b5781cea
feat: closes #10296
...
asset_base_url in nconf
keep assetBaseUrl in config for backwards compat
3 years ago
Barış Soner Uşaklı
cf5c096806
feat: add upload helper module for drag&drop, paste, closes #6388
...
fix chat input not getting focused
3 years ago
Barış Soner Uşaklı
93d18383ee
fix: don't crash if quick search doesn't return posts
3 years ago
Julian Lam
89b559a2a3
refactor: sorted-list .get() to be async fn
...
+ plugin hook `filter:settings.sorted-list.load` to allow modification of params prior to template parsing
3 years ago
Julian Lam
eeffb9d978
feat: `POST /api/v3/chats/:roomId`
3 years ago
Barış Soner Uşaklı
621c142f8e
refactor: alerts
3 years ago
Barış Soner Uşaklı
0a6eeb933e
lint: fix
3 years ago
Barış Soner Uşaklı
cba78aee16
refactor: use alerts.error/success
3 years ago
Barış Soner Uşaklı
4f4236101b
fix: wrong usage of is ACP
3 years ago
Barış Soner Uşaklı
dd02c49f43
refactor: use lang keys, fix typo
3 years ago
Barış Soner Uşaklı
1980feed46
refactor: use alerts module
3 years ago
Barış Soner Uşaklı
36aa60346b
breaking: remove action:category.loaded, use action:topics.loading
...
action:category.loaded will not fire on infintite load of topics
4 years ago
Barış Soner Uşaklı
242f8e95ad
fix : #10020 , /api/post/upload returns v3 style response
4 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
4 years ago
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
4 years ago
Barış Soner Uşaklı
4359e5c97c
refactor: remove tabs after declaration
4 years ago
Barış Soner Uşaklı
7f8783555b
Revert "perf: remove createUserTooltips"
...
This reverts commit facc10e40f
.
4 years ago
Baris Usakli
facc10e40f
perf: remove createUserTooltips
4 years ago
Barış Soner Uşaklı
96f13e4f5d
feat: #9992 , hooks.one
4 years ago
Barış Soner Uşaklı
0428912c6d
refactor: deprecate app.alert functions user alerts module directly
4 years ago
Barış Soner Uşaklı
8b4510cc70
refactor: deprecate app.logout
...
use logout module instead
move header related code out of app.js
4 years ago
Barış Soner Uşaklı
f352be63dc
refactor: deprecate app.openChat/newChat
...
use chat.openChat/newChat instead
4 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
4 years ago
Barış Soner Uşaklı
666fe209f0
refactor: move session messages
4 years ago
Barış Soner Uşaklı
518552543d
refactor: move warnings/messages out of app.js
4 years ago
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
4 years ago
Barış Soner Uşaklı
3d1cf168f2
revert: lazy load
4 years ago
Barış Soner Uşaklı
015727855f
fix: remove loading="lazy", fixes inf. scroll loaded images
4 years ago
Barış Soner Uşaklı
64192731a0
refactor: use search api for topic search
4 years ago
Barış Soner Uşaklı
8d316d1859
fix : #9934 , fix translator test
4 years ago
Barış Soner Uşaklı
f02fba29dc
refactor: add callback to loadNotifications
4 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
4 years ago
gasoved
227456fb17
fix: no global bootbox ( #9879 )
...
* fix: require bootbox (easy ones)
* fix: require bootbox (ugly ones)
* fix(eslint): a lengthy line
4 years ago
Julian Lam
3e69bcdf1f
fix : #9872 update app badge with notification count if applicable
4 years ago
Barış Soner Uşaklı
27e53b42f3
feat: use unread icon in mobile
4 years ago
Barış Soner Uşaklı
4404e81991
fix: switch inf. scroll to xhr ( #9854 )
...
this fixes infinitescroll when url has custom query parameters
also fixes infinitescroll for plugins like QnA
fixes infinitescroll on tags page
deprecate topics.loadMoreSortedTopics
deprecate topics.loadMoreFromSet
4 years ago
Julian Lam
be43cd2597
Topic Linkbacks ( #9825 )
...
* feat: WIP topic linkbacks, + failing tests
* test: don't accidentally comment out all of the post tests
* fix: rename to "backlinks"
* feat: more stub code, more failing tests
* feat: backend methods and passing tests for topic backlinks
* test: uncomment test/posts.js again
* fix: missing quotation mark in topic event helper
* fix: superfluous usage of Promise.all
* test: fix broken test -- used hardcoded (and incorrect) url
* test: parseInt shenanigans
4 years ago