Barış Soner Uşaklı
6ad0472106
breaking: remove socket.emit('topics.post')
...
remove socket.emit('topics.search')
remove socket.emit('topics.getTopic')
2021-12-12 13:14:08 -05:00
Barış Soner Uşaklı
bd1cb2d4f9
breaking: remove socket.emit('posts.delete')
...
remove socket.emit('posts.restore')
remove socket.emit('posts.purge')
remove socket.emit('posts.deletePosts')
remove socket.emit('posts.purgePosts')
2021-12-09 19:58:40 -05:00
Barış Soner Uşaklı
236d4e8056
fix : #10068 , update data-index values after sort
2021-12-08 11:16:49 -05:00
Barış Soner Uşaklı
9af2335134
fix : #10068 , baseIndex should be read before sort update fix off by one error
2021-12-08 09:41:48 -05:00
Barış Soner Uşaklı
906dc5675e
fix: handle start=0 stop=0 for topics.getTopicPosts
...
add more tests
2021-12-06 16:36:30 -05:00
Barış Soner Uşaklı
621c142f8e
refactor: alerts
2021-12-06 16:24:09 -05:00
Barış Soner Uşaklı
0a6eeb933e
lint: fix
2021-12-06 15:25:10 -05:00
Barış Soner Uşaklı
cba78aee16
refactor: use alerts.error/success
2021-12-06 14:31:35 -05:00
Barış Soner Uşaklı
1980feed46
refactor: use alerts module
2021-12-06 12:45:35 -05:00
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
2021-11-27 14:58:03 -05:00
Baris Usakli
d378bf4c9c
fix: quote button staying on screen on slow computers
2021-11-26 12:57:13 -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ı
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ı
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ı
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ı
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ı
054685265d
fix: category load more btn visibility
2021-11-04 13:19:37 -04:00
Barış Soner Uşaklı
f728abda06
fix: remove tooltip on ajaxify
2021-11-03 10:52:03 -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ı
a7f235dbac
fix: topic events not rendered in infinitescroll
2021-10-31 10:51:16 -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
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ı
47df62e700
fix: clicking outside postContainer should close tooltip
2021-10-23 20:49:14 -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
Barış Soner Uşaklı
96f5312de9
fix : #9865 , don't display register messages after login
2021-10-05 10:41:26 -04:00
Barış Soner Uşaklı
a7668a7fb1
refactor: use utils.debounce
...
fixes socket message spam in chat resize
2021-10-04 10:58:32 -04:00
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
2021-10-02 13:35:58 -04:00
Barış Soner Uşaklı
9f0e55ad3e
fix : #9819 , show same time info for ban
2021-09-21 17:04:17 -04:00
Barış Soner Uşaklı
75ebe78619
fix: escape moderation note before adding to dom
2021-09-20 10:16:16 -04:00
Julian Lam
66eaae44a6
feat: add client-side static hook to fire immediately before any topic action (hint: delete action to stop default behaviour)
2021-09-17 10:37:22 -04:00
Barış Soner Uşaklı
6a55c02702
fix : #9790 , get baseIndex on update for infinitescroll
2021-09-11 18:07:01 -04:00
Barış Soner Uşaklı
2657804c1f
fix : #9790 , fix sorting of more than one page of pinned topics
2021-09-11 17:57:42 -04:00
Julian Lam
1bd1cc74a4
fix: only show email confirmation warning toast on pages that it applies
2021-09-01 10:51:04 -04:00
psychobunny
ae793b4a44
chore: found some hooks that don't play well docgen
2021-08-31 10:45:08 -04:00
Julian Lam
55693ec1b0
fix: lint
2021-08-25 10:24:02 -04:00