8384 Commits (45e8a4d588495fd581f7d8659e31f65cc369c839)

Author SHA1 Message Date
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
Peter Jaszkowiak 64a457a441
fix(bug): #8611, custom route logic corrected (#8612) 4 years ago
Barış Soner Uşaklı c495aacc3e Merge branch 'master' of https://github.com/NodeBB/NodeBB 4 years ago
Barış Soner Uşaklı 57f67e2b91 fix: don't toggle elements if there is no inputEl 4 years ago
Misty (Bot) b7db0f200e Latest translations and fallbacks 4 years ago
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
4 years ago
Barış Soner Uşaklı 09de364e93 feat: add client side action:flag.create 4 years ago
Misty (Bot) 2a4f4f5aec Latest translations and fallbacks 4 years ago
Misty (Bot) b201bb2111 Latest translations and fallbacks 4 years ago
Julian Lam 0c20351702 feat: additional sorting options for flags
+ upvotes, +downvotes, +replies
4 years ago
Misty (Bot) 02a5fe9c68 Latest translations and fallbacks 4 years ago
Julian Lam 694f4b2bcf fix: accept/reject in post-queue instead of accept/delete 4 years ago
Julian Lam b587127560 fix: new openapi def for replies addition 4 years ago
Julian Lam e0c7d65a92 Revert "feat: add reply count to getPostSummaryByPids"
This reverts commit de0f4aadb8.
4 years ago
Julian Lam de0f4aadb8 feat: add reply count to getPostSummaryByPids 4 years ago
Misty (Bot) c25af08da0 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 9f9164a9be fix: #8582 4 years ago
Julian Lam fb3b4a0293 fix: debug logging 🐶 4 years ago
Julian Lam 56101ae5ae fix: ip-blacklist not working after #8580 4 years ago
Julian Lam c681b4b2e0 fix: ip-blacklist not working after #8580 4 years ago
Julian Lam dc5bd7601f fix: post-queue not working after #8580 4 years ago
Julian Lam a93e19559d fix: #8411 missing language sources for ip-blacklist/post-queue 4 years ago
Julian Lam 4dc6e64a94 refactor: ip-blacklist and post-queue language files
closes #8411
4 years ago
Kyle Farris 2b785628e7
fix: removed invalid options for the sendmail transport (#8576)
* Removed invalid options for the sendmail transport that were causing Nodemailer to return the SMTPTransport instead.

* Removed options for rate limiting in admin email interface. Added new option for toggling whether to use pooled connections.
4 years ago
Julian Lam b6b94a56dc refactor: moved ip-blacklist and post-queue styles/tpls to themes
This is a breaking change!, re: #8580
4 years ago
Misty (Bot) 073c4d7886 Latest translations and fallbacks 4 years ago
Julian Lam abb5e81d0d feat: allow undo of topic move 4 years ago
Julian Lam cd8e7963de feat: added alert.timeoutfn
Also, various alert methods now pass two arguments,
alert and params
4 years ago
Julian Lam bacee6b467 fix: missing localisation for topic move error 4 years ago
Julian Lam 5d60dce379 fix: select all checkbox does not re-enable bulk actions button 4 years ago
Misty (Bot) 5f15afff39 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 4f7cfd5372 fix: openapi spec 4 years ago
Barış Soner Uşaklı c4ad14cb68 fix: api spec 4 years ago
Misty (Bot) 074d7dfd86 Latest translations and fallbacks 4 years ago
Julian Lam 9cbe9389f5 fix: use promises in privilege save
... instead of jQuery Deferreds
4 years ago
Julian Lam 7a5daff4c9 fix: overzealous click handler on flag list row 4 years ago
Misty (Bot) f425cecded Latest translations and fallbacks 4 years ago
Julian Lam 9608b44f21 fix: +comment, -debug log 4 years ago
Julian Lam a3a2279358 feat: logic for bulk actions in flags list, #8571 4 years ago
Julian Lam 589216e720 fix: multiple alerts in the same millisecond overwrite each other 4 years ago
Julian Lam 2a948d32a4 Revert "test(openapi): missing commonprops addition"
This reverts commit 0dc55bbc80.
4 years ago
Julian Lam 0dc55bbc80 test(openapi): missing commonprops addition 4 years ago
Julian Lam b2271eb64f fix: client-side error in flags/detail
... as the filter form is no longer present in the details page
4 years ago
Misty (Bot) bb7bd1b421 Latest translations and fallbacks 4 years ago
Misty (Bot) 07ebc81a2f Latest translations and fallbacks 4 years ago
Julian Lam d935f03636 fix(openapi): tests 4 years ago
Julian Lam 334be11382 fix: no-widgets messaging in ACP + copy 4 years ago
Julian Lam 346db0d84d feat: flags list sorting, closes #8569 4 years ago
Misty (Bot) 1101fa3394 Latest translations and fallbacks 4 years ago
Misty (Bot) 6bb60b0965 Latest translations and fallbacks 4 years ago
Barış Soner Uşaklı 35a538ec2a feat: allow adding multiple users to group 4 years ago
Misty (Bot) 7f57d39cd5 Latest translations and fallbacks 4 years ago
Misty (Bot) 2b930c894a Latest translations and fallbacks 4 years ago
Misty (Bot) ea53c95d67 Latest translations and fallbacks 4 years ago
Misty (Bot) 2aa36b649a Latest translations and fallbacks 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ı 79e847d424 fix: #8558, only navigate if user is in same topic 5 years ago
Julian Lam 8ff09630b6 fix(openapi): new api definition 5 years ago
Julian Lam 9adaccd036 feat: +assetBaseUrl, -l10BaseUrl, -requireBaseUrl
Additional base URLs were necessary for benchpress and translator,
and in order to not clutter the API response with needless one-
time use base URLs, I decided to use a single base that is used
by all of the services, assetBaseUrl.
5 years ago
Misty (Bot) 75ef4bbe34 Latest translations and fallbacks 5 years ago
Julian Lam d6297b28e9 fix: tests 5 years ago
Misty (Bot) 8a6bc10eb1 Latest translations and fallbacks 5 years ago
Julian Lam def16f9e97 feat: introduce overridable l10nBaseUrl config value 5 years ago
Misty (Bot) 9846498df7 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı dfabd0a3fe feat: remove administrator property from public routes 5 years ago
Barış Soner Uşaklı 4216c277d5 feat: focus username when modal is shown 5 years ago
Misty (Bot) 3463fc51c6 Latest translations and fallbacks 5 years ago
Julian Lam 2ee6248316 refactor: for codeclimate 5 years ago
Julian Lam a7071bb808 fix: map instead of forEach in privileges save 5 years ago
Julian Lam a716a5529c
feat: more discrete commit-on-save instead of commit-on-change w/ confirm modals (#8541)
* feat: privileges save button, #8537, WIP

* fix: disable firefox autocomplete on privilege form fields

* feat: closes #8537 privilege changes commit on save

- new language strings for confirmation and success modals/toasts
- indeterminate privilege handling (/cc @psychobunny)
- added new discard button
- both discard and save buttons now have confirmation dialogs

* fix(tests): remove duplicate template helper test

* fix(tests): broken template helper test

* feat: confirm dialogs for all privilege copy actions

Also, ability to add user to a privilege table without needing
to refresh the privilege table.

* feat: group row addition w/o table refresh

breaking: helpers.getUserPrivileges and helpers.getGroupPrivileges
no longer make socket calls to the following hooks:

- filter:privileges.list, filter:privileges.admin.list,
  filter:privileges.global.list, filter:privileges.groups.list,
  filter:privileges.admin.groups.list,
  filter:privileges.gloval.groups.list

The filters are still called, but done before the helper method
is called, and the results are passed in instead. This change
should only affect you if you directly call the helper methods,
otherwise the change is transparent.

* fix: stale ajaxify data on privilege category switch

* fix: implicit privileges not showing for user privs

* fix: groups, not group, also fix tests

* fix(tests): again

* fix: wrong tpl rendered when adding group to global priv table
5 years ago
Misty (Bot) 8da742e065 Latest translations and fallbacks 5 years ago
Misty (Bot) 903c407171 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı e7a502e0aa feat: add ability to search groups in group details page 5 years ago
Barış Soner Uşaklı 519e665939 fix: #8538, go to first unread instead of last read 5 years ago
Misty (Bot) 029f477434 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 9e80a9efdd fix: #8534, dont show modal on search 5 years ago
Barış Soner Uşaklı fb7bb8d400 feat: use category selector in category page
fix privilege shortcuts in group page after search
5 years ago
Barış Soner Uşaklı 560f3eb173 feat: css fixes 5 years ago
Barış Soner Uşaklı 91411cc47c feat: add privileges shortcut to groups list
fix issues with escape group names
5 years ago
Misty (Bot) caa78cc1f6 Latest translations and fallbacks 5 years ago
Julian Lam c705e08a76 feat: allow direct link to flag from post tools, #8531 5 years ago
Barış Soner Uşaklı 8415d2f014 fix: api test 5 years ago
Barış Soner Uşaklı c4829fd8c2 feat: allow changing requirejs base url 5 years ago
Barış Soner Uşaklı bbc7737e14 feat: ability to clear cache from acp 5 years ago
Barış Soner Uşaklı 69fb15276c fix: tests 5 years ago
Barış Soner Uşaklı 8d8117ffa1 feat: reduce amount of data loaded on acp admin page
get rid of socket call and use ajaxify.data.categories
5 years ago
Misty (Bot) d580cf01c3 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı f48d155670 fix: tests 5 years ago
Barış Soner Uşaklı fd4c3cda42 fix: #4695, remove new notif alert 5 years ago
Julian Lam 8473e165a6 fix: too small sortable handle for ACP>Manage>Categories
The handle was initially just the icon, but now it is the icon
and the category label itself.
5 years ago
Misty (Bot) 93d1ceccdd Latest translations and fallbacks 5 years ago
Misty (Bot) 43e9c25d26 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı db07dd8565 fix: less fixes for category dropdown 5 years ago
Barış Soner Uşaklı 24535a62e7 feat: make category tools in acp a dropdown
add view category, view privileges into dropdown
5 years ago
Barış Soner Uşaklı 609e37a67b feat: remove deprecated utils.walk 5 years ago
Julian Lam 55b0e902fb feat: consolidation of flags to reduce flagspam, #8510
Squashed commit of the following:

commit c6d09396208a10c244d7b3d22ffd2d7dd1274d3a
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 13:41:32 2020 -0400

    fix: more tests

commit 32f9af2a87a81fa62ecca01e71d6f0d5b9d37ba1
Merge: e50907535 4eae927d1
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 10:53:04 2020 -0400

    Merge remote-tracking branch 'origin/master' into singleton-flags

commit e50907535109dbdbe8f15c3e2fcdf22d90b1332a
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 10:52:46 2020 -0400

    fix: controllers-admin test

commit fd5af99e303de48a80b0ccc166eee19175cf232b
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 17:26:55 2020 -0400

    fix(tests): dummy commit to trigger travisCI

commit c452a6ffcfaef91403de084c4ae16795cb23c60e
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 17:05:09 2020 -0400

    fix(openapi): openapi spec changes

commit 8089a74e89128141ab1e6f8ff83447114b3b846b
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:48:00 2020 -0400

    fix: reversing the order of reports for display purposes

commit a099892b377333561c72f1ad5b6b20ddb4ce8a96
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:45:44 2020 -0400

    refactor: run all flag creation calls in a single batch

commit b24999682f9d5a33a08a049749c1f0eb4f00facc
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:08:23 2020 -0400

    feat: handling multiple reporters per flag, #8510

commit 08c75c020021ada754bf0e39eae77d631b01dee5
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Jul 16 20:53:18 2020 -0400

    feat: upgrade script for #8510
5 years ago
psychobunny 4c90fac412 fix: cursor for category select 5 years ago
psychobunny bc26883aed refactor: setting codeclimate to A 5 years ago
psychobunny 8769e28b28 fix: api docs for admin/manage/groups/x 5 years ago
psychobunny a6ae69737b Merge branch 'master' of https://github.com/NodeBB/NodeBB 5 years ago
psychobunny 10e4ae629c feat: highlight privs row if group is added / navigating from group page 5 years ago
psychobunny 53f6139b8c feat: prevent navigation away from groups page if changes are unsaved 5 years ago
psychobunny 2c83278f97 feat: quick access dropdown on groups page to access privileges page 5 years ago
Barış Soner Uşaklı 42af4b572b fix: api tests 5 years ago
Barış Soner Uşaklı 844f2b4ed0 feat: #8524, allow editing category of queued topic 5 years ago
Barış Soner Uşaklı ec05783507 feat: remove js-enabled.css 5 years ago
Barış Soner Uşaklı a46adb3fd5 fix: more tests 5 years ago
Barış Soner Uşaklı 67ca5e3256 fix: tests 5 years ago
Barış Soner Uşaklı 23a9a334cd feat: short more info 5 years ago
Barış Soner Uşaklı 2485a55092 feat: #8521, allow editing title before posting from queue 5 years ago
Barış Soner Uşaklı 8ddc8dd10f refactor: make msg pretty 5 years ago
Barış Soner Uşaklı 764969ab29 feat: show language when key isn't found 5 years ago
Barış Soner Uşaklı 1e7397b1b8 feat: allow searching categories in ACP 5 years ago
Barış Soner Uşaklı 320008cd49 feat: #8509, don't scroll chat to bottom if user scrolled up 5 years ago
psychobunny 06143ca7d7 feat: added quick link to edit privileges on the category edit page 5 years ago
Julian Lam 1e14af4503 fix: composer textarea placeholder l10n /cc @pitaj 5 years ago
Julian Lam 9fb9185fa7 feat: hide some filters behind 'more filters' button 5 years ago
Julian Lam d52d7bdb10 feat: collapsible daily flags graph 5 years ago
Julian Lam e3e55f25d0 refactor: flag sanity checks, +feat: flag limits
- Added new config flag:limitPerTarget, to disallow flags after an item has
  already been flagged x times (default 0, or infinite)
- New zset flags:byTarget, score is the number of times a flag has been made
  against that item
- "already-flagged" translation key removed, now "post-already-flagged" or
  "user-already-flagged" -- this fixed bug where flagging a user you've already
  flagged would tell you you've already flagged this post already.
- Refactored Flags.canFlag to throw errors only, instead of returning boolean
- Updated ACP form inputs for reputation settings page to be more bootstrappy
- +1 upgrade script
5 years ago
Julian Lam 1441720962 feat: logic for flag note editing, #8499 5 years ago
Julian Lam f85a45c722 feat: logic for flag note deletion, #8499 5 years ago
Barış Soner Uşaklı 5e984d10f0 fix: #8500 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
Julian Lam 3379d65f36 feat: fire action:flag.showModal on flag modal appearance 5 years ago
Barış Soner Uşaklı 00d39fb32c feat: #8460, export groups members as csv 5 years ago
Barış Soner Uşaklı 3dcf538773 feat: #8023, allow wildcard search for uid/email 5 years ago
Barış Soner Uşaklı 46a6686300 fix: category search in selector 5 years ago
Barış Soner Uşaklı c513b88dff feat: #8427, daily downvote limits 5 years ago
Barış Soner Uşaklı 4adbf87c6c feat: warn user if whitelisted tags are less than minTags 5 years ago
Barış Soner Uşaklı 658dd03b03
feat: add tools to recent/unread (#8477)
* feat: add tools to recent/unread

* fix: open api spec

* fix: more api spec
5 years ago
Julian Lam 4f51838df8 feat: fire new hooks on chat message editing 5 years ago
Barış Soner Uşaklı 9eb748b985 fix: #8467, fix url to merged topic in subfolder installs 5 years ago
Barış Soner Uşaklı 5f1865c0b7 fix: openapi 5 years ago
Barış Soner Uşaklı 65c0adc720 fix: openapi 5 years ago
Barış Soner Uşaklı ac6b571ed5 fix: dont allow searching by email/ip if not privileged 5 years ago
Julian Lam c468942f14 fix(openapi): tests 5 years ago
Julian Lam f3441fce4f fix: admin privileges client-side regression 5 years ago
Julian Lam da29b947bf feat: add js-enabled.css to list of preloaded css files 5 years ago
Barış Soner Uşaklı bd228d5ee7 feat: fix blocksCount not being returned on user profile
add hook action:user.blocks.toggle
5 years ago
Misty (Bot) fe908cc022 Latest translations and fallbacks 5 years ago
Julian Lam 6cb31791ff feat: polish for user blocks UX 5 years ago
Misty (Bot) a1a5424047 Latest translations and fallbacks 5 years ago
Julian Lam 6931f29d53 feat: allow flagging of user acounts from post tools menu 5 years ago
Misty (Bot) 1b1e9b6725 Latest translations and fallbacks 5 years ago
Misty (Bot) e66b526ca0 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı e09ab3dc19 feat: closes #8440, allow configuring max topic count 5 years ago
Barış Soner Uşaklı 2355d9d5dd fix: escape navigation item fields, theme:id, category fields 5 years ago
Misty (Bot) c0857f6390 Latest translations and fallbacks 5 years ago
Misty (Bot) 9b20d0ce20 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı e53a18f219 fix: #8437, #8433 5 years ago
Barış Soner Uşaklı bffb830d87 feat: add missing translation key 5 years ago
Barış Soner Uşaklı c718b7293e feat: #3783, min/max tags per category 5 years ago
Barış Soner Uşaklı ed4b5caf2c fix: copy settings showing empty category selection 5 years ago
Barış Soner Uşaklı 0482fb2998 feat: use tags partial instead of post_bar 5 years ago
Barış Soner Uşaklı 8482a54a68 fix: don't init autocomplete if user doesn't have privs 5 years ago
Barış Soner Uşaklı 4f6b6c5631 feat: hide elements if search element is a direct child of dropdown
this fixes themes if they put the search input inside the dropdown
5 years ago
Misty (Bot) d50f7c7dfa Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı f03ca0867b fix: tests 5 years ago
Barış Soner Uşaklı 8383992dcc feat: move export functions into child processes 5 years ago
Barış Soner Uşaklı 48b41debe6
fix: vulnerability in cover and admin uploads (#8419)
* fix: vulnerability in cover and admin uploads

* fix: remove old test

* fix: update tests
5 years ago
Misty (Bot) 76c577fa3c Latest translations and fallbacks 5 years ago
Misty (Bot) 55f8f99bcd Latest translations and fallbacks 5 years ago
Julian Lam 040e6a9a4c fix: reverse tabnabbing exploit in post images 5 years ago
Misty (Bot) 757cfe80be Latest translations and fallbacks 5 years ago
Misty (Bot) f5b3713313 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı bfd7eafe5b fix: ban 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 4cae893f49 fix(openapi): tests for #8412 5 years ago
Julian Lam 35a06a8419 feat: #8412 breadcrumbs for ip-blacklist/post queue/flags 5 years ago
Misty (Bot) 7fe9c1a26d Latest translations and fallbacks 5 years ago
Julian Lam 5a367ecbb4 fix: remove use of 'hidden' class in navbar toggling 5 years ago
Julian Lam f909ed2541 feat: show editor in post diffs if available 5 years ago
Julian Lam 2515aa77ba fix: bug where category privs page thought it was on admin 5 years ago
Julian Lam b3115ea813 fix: #8410 5 years ago
Misty (Bot) cdf81159df Latest translations and fallbacks 5 years ago
Julian Lam d5af976915 feat: #8408 flags' quick assignment 5 years ago
Barış Soner Uşaklı 42466d3c6e fix: add missing translations 5 years ago
Julian Lam 58b3d608fc feat: allow post diffs to be restored, #8406 5 years ago
Misty (Bot) 8f81651e2f Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 3a80a1651a feat: add missing translation 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ı bb3aa54006 feat: merge changes
allow selecting main topic to merge into
allow specifying a new title for merge topic
upon merge go to correct topic
new tests for merging with options
5 years ago
Barış Soner Uşaklı 8591f5d2cc fix: return false 5 years ago
Barış Soner Uşaklı 5fd05dc942 feat: more search & merge fixes 5 years ago
Barış Soner Uşaklı c4bdeae06e feat: merge improvements wip 5 years ago
Barış Soner Uşaklı a255c8f6fd fix: language 5 years ago
Julian Lam 6a96944247 fix(openapi): api change for #8387 5 years ago
Misty (Bot) 2287963388 chore: latest translations and fallbacks 5 years ago
Barış Soner Uşaklı d92032dad1 fix: prevent logout form from submitting 5 years ago
Julian Lam 4d60eac60f feat: #8384 options to delete account, content, or both 5 years ago
Julian Lam 67aca822e6 feat: account content deletion, closes #8381 5 years ago
Julian Lam 656b391fc5 feat: add missing language files for #8347 5 years ago
Misty (Bot) 8019d316e2 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 50703db879 fix: #8363, dont break history 5 years ago
Barış Soner Uşaklı 0c265a41d4 fix: #8363, go to hash when entering topic 5 years ago
Julian Lam a82e9bd7f6
feat: privileges for Admin Control Panel (#8355)
* feat: acp privileges (WIP)

* fix: restore global privilege hooks

* refactor: using cid 0 in admin privs

* fix: no need for zebrastripe-reset

* feat: manage:categories privilege WIP

* feat: renamed prefix to admin:, settigns and dashboard privs

* fix: nofocus on acp privs group find modal

* refactor: privileges.x.get() to not used hardcoded privs

* fix: crash if unable to get latest version

* feat: setting acp priv

* Revert "fix: crash if unable to get latest version"

This reverts commit afdb235f48eb0072d88de45f3a1e0151281095b3.

* feat: user/privilege acp privs

* fix: category selector in manage/privileges

* fix: guests potentially becoming admins

* fix: bug in setting admin privs

* fix: some last minute things + api docs

* fix: some more last minute fixes
5 years ago
Barış Soner Uşaklı 30cc83c033 fix: #8374, revert event delete 5 years ago