Commit graph

619 commits

Author SHA1 Message Date
Régis Hanol
e300945879 FEATURE: split group admin in 2 tabs (custom & automatic)
FIX: clear the user-selector when adding new members
2015-01-21 20:52:48 +01:00
Robin Ward
614ad4daa7 UX: Formatting on search categories looked weird 2015-01-20 17:51:12 -05:00
Robin Ward
350554e198 UX: Change category badge style to use stripes 2015-01-20 14:56:06 -05:00
Jeff Atwood
3f7fa46af7 remove unnecessary site header title height 2015-01-19 00:44:23 -08:00
Robin Ward
f8d3764d5e Convert many buttons to d-button 2015-01-14 15:50:20 -05:00
Régis Hanol
6734a51b6a move SiteText.{head,top,bottom} to SiteCustomization 2015-01-14 12:15:53 +01:00
Régis Hanol
645a22fdd5 FIX: background fade-in for modal dialogs 2015-01-12 16:29:38 +01:00
Jeff Atwood
84286fb501 normalize topic post first element top-margins:0 2015-01-12 02:24:06 -08:00
Jeff Atwood
5f05e1394b consistent post top margins 2015-01-12 00:35:04 -08:00
Sam
efc717c14a FEATURE: remove star concept from Discourse 2015-01-07 13:43:27 +11:00
Jeff Atwood
fa8493118b remove underline on composer cancel, hide preview 2015-01-06 16:35:57 -08:00
Jeff Atwood
77f5c74ddd FEATURE: add std /staff page link from /faq 2015-01-05 16:33:21 -08:00
Régis Hanol
060cda7772 FIX: proper handling of group memberships 2015-01-05 18:51:45 +01:00
Régis Hanol
9fcaf090ec Merge pull request #3068 from fantasticfears/category_slug
support setting category slug
2015-01-02 11:55:27 +01:00
Sam
049ae70f94 FEATURE: maximize button for customization css/html editor 2015-01-02 11:25:15 +11:00
Jeff Atwood
911f941da5 some CSS fixes for mobile sites with text titles 2015-01-01 00:54:53 -08:00
Jeff Atwood
0ef30ae43c fix weird font size on admin, customize, color 2014-12-30 23:51:32 -08:00
Robin Ward
57b89a2c7f Plugin stuff:
* Allow plugins to work with only autoloaded assets.
* Give a plugin outlet a class name based on its name if no view class
* Give the `topic-title` outlet a default class of `clear: both`
2014-12-30 16:29:28 -05:00
Erick Guan
1e166d89ff support setting category slug 2014-12-30 03:14:54 +08:00
Régis Hanol
0ce93f3b29 FIX: use prefixes for CSS transform 2014-12-29 18:08:56 +01:00
Régis Hanol
432413d3da FEATURE: 🍬 cool transition when expanding lightbox 2014-12-29 18:00:18 +01:00
Jeff Atwood
92d61755b3 clean up CSS3 animations a bit 2014-12-25 02:29:39 -08:00
Jeff Atwood
2a46418284 add back in @-webkit-keyframes 2014-12-25 02:19:06 -08:00
Jeff Atwood
8b3babdbde add back in a few -webkit- css3 prefixes
due to http://shouldiprefix.com/ and iOS mainly!
2014-12-25 01:41:44 -08:00
Jeff Atwood
a82fda0a50 who the hell puts a } in front of a SASS line? 2014-12-25 01:14:20 -08:00
Jeff Atwood
b91f9f4142 remove a bunch of needless css prefixes 2014-12-25 01:05:45 -08:00
Jeff Atwood
3bad0e3a33 fix touch device link sharing in Firefox 2014-12-24 00:11:43 -08:00
Jeff Atwood
1e29f6cbe9 stop rendering spinner in composer for now 2014-12-23 23:44:21 -08:00
Jeff Atwood
b69832cf66 make expansion quote titles unselectable 2014-12-23 23:23:47 -08:00
Jeff Atwood
e122e52fb8 kill some -webkit-transition CSS 2014-12-23 23:18:57 -08:00
Jeff Atwood
576861505e just use plain CSS3 transition 2014-12-23 03:09:17 -08:00
Jeff Atwood
0b0e9be22f standardize on @transition mixin 2014-12-23 02:52:20 -08:00
Jeff Atwood
e41ae020fa add back ade-soft CSS transition on post actions 2014-12-23 02:16:57 -08:00
Régis Hanol
45dbdb6896 FEATURE: custom emojis 2014-12-23 01:12:26 +01:00
Jeff Atwood
157378bfcc edit pencil glyph too big mon TOO BIG 2014-12-19 00:46:24 -08:00
Kris Aubuchon
bcb03474d6 fixing base line-height and big/small abuse 2014-12-17 14:51:47 -05:00
Jeff Atwood
1c8ddccb45 try to correct font scaling problems on Firefox 2014-12-16 23:26:29 -08:00
Kris Aubuchon
c7d7393d80 setting static base font size 2014-12-16 09:24:15 -05:00
Jeff Atwood
23899281d8 minor font sizing CSS fixups 2014-12-16 01:12:52 -08:00
Kris Aubuchon
3eebc0e589 changing font sizes to ems, so fonts scale a bit more gracefully 2014-12-15 22:12:56 -05:00
Robin Ward
d2a7904bf2 UX: Banner topics should be readable even with dark color schemes. 2014-12-10 10:46:30 -05:00
Robin Ward
ff758cea11 FIX: Text in select2 dropdowns should not be variable since the
background is always white.
2014-12-10 10:25:35 -05:00
Jeff Atwood
7e609e1834 do we need #list-area margin-bottom so big? 2014-12-10 00:33:45 -08:00
Neil Lalonde
0f37ce1083 FIX: share popup on mobile layout went outside of viewport, and z-index was behind user avatars. Use a real link on touch devices instead of a text input. 2014-12-05 16:21:07 -05:00
Kris Aubuchon
d8c8264b4e fixing loading spinner alignment and striping 2014-12-04 17:05:47 -05:00
Robin Ward
e035b07e92 Put Ember 1.8.1 + fixes back. 2014-12-04 08:51:35 -05:00
Sam
8977d5917b revert 2014-12-04 09:35:11 +11:00
Robin Ward
39fde5b9fb Upgrade to 1.8.1: So long, metamorphs! 2014-12-03 10:49:18 -05:00
Régis Hanol
8ab32396a7 Merge pull request #3009 from gdpelican/feature/new-private-message
New Private Message button for user topics
2014-12-03 12:17:45 +01:00
Jeff Atwood
2ad0aeea2f Merge pull request #3015 from awesomerobot/master
a few very minor visual tweaks
2014-12-02 15:16:14 -08:00
Kris Aubuchon
ea37946d00 a few very minor visual tweaks 2014-12-02 17:10:14 -05:00
Robin Ward
008337b018 FIX: Selecting one user in admin would select them all 2014-12-02 15:30:57 -05:00
James Kiesel
cc76087f59 Add new private message button on topics list
That'll teach me to wildly refactor things.
2014-12-02 00:53:49 +13:00
Jeff Atwood
31b769d4fa remove unneeded mobile footer left margin 2014-11-27 03:35:05 -08:00
Jeff Atwood
304b96aa81 UX: suppress long cat names in cat drop down too 2014-11-21 11:40:15 -08:00
Jeff Atwood
4e01046862 UX: suppress long cat names in topic lists 2014-11-21 11:13:38 -08:00
Régis Hanol
b8d806ee07 FEATURE: delete all accounts from this IP in the IP lookup modal 2014-11-20 19:59:20 +01:00
Régis Hanol
fae19aa56c FEATURE: improve admin IP lookup dialog (add username/trust level/read time/topics entered) 2014-11-17 14:51:28 +01:00
Jeff Atwood
78f6cea16c bump up header icon size a bit 2014-11-17 02:21:30 -08:00
Jeff Atwood
e9ec3738d8 tone down css chevron a bit 2014-11-14 01:19:30 -08:00
Jeff Atwood
1d59a0f815 incorrect position: relative 2014-11-14 00:46:04 -08:00
Jeff Atwood
fdacb67c71 use CSS chevron instead of fa-chevron-right 2014-11-14 00:10:46 -08:00
Robin Ward
0d12ed2231 UX: More spinner upgrades 2014-11-13 15:40:28 -05:00
Robin Ward
074fa81182 UX: Proper loading spinner on create account 2014-11-13 13:50:19 -05:00
Robin Ward
61109a43d2 UX: Use new spinner when logging in 2014-11-13 13:43:54 -05:00
Robin Ward
7b50244e98 UX: Use new loading spinner when uploading an image 2014-11-13 12:55:47 -05:00
Robin Ward
fb241a4351 UX: Use loading spinner on notifications 2014-11-12 13:37:51 -05:00
Kris Aubuchon
6ca555eee0 simplifying the spinner due to IE/Win Chrome issues 2014-11-11 09:22:14 -05:00
Régis Hanol
ec76be964e UX: better footer handling 2014-11-10 21:51:55 +01:00
Sam
6a42588007 remove X from search in ie 2014-11-10 21:31:15 +11:00
Jeff Atwood
9f6a0cb126 minor style tweaks to file upload modal 2014-11-06 14:17:52 -08:00
Jeff Atwood
30ce67f689 Merge pull request #2947 from awesomerobot/master
updated loading spinner
2014-11-05 17:24:07 -08:00
Kris Aubuchon
a0e5605869 updated loading spinner 2014-11-05 20:13:51 -05:00
Robin Ward
2d9187cd9d Admin controls to select a date range for reports 2014-11-05 14:46:44 -05:00
Kris Aubuchon
59e0c1b9cd trying out a new css-only loading spinner 2014-11-05 10:08:20 -05:00
Régis Hanol
b09ad87098 FIX: add 'show emails' button from moderators in user admin section 2014-11-03 12:46:08 +01:00
Sam
4d82a571fb FIX: restrict the size of small tags (when nested) 2014-11-03 11:23:18 +11:00
Régis Hanol
3dcccb5dee Merge pull request #2926 from mcwumbly/hide-revision-button
UX: show the hide revision button on mobile
2014-10-29 01:02:01 +01:00
David McClure
827a13a08b UX: show the hide revision button on mobile 2014-10-28 16:58:35 -07:00
Régis Hanol
7525a896df UX: make the blue notification float over the column headers on desktop 2014-10-29 00:46:05 +01:00
Régis Hanol
e7f251c105 LOTS of changes to properly handle post/topic revisions
FIX: history revision can now properly be hidden
FIX: PostRevision serializer is now entirely dynamic to properly handle
hidden revisions
FIX: default history modal to "side by side" view on mobile
FIX: properly hiden which revision has been hidden
UX: inline category/user/wiki/post_type changes with the revision
details
FEATURE: new '/posts/:post_id/revisions/latest' endpoint to retrieve
latest revision
UX: do not show the hide/show revision button on mobile (no room for
them)
UX: remove CSS transitions on the buttons in the history modal
FIX: PostRevisor now handles all the changes that might create new
revisions
FIX: PostRevision.ensure_consistency! was wrong due to off by 1
mistake...
refactored topic's callbacks for better readability
extracted 'PostRevisionGuardian'
2014-10-27 22:06:43 +01:00
Sam
6d3d425611 apply same fix to mobile 2014-10-27 09:16:51 +11:00
Jeff Atwood
d501f003ca fix up /about on mobile 2014-10-21 01:09:54 -07:00
Régis Hanol
29b2788ca6 Merge pull request #2896 from awesomerobot/master
sticking transitions into a sass mixin
2014-10-20 16:26:53 +02:00
Kris Aubuchon
b97a4f5bd0 sticking transitions into a sass mixin 2014-10-20 09:54:36 -04:00
Sam
147e4bf056 add some padding 2014-10-18 18:12:48 +11:00
Sam
bf7ee92d56 Move search help to a more intuative spot 2014-10-18 18:00:54 +11:00
Arpit Jalan
7b81e79b12 Show raw email in text box 2014-10-20 00:51:22 +05:30
Kris Aubuchon
d132b35426 a handful of minor style updates/fixes 2014-10-18 23:07:55 -04:00
Régis Hanol
c59e56ec63 Merge pull request #2882 from techAPJ/patch-1
FEATURE: show raw email for replies/topics created via email
2014-10-18 21:16:17 +02:00
Jeff Atwood
b77f7ce567 overflow:hidden on blockquote caused IE freakout 2014-10-18 02:48:25 -07:00
Arpit Jalan
3854c0a29e only staff can view raw email 2014-10-17 23:21:18 +05:30
Arpit Jalan
2131a37811 FEATURE: show raw email for replies/topics created via email 2014-10-17 22:22:19 +05:30
Régis Hanol
ab9a0235b4 UX: make sure onebox avatar's dimensions arent overriden in order to prevent 'bumps' when the image loads 2014-10-17 18:32:24 +02:00
Jeff Atwood
9e9bfe03c0 add overflow:hidden to blockquote (for images) 2014-10-16 22:45:45 -07:00
Robin Ward
08233fc86e FIX: Show images in the admin section list for badges. Add help text to
indicate icons can be images too.
2014-10-16 16:43:34 -04:00
Robin Ward
f3a67a48a3 Merge pull request #2874 from cpradio/clear-notifications
FEATURE: Mark All as Read button for Notifications page
2014-10-16 15:57:19 -04:00
Régis Hanol
8bb20f2260 UX: dim hidden revisions 2014-10-16 16:32:02 +02:00
cpradio
8f390c979b FEATURE: Mark All as Read button for Notifications page
Added a Mark All as Read button to the top/bottom of the notifications user page
https://meta.discourse.org/t/possibility-to-selectively-or-completely-mark-notifications-as-read/20227

