Commit Graph

47 Commits

Author SHA1 Message Date
Kelv 2075b3b748
DEV: Update deprecated Font Awesome icon names (#111) 2024-12-04 02:36:28 +01:00
Jarek Radosz d46e783d9f
DEV: Update linting (#89) 2024-01-16 17:48:29 +01:00
Martin Brennan 3808cc1be5
Update plugin.rb metadata (#86)
Co-authored-by: AlexDev <104522507+alexdevlaeminck@users.noreply.github.com>
2023-11-03 14:47:51 -07:00
Jarek Radosz 5700be093b
FIX: Incorrect `PLUGIN_NAME` (#78)
This resulted in `Required plugin 'discourse_user_notes' not found` warnings in logs
2023-05-12 12:54:06 +02:00
David Taylor 25c412d1e2
DEV: Respect plugin enabled state when serializing (#77) 2023-04-24 15:08:02 +01:00
Bianca Nenciu 3af2747ed1
DEV: Update plugin to match latest guidelines (#76)
- Use different files instead of plugin.rb
- Make sure plugin is disabled according to the setting
2023-02-23 15:20:10 +02:00
David Taylor 2a524624df
DEV: Introduce syntax_tree for ruby formatting (#70) 2022-12-29 13:35:49 +01:00
Jarek Radosz 7f05e6877d
DEV: Lose the es6 suffix (#50) 2022-03-07 00:20:28 +01:00
Daniel Waterworth 7538e7da61
FIX: Switch Discourse.base_uri usage to base_path (#19)
base_uri was deprecated, because the name was unclear.
2020-10-20 11:20:48 +01:00
Krzysztof Kotlarek 2f34ae5778 FIX: check if allow_staff_user_custom_field exisits 2020-07-27 11:55:02 +10:00
David Taylor ef36fc39da
FIX: Always use site default locale when creating notes 2020-07-24 16:15:36 +01:00
Krzysztof Kotlarek a1e30b23db FIX: remove empty line 2020-07-15 09:45:20 +10:00
Krzysztof Kotlarek f18cc21793 FIX: compatibility after allowlist rewording in Discourse 2020-07-15 09:36:54 +10:00
Joffrey JAFFEUX fe5a9058fe FIX: makes start/end date inclusives 2019-10-18 12:02:20 +02:00
Penar Musaraj 03366e344b DEV: Rename files, functions and DB entries plus two small fixes
1. Shows the full list of notes for a user in the admin report (instead of just the first note).

2. Fixes a UI-only warning when adding or removing a note from the user card.
2019-07-24 22:58:08 -04:00
Kris e706cc5819 Update setting names, readme, to reflect rename to user notes 2019-07-24 10:35:00 -04:00
Guo Xiang Tan 104d5173b7 Add frozen string literal comment to files. 2019-05-13 11:06:13 +08:00
Jeff Wong 75bdf8eeb8 FEATURE: Reverse the order in which the notes are displayed
Attach note panel now appears at the top
2019-01-28 12:11:18 -08:00
Penar Musaraj 73d6b9fcad Add icon to SVG subset when emojis are off 2018-12-17 15:09:50 -05:00
Joffrey JAFFEUX 95777eed38 FIX: uses user type for reports 2018-08-19 15:44:03 +02:00
Joffrey JAFFEUX 82e1e53432 FIX: slow_query is now happening in report.rb directly 2018-08-01 09:54:22 -04:00
Joffrey JAFFEUX 9274124de6 FIX: updates report for new error setting 2018-07-31 22:08:19 -04:00
Joffrey JAFFEUX 8b32408a3b FEATURE: improves staff notes report to support dates 2018-07-19 21:51:11 -04:00
Joffrey JAFFEUX 2c730c2136 fixes rubocop 2018-07-19 20:34:50 -04:00
Joffrey JAFFEUX e072f55f36 FEATURE: improves staff note report support
It will now appear in the new discourse core moderation tab in the dashboard
2018-07-19 14:39:52 -04:00
Guo Xiang Tan 0eafd26f25 Make rubocop happy. 2018-06-08 09:54:19 +08:00
Robin Ward 97079ccf38 FIX: Show the username of the person who banned the user 2018-03-29 16:44:39 -04:00
Robin Ward 72609f5107 FIX: Post link was broken in subfolders 2018-02-26 14:00:37 -05:00
Robin Ward ed3e0a4157 FIX: If a topic is deleted, allow the staff note to link to it anyway 2018-02-15 17:11:23 -05:00
Robin Ward 30dc14de7d Log user silences in the staff notes automatically 2018-02-13 17:45:57 -05:00
Robin Ward 87825a8f51 Add a link to the post of the staff note, if provided 2018-01-16 15:40:46 -05:00
Robin Ward e1e2d0b9fe FIX: Support proper disabling of the plugin by name 2017-11-10 15:09:40 -05:00
Robin Ward 99ab454c74 UX: Add staff notes to admin user profile 2017-11-09 14:19:08 -05:00
Guo Xiang Tan 8d1cd35a52 Use `before_action` instead for `before_filter` for Rails 5 compatibility. 2017-09-04 13:55:48 +08:00
Guo Xiang Tan ea121d3ba2 Fix rubocop offenses. 2017-08-02 15:13:45 +09:00
Arpit Jalan 970b026e21 add specs 2017-05-12 22:29:13 +05:30
Arpit Jalan d718ec31f7 FEATURE: add staff note when suspending user 2017-05-12 20:48:47 +05:30
jomaxro 1252ba51ac Add URL to plugin.rb 2017-04-26 00:41:11 -04:00
Guo Xiang Tan 4327ebe2c3 FIX: `Warning` table has been renamed. 2017-04-15 13:07:47 +08:00
Guo Xiang Tan fafd755427 Bump version. 2016-07-29 12:08:52 +08:00
Arpit Jalan cd8c22b3d1 FEATURE: auto create a staff note when an official warning is created 2016-04-04 21:20:20 +05:30
Robin Ward 3444a161b9 FEATURE: Option to disallow moderators from removing staff notes 2016-03-16 15:16:18 -04:00
Robin Ward 2dbe071f96 FIX: N+1 query, loadscript error 2016-03-11 15:50:57 -05:00
Robin Ward 69661ae6b1 Working fairly well now 2016-03-11 15:24:30 -05:00
Robin Ward bc9057073b Only show the icon when they have notes 2016-03-11 13:32:42 -05:00
Robin Ward 71d0b4c784 Can remove staff notes 2016-03-11 12:27:46 -05:00
Robin Ward 9b20e633c0 Basic Functionality 2016-03-10 17:37:58 -05:00