Commit Graph

23 Commits

Author SHA1 Message Date
Jose Ivan Vargas Lopez c2a987fb9c Admin section capitalization fix 2017-04-06 14:58:57 -05:00
Eric Eastwood e6fc0207cb Use native unicode emojis
- gl_emoji for falling back to image/css-sprite when the browser
   doesn't support an emoji
 - Markdown rendering (Banzai filter)
 - Autocomplete
 - Award emoji menu
    - Perceived perf
    - Immediate response because we now build client-side
 - Update `digests.json` generation in gemojione rake task to be more
   useful and  include `unicodeVersion`

MR: !9437

See issues

 - #26371
 - #27250
 - #22474
2017-03-06 12:54:46 -06:00
Eric Eastwood ae69e8764c Restore pagination to admin abuse reports 2017-02-16 17:02:58 -06:00
Annabel Dunstone Gray a219158e77 Remove admin.scss 2016-12-05 12:22:11 -06:00
Nick Thomas 9920551536 Enable CacheMarkdownField for the remaining models
This commit alters views for the following models to use the markdown cache if
present:

* AbuseReport
* Appearance
* ApplicationSetting
* BroadcastMessage
* Group
* Issue
* Label
* MergeRequest
* Milestone
* Project

At the same time, calls to `escape_once` have been moved into the `single_line`
Banzai pipeline, so they can't be missed out by accident and the work is done
at save, rather than render, time.
2016-10-07 02:54:26 +01:00
Luke Bennett 673806a29e
Some more styling tweaks and added jasmine test 2016-08-14 00:54:18 +01:00
Luke Bennett 1e6d8a388c
Reverted collapsible design for Hazels 2016-08-14 00:54:18 +01:00
Luke "Jared" Bennett 721232228f
Added new but unaccepted design pattern, it is only pushed for future reference on the slim chance that a similar pattern is used 2016-08-14 00:54:18 +01:00
Luke "Jared" Bennett d1da8ef7d4
Updated collapsible 2016-08-14 00:54:18 +01:00
Luke "Jared" Bennett cbae07db5e
Altered abuse report UI 2016-08-14 00:54:18 +01:00
Patricio Cano be6c4fef40 Removed unnecessary `id` from links and corrected tests to use the proper matcher. 2016-07-07 18:39:45 -05:00
Patricio Cano 1867d0d505 Added specs to check for the correct links. 2016-07-06 16:17:20 -05:00
Patricio Cano 5c4a2bff91 Link to the user's profile in the abuse reports and add a link to the admin area view if the user viewing the profile is an admin 2016-07-06 11:48:06 -05:00
Yorick Peterse 25c08d11bb
Added author to various Markdown calls in views
This ensures all these calls have an author set, allowing the use of
"all" mentions where possible.
2016-05-26 17:14:06 +02:00
Stan Hu 5f6b093445 Disable "Already Blocked" button in admin abuse report page 2016-01-09 21:25:18 -08:00
Kelvin e16d9edf99 Show that user is already blocked on Abuse Reports 2016-01-06 14:48:52 +03:00
Kelvin 987989b632 Remove block button on abuse reports if user is already blocked 2016-01-06 14:41:26 +03:00
Robert Speicher b807a23b4b Redesign the AbuseReports index
- Shows when the reported user joined
- Show relative timestamp for when the report was created
- Parse message with restricted Markdown pipeline to autolink URLs
2016-01-04 18:36:38 -05:00
Douwe Maan a32f776609 Make tables full width. 2015-10-19 11:19:45 +02:00
Dmitriy Zaporozhets 13f8fc9784
Fix remove report button
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-25 10:57:56 +02:00
Dmitriy Zaporozhets e02b7bf443
Improve abuse reports management
* Link to user profile instead of user admin page
* One button for remove user and report
* Remove user and report with page reloading

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-25 10:52:10 +02:00
Dmitriy Zaporozhets 4ba2698810
Remove selectbox from abuse form. Added pagination in admin area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-06 15:13:47 +02:00
Dmitriy Zaporozhets 7a9d432cdb
Add abuse report management in admin area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-06 15:08:22 +02:00