Remove notifications property (no longer used)
2014-10-13 06:31:27 -04:00
Régis Hanol
65dd05cb41 UX: fix revision history modal on mobile 2014-10-13 23:26:49 +02:00
Régis Hanol
199896a607 UX: add new wiki color as a site-level color variable 2014-10-13 19:43:24 +02:00
Jeff Atwood
3a571997a0 remove right padding from topic list titles 2014-10-13 02:49:22 -07:00
Jeff Atwood
ad4994ff0b move "easier to tap" topic list paddings to base 2014-10-13 00:26:13 -07:00
Jeff Atwood
dd870e8cdc top/bottom pad title in topic lists: easier click 2014-10-12 23:48:04 -07:00
Jeff Atwood
68b456a57d remove unnecessary spinner styles for mobile 2014-10-11 23:19:04 -07:00
Jeff Atwood
c8ab29fa31 get rid of bad editor media queries in mobile.scss 2014-10-11 15:38:32 -07:00
Jeff Atwood
8156518aa6 oops 2014-10-11 05:32:40 -07:00
Jeff Atwood
ab83fbff89 few more mobile editor tweaks 2014-10-11 05:29:50 -07:00
Jeff Atwood
15b94acd85 width 100% for editor on mobile; no preview
also  remove box-sizing mixin, use native CSS3
2014-10-11 04:30:34 -07:00
Jeff Atwood
27061d5fab move editor spinner css to shared (base) css 2014-10-11 04:08:16 -07:00
Jeff Atwood
be43d51536 remove admin-loading in favor of spinner css 2014-10-11 03:46:42 -07:00
Jeff Atwood
70cccb0a06 tweak header box shadow 2014-10-10 15:31:54 -07:00
Jeff Atwood
5c0bb56748 remove unnecessary @includes on box-shadow 2014-10-10 15:02:46 -07:00
Jeff Atwood
66a51729b3 copyedits on relative auto-close 2014-10-10 14:32:52 -07:00
Régis Hanol
5754e8dd0f FEATURE: auto-close topics based on last post 2014-10-10 18:21:44 +02:00
Robin Ward
80183f04f5 FIX: CSS on admin referrals broke with the fixed table. See:
https://meta.discourse.org/t/admin-dashboard-top-referred-topics-links-overlap-with-clicks/20945
2014-10-09 16:12:02 -04:00
Robin Ward
f9a8f6d6ce FEATURE: Support for a required setting on user fields. 2014-10-08 15:10:19 -04:00
Kris Aubuchon
f4f6236902 changes: topic title editor layout, badge alignment in scrolled header 2014-10-07 11:41:04 -04:00
Jeff Atwood
e8563c7d57 tweaks to make flagging page better on mobile 2014-10-07 01:29:44 -07:00
Jeff Atwood
03d440095f clean up /about page styles on mobile 2014-10-07 00:18:54 -07:00
Sam
620c3b3dcd UX: improve select2 category picker styling 2014-10-07 16:28:11 +11:00
Régis Hanol
67c10a7eab UX: add topic admin button to the bottom of the topic 2014-10-06 20:19:07 +02:00
Kris Aubuchon
1224ffa1c5 restructuring post titles a bit 2014-10-06 11:50:18 -04:00
Jeff Atwood
3483c7b0de UX: drop text from loading spinner, make bigger 2014-10-03 13:38:55 -07:00
Jeff Atwood
5fe1f99bf5 drop text from loading spinner 2014-10-02 14:50:13 -07:00
Jeff Atwood
75804d8fa8 remove some unused images 2014-10-02 13:23:36 -07:00
Jeff Atwood
23258d5109 switch to white spinner 2014-10-02 13:19:42 -07:00
Jeff Atwood
57eb435a69 remove unneeded topics-loading styles 2014-10-02 13:14:11 -07:00
Robin Ward
381814fd5d Adds support for a description to user fields. 2014-10-02 15:56:52 -04:00
Jeff Atwood
5857c94662 allow mobile edit topic, fix hamburger fontsize 2014-10-02 03:00:54 -07:00
Robin Ward
edb34c178a FEATURE: Show user fields when the user is signing up 2014-09-30 10:45:18 -04:00
riking
bff95a6a97 Rename 'leader' -> 'tl3' 2014-09-30 13:16:34 +10:00
Régis Hanol
7e309a21cf FEATURE: hide emails behind a button for staff members 2014-09-29 22:31:05 +02:00
lidlanca
48289dbc4f Onebox Github Pull Request Styling 2014-09-29 00:33:20 -04:00
Sam
a6fcacec6b FIX: missing white space github onebox styling 2014-09-29 14:26:16 +10:00
Sam
fdd6bcf38d less lines 2014-09-29 11:55:25 +10:00
Sam
a659019ff6 Merge pull request #2823 from lidlanca/github-blob-style
Add Styling for Github Code blob + Line numbers
2014-09-29 11:52:15 +10:00
lidlanca
1cc3c8ff15 Add Styling for Github Code blob + Line numbers 2014-09-28 00:37:21 -04:00
Robin Ward
0fc0533134 FEATURE: Admin interface for adding custom fields for users 2014-09-25 16:17:51 -04:00
Sam
c4fb7dce23 fix style 2014-09-25 16:38:44 +10:00
Jeff Atwood
cef3cdff86 remove unnecessary pre/code base CSS 2014-09-24 10:46:45 -07:00
Jeff Atwood
696cf179ff mobile login form tweaks 2014-09-22 23:13:30 -07:00
Jeff Atwood
b874b31b02 correct mobile login form layout error 2014-09-22 17:26:22 -07:00
Régis Hanol
0b13f6572f FEATURE: staff option to unhide a post 2014-09-22 18:55:13 +02:00
Robin Ward
626e896c13 FEATURE: Enable topic entrance on mobile 2014-09-22 11:49:11 -04:00
Jeff Atwood
10e2c3f693 consolidate <aside> quote CSS styles in base 2014-09-13 23:02:46 -07:00
Jeff Atwood
35ca9525aa move pre/kbd to base css, remove obscure CSS 2014-09-12 22:58:15 -07:00
Neil Lalonde
d492bac587 Remove the git commits widget from the admin dashboard 2014-09-11 14:45:42 -04:00
Jeff Atwood
07a021d050 Merge pull request #2785 from awesomerobot/master
fixing message highlight in admin
2014-09-11 11:23:28 -07:00
Kris Aubuchon
6839cd6430 fixing message highlight in admin 2014-09-11 14:07:39 -04:00
Jeff Atwood
c661b6ded5 FIX: home icon was incorrectly sized 2014-09-11 10:42:11 -07:00
Régis Hanol
dbcaf1276a FIX: move wiki/via-email glyphs + add green background on wiki posts 2014-09-10 15:25:31 +02:00
riking
69bc552054 FEATURE: Actually show more notifications
The "Show more notifications..." link in the notifications dropdown now
links to /my/notifications, which is a historical view of all
notifications you have recieved.

Notification history is loaded in blocks of 60 at a time.

Admins can see others' notification history. (This was requested for
'debugging purposes', though that's what impersonation is for, IMO.)
2014-09-09 16:29:08 -07:00
Kris Aubuchon
ebe71ea491 changing the header now that fullname was dropped 2014-09-09 14:42:44 -04:00
Régis Hanol
00bd665c96 FEATURE: add count of previous flags on the post 2014-09-08 17:53:29 +02:00
Robin Ward
334e21a03a Revert "Revert "FEATURE: Can create warnings for users via PM""
This reverts commit 1c7559380c.
2014-09-08 11:11:56 -04:00
Robin Ward
1c7559380c Revert "FEATURE: Can create warnings for users via PM"
This reverts commit b0bfc1f93f.
2014-09-08 10:38:59 -04:00
Robin Ward
b0bfc1f93f FEATURE: Can create warnings for users via PM 2014-09-08 10:27:06 -04:00
Jeff Atwood
107cffcc84 FIX: revert readonly on share link field 2014-09-08 01:03:50 -07:00
Kris Aubuchon
9eed47f7c5 dark themes now carry over to admin without looking absolutely terrible 2014-09-07 22:46:04 -04:00
Jeff Atwood
65e941f652 UX: remove current username from header 2014-09-07 14:01:51 -07:00
Jeff Atwood
3cf433ab1e FIX: quote icon in Quote Reply not clickable 2014-09-07 13:55:31 -07:00
Jeff Atwood
f5e1a5a669 UX: remove bookmark icon from Unread topnav 2014-09-07 13:20:40 -07:00
Kris Aubuchon
127c2f3d21 making topic/post selection left border stronger 2014-09-06 12:12:22 -04:00
Jeff Atwood
3772102972 better display of topic glyphs in search 2014-09-05 13:17:26 -07:00
Jeff Atwood
dc8fc8c9e4 UX: move "show more" in search to bottom of results 2014-09-05 02:19:06 -07:00
Sam
a3863b52db More highlight tweaking for search, makes it much easier to theme 2014-09-04 18:00:01 +10:00
Sam
0ade9bafff FIX: highlight in yellow, not blue
FEATURE: highlight in title
2014-09-04 15:01:13 +10:00
Kris Aubuchon
06e048bf89 minor unread circle alignment fix 2014-09-04 00:02:29 -04:00
Sam
1f42dda939 factor common code 2014-09-04 13:19:10 +10:00
Sam
a050fa887f FIX: regression, go to quoted post missing in quotes
refactors common code as well
2014-09-04 13:16:19 +10:00
Sam
d6a5552340 tweak new topic styling 2014-09-04 11:07:32 +10:00
Jeff Atwood
7543b37f86 UX: add dot before new topics via css 2014-09-03 13:33:56 -07:00
Robin Ward
17b79fdeda Increase the contrast of the "new" text 2014-09-03 15:37:42 -04:00
Robin Ward
0b6c84e292 UX: Remove background color from new badge. DRY up lots of repeated code
for rendering badges on topics.
2014-09-03 12:22:18 -04:00
Neil Lalonde
6489c1d7e3 FIX: admin page for users who have not been activated makes it more clear that the account is inactive, and won't offer actions that don't work yet 2014-09-03 10:41:13 -04:00
Neil Lalonde
ff136ddeea FEATURE: accounts that have not been activated are grey in admin user lists 2014-09-03 10:09:30 -04:00
Sam
c6aab831ed Merge pull request #2741 from riking/badges_create_checks
FIX: Apply contract checks when first creating a badge
2014-09-03 22:19:09 +10:00
Jeff Atwood
c41d47b8f5 suppress search topic status color a bit 2014-09-03 01:03:53 -07:00
Jeff Atwood
6681d8ab81 Revert "UX: suppress new indicator style"
This reverts commit 870fd70525.
2014-09-03 00:11:25 -07:00
Jeff Atwood
870fd70525 UX: suppress new indicator style 2014-09-02 23:48:41 -07:00
Sam
921dd75dd9 FIX: anonymous had <a> items for pin/unpin
FEATURE: display category in search results
FEATURE: display topic state (locked/pinned/etc) in search results

UI cleanup for search results, clearing floats and so on.
2014-09-03 12:13:26 +10:00
riking
71b7c80257 UX: CSS tweaks for badge query previews 2014-09-02 19:09:51 -07:00
riking
1833b43ae2 FEATURE: Badge query validation, preview results, and EXPLAIN
Upon saving a badge or requesting a badge result preview,
BadgeGranter.contract_checks! will examine the provided badge SQL for
some contractual obligations - namely, the returned columns and use of
trigger parameters.

Saving the badge is wrapped in a transaction to make this easier, by
raising ActiveRecord::Rollback on a detected violation.

On the client, a modal view is added for the badge query sample run
results, named admin-badge-preview.
The preview action is moved up to the route.
The save action, on failure, triggers a 'saveError' action (also in the
route).

The preview action gains a new parameter, 'explain', which will give the
output of an EXPLAIN query for the badge sql, which can be used by forum
admins to estimate the cost of their badge queries.
The preview link is replaced by two links, one which omits (false) and
includes (true) the EXPLAIN query.

The Badge.save() method is amended to propogate errors.

Badge::Trigger gets some utility methods for use in the
BadgeGranter.contract_checks! method.

Additionally, extra checks outside of BadgeGranter.contract_checks! are
added in the preview() method, to cover cases of null granted_at
columns.

An uninitialized variable path is removed in the backfill() method.

TODO - it would be nice to be able to get the actual names of all
columns the provided query returns, so we could give more errors
2014-08-31 11:25:44 -07:00
Jeff Atwood
4281b16616 UX: dim the new and unread education 2014-08-29 22:54:11 -07:00
Régis Hanol
38f52f0f8e FIX: banner topic's max-width & max-height on both mobile & desktop 2014-08-28 16:15:48 +02:00
Robin Ward
09ea159afc UX: Add link to change username on admin page 2014-08-27 13:52:01 -04:00
Sam
64331e2ac1 row style is common, its the way we clear divs 2014-08-26 07:41:29 +10:00
Jeff Atwood
3a010c34cc smallenate anon drop-down topic counts 2014-08-25 12:14:47 -07:00
Jeff Atwood
ae9fcf17ef make period chooser (/top h2) unselectable on touch 2014-08-22 17:01:12 -07:00
Kris Aubuchon
a8e6e1e3d5 adding highlight back to topic-list 2014-08-22 10:45:51 -04:00
Robin Ward
c1aa2458f8 UX: Add drop down for top lists, big refactor of repeated code. 2014-08-21 16:08:47 -04:00
Régis Hanol
8a20d05ba5 FEATURE: backup without uploads 2014-08-20 18:53:58 +02:00
Régis Hanol
9f72971d26 FEATURE: add the pencil glyph when the post was edited after the first flag 2014-08-18 18:56:39 +02:00
Jeff Atwood
e9bfb1c89e make share link input field readonly, with css tweaks 2014-08-17 23:08:53 -07:00
Jeff Atwood
c04b7cfe8a only do two levels of coldmapping 2014-08-14 22:27:10 -07:00
Jeff Atwood
f8cb0b6452 we have two sets of heatmap colors, apparently 2014-08-14 21:55:17 -07:00
Jeff Atwood
c32f64fe94 more betterer heat/coldmap color scheme 2014-08-14 21:36:35 -07:00
Jeff Atwood
e539e6ff21 try grey instead of blue for coldmap range 2014-08-14 16:42:31 -07:00
Kris Aubuchon
56e7ca10fe swapping around heatmap low/high 2014-08-14 09:33:41 -04:00