Barış Soner Uşaklı
bc00df3cd9
feat: closes #12902 , allow adding users as post editors
2024-11-06 11:36:53 -05:00
Barış Soner Uşaklı
dc97583815
fix: fix display post history
2023-12-19 21:32:05 -05:00
Barış Soner Uşaklı
f054a4f44d
fix: get cid from pid instead of passing in
2023-03-06 09:44:21 -05:00
Julian Lam
ece733eddc
feat: pass absolute url to post into post tools response, #10566
2022-06-10 13:54:42 -04: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ı
fb363957d1
refactor: tab rules
2021-11-18 16:42:18 -05:00
Barış Soner Uşaklı
52082e1296
feat: add resolve flag to post tools
2021-03-12 16:38:05 -05:00
Barış Soner Uşaklı
ed3d9dcbbf
feat: pass post object to filter:post.tools
2021-02-19 11:32:17 -05:00
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Barış Soner Uşaklı
a6afcfd531
feat: #8475 , allow flagging self posts
...
dont count flags towards self posts
dont allow flagging your own account
2020-11-17 21:28:32 -05:00
Barış Soner Uşaklı
272e73da53
refactor: post restore/delete/purge
2020-10-17 21:24:33 -04:00
Barış Soner Uşaklı
e78c498e84
fix: missing doTopicAction, fix wrong api params
2020-10-16 21:36:59 -04:00
Julian Lam
3ea1aa4780
refactor(writeapi): update route prefix to api/v3, default error option
2020-10-08 15:33:10 -04:00
Julian Lam
414169fdfa
feat(writeapi): post delete/restore/purge
2020-10-08 15:33:10 -04:00
Barış Soner Uşaklı
ed092bf6b5
refactor: remove posts.tools.purge
...
moved the check to socketPosts.purge
2020-10-06 14:03:59 -04:00
Julian Lam
7e7366be13
fix: remove toolsVisible in post tools' menu [breaking]
2020-09-11 11:11:58 -04:00
Julian Lam
f743f92088
refactor: socket posts delete/restore/purge so tid is not necessary ( #8607 )
...
* refactor: socket posts delete/restore/purge so tid is not necessary
* refactor: stop trying to be fancy
* fix: tests to not pass in tid into posts.deletePosts
* fix: some more unnecessary tid passing
2020-09-02 21:51:35 -04:00
Julian Lam
fcdbdf63a3
refactor: flags object in post tools
2020-07-30 09:53:16 -04:00
Julian Lam
c705e08a76
feat: allow direct link to flag from post tools, #8531
2020-07-29 16:55:18 -04:00
Barış Soner Uşaklı
0ae1eb4f6e
fix: missing await in SocketPosts.changeOwner
2020-01-24 14:28:27 -05:00
Opliko
740de034fa
#8115 - log post owner changes ( #8117 )
...
* log post owner changes
* log each post separately
* use map instad of a loop
2020-01-15 11:05:57 -05:00
Opliko
b9583ed838
Add privilege for accessing user information ( #7859 )
...
* Add view users info global privilege
* Show user ip only to global mods and admins
* fix missing comma
* Hide link for users without correct privilege
* move getting privilege information to getAllData
* Hide the link from Global Moderators as well
* Give Global Moderator view:users:info privilege
* Restrict ip in post menu to view:users:info
* add some trailing commas....
* Add privilege to categories test
* Add group privilege to categories test
* add upgrade script
* fix style for TravisCI
* more styling - change spaces to tabs
* some more styling fixes (hopefully final one)
* fix style for Travis CI
* hide ip in chat messages
* Don't show even hidden ips on user profile page
2019-09-17 14:02:52 -04:00
Barış Soner Uşaklı
a4d84a66dd
refactor: remove dupe code
2019-09-09 19:34:20 -04:00
Barış Soner Uşaklı
e93ef0d7fd
refactor: async/await socket.io/posts
2019-09-09 19:19:56 -04:00
Barış Soner Uşaklı
46639be32d
fix: add flag for change post owner
2019-07-13 23:51:18 -04:00
Barış Soner Uşaklı
53e1b349ae
Change post owner ( #7752 )
...
* feat: #7749 , allow array of keys for setObject
* feat: sortedSetRemoveBulk
* feat: test for bulk remove
* feat: #7083 , ability to change post ownership
* feat: #7083 , fix tid:<tid>:posters
* feat: #7083 , front end
* fix : #7752 , psql methods
* fix: add missing await
* fix: maybe psql
2019-07-12 14:06:09 -04:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
b033d6f115
add tid to post-purge event
2018-10-04 12:18:11 -04:00
Barış Soner Uşaklı
d1491feed9
add tid to topic rename and post delete restore events
2018-10-03 19:16:32 -04:00
Julian Lam
545e678e8a
fixes #6726
2018-08-30 15:08:01 -04:00
Barış Soner Uşaklı
908b77fe28
closes #6250
2018-06-03 15:44:48 -04:00
Julian Lam
c1fef4561b
showing history state in post tools load
2018-02-16 18:31:50 -05:00
Barış Soner Uşaklı
15e9bbac92
closes #6311
2018-02-15 14:52:49 -05:00
Barış Soner Uşaklı
71895f3736
closes #6079
2017-11-23 14:19:26 -05:00
Barış Soner Uşaklı
5344edc2a7
closes #5885
2017-08-18 20:08:19 -04:00
Barış Soner Uşaklı
7a6b685aa0
if the main and last post is purged, purge the topic as well
2017-04-26 14:19:48 -04:00
Peter Jaszkowiak
e382bca610
Fix tests
2017-04-15 04:22:28 -06:00
Peter Jaszkowiak
0fe10f5e86
Escape topic titles at the source, deduplicate
2017-04-15 01:38:42 -06:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
a1af59def3
add missing return, fix tests
2016-12-21 00:31:20 +03:00
barisusakli
988c485874
post tools test
2016-12-20 16:03:01 +03:00
barisusakli
eca850c4b1
nested reply improvements
...
on new post increase count and add nested reply if replies are expanded
on post purge reduce count and remove nested reply
2016-11-02 15:58:19 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
59d035376b
closes #5025
2016-10-12 14:46:04 +03:00
barisusakli
6f86621e30
closes #5096
2016-10-08 19:09:55 +03:00
barisusakli
56d325bd86
privilege fixes
2016-08-10 23:55:49 +03:00
Ben Lubar
26df552d55
Add edit, delete, and topics:delete permissions for users acting on their own posts
2016-08-06 21:23:09 -05:00