Commit graph

339 commits

Author SHA1 Message Date
Régis Hanol
bddffa7f9a FEATURE: flag dispositions normalization
All flags should end up in one of the three dispositions
  - Agree
  - Disagree
  - Defer

In the administration area, the *active* flags section displays 4 buttons
  - Agree (hide post + send PM)
  - Disagree
  - Defer
  - Delete

Clicking "Delete" will open a modal that offer to
  - Delete Post & Defer Flags
  - Delete Post & Agree with Flags
  - Delete Spammer (if available)

When the flag has a list associated, the list will now display 1
response and 1 reply and a "show more..." link if there are more in the
conversation. Replying to the conversation will NOT give a disposition.
Moderators must click the buttons that does that.

If someone clicks one buttons, this will add a default moderator message
from that moderator saying what happened.

The *old* flags section now displays the proper dispositions and is
super duper fast (no more N+9999 queries).

FIX: the old list includes deleted topics
FIX: the lists now properly display the topic states (deleted, closed,
archived, hidden, PM)
FIX: flagging a topic that you've already flagged the first post
2014-07-28 19:28:07 +02:00
Kris Aubuchon
22efc2147b fixing tiger striping on mobile 2014-07-28 10:33:23 -04:00
Sam
1a6aa07611 FEATURE: editable badge groups 2014-07-27 18:22:01 +10:00
Jeff Atwood
f66c39c63b Merge pull request #2589 from awesomerobot/master
reverting notification style
2014-07-25 20:43:14 -07:00
Kris Aubuchon
1557f07e87 reverting notification style 2014-07-25 23:06:14 -04:00
Robin Ward
f4f46aea48 FIX: No, for real don't show Uploading... for non-admin users when they
aren't uploading.
2014-07-25 17:08:54 -04:00
Kris Aubuchon
ab8bade9c6 fixing PM notification badge 2014-07-25 13:37:42 -04:00
Kris Aubuchon
f050d3e917 fixing notification style update 2014-07-25 12:22:55 -04:00
Kris Aubuchon
4a1ec20585 adding border to poster expansion, changing media screen to media all, trying new notification style 2014-07-24 12:21:22 -04:00
Sam
526da15b9e Improve badge UI add links to badge descriptions 2014-07-24 12:21:24 +10:00
Régis Hanol
b9bd2ddda6 Revert "FIX: hidden helper class is important" 2014-07-23 12:25:09 +02:00
Erick Guan
f2cd2f1d3c FIX: hidden helper class is important 2014-07-23 11:50:59 +08:00
Kris Aubuchon
fff0f82bfb fixing wmd-editor button background 2014-07-22 22:38:15 -04:00
Neil Lalonde
6f749b9765 FIX: move duplicated scss to common file 2014-07-22 16:42:19 -04:00
Kris Aubuchon
52334ddda0 a few mobile admin enhancements 2014-07-22 16:30:32 -04:00
Jeff Atwood
c712b0f4b8 add dimmed style to base for flagged/hidden posts 2014-07-21 23:52:26 -07:00
Jeff Atwood
8781f7855e bad reply-where-modal styles caused mobile issues 2014-07-20 00:34:43 -07:00
Jeff Atwood
1c4e3c4a96 mobile category layout fixes 2014-07-19 23:54:57 -07:00
Sam
c8284170ad FEATURE: badge grouping UI
FIX: not loading more badges on badge show page
2014-07-18 15:46:36 +10:00
Jeff Atwood
612dcb5805 we can't resize images on desktop, very dangerous 2014-07-16 12:23:54 -07:00
Sam
e347eea629 FEATURE: show user what badges they have 2014-07-16 17:55:08 +10:00
Kris Aubuchon
89167be99a fitting images in posts without violating max width/height 2014-07-16 01:01:03 -04:00
Kris Aubuchon
8da4046d79 minor alignment fixes on badge page w/description 2014-07-12 00:36:01 -04:00
Kris Aubuchon
9398504332 fixing appearance of horizontal scrollbar on topic list at about 996px wide 2014-07-12 00:12:50 -04:00
Jeff Atwood
314f154def line up modal nav pills better 2014-07-11 13:28:51 -07:00
Jeff Atwood
ed3bebfebe switch /faq to /guidelines in a bunch of places 2014-07-10 15:30:58 -07:00
Jeff Atwood
cf61ef7138 category-list-item only used in mobile layout 2014-07-10 13:28:53 -07:00
Jeff Atwood
91af347dfa remove legacy category "footer" styles 2014-07-10 13:02:15 -07:00
Eyal Levin
d7139555e5 Add RTL support. 2014-07-10 19:36:19 +03:00
Jeff Atwood
d053ad07fb we don't want danger color on mobile category 2014-07-10 00:47:25 -07:00
Jeff Atwood
97979c1a32 Merge pull request #2522 from awesomerobot/master
adapting the layout to fit more viewports
2014-07-09 17:28:32 -07:00
Kris Aubuchon
291459bb91 first steps to making discourse more responsive 2014-07-09 19:56:35 -04:00
Sam
9c14385a86 FEATURE: explain which badges can be titles 2014-07-09 16:03:53 +10:00
Régis Hanol
59b5ba7c0f BUGFIX: IP lookup wasn't working when using HTTPS
REFACTOR: the ip locator into a ip-lookup component
2014-07-07 22:18:18 +02:00
Régis Hanol
ab3d664ce0 BUGFIX: share alert styling with mobile 2014-07-07 17:46:32 +02:00
Kris Aubuchon
f0f47fd045 truncating long names in the @ autocompleter 2014-07-04 20:43:49 -04:00
Kris Aubuchon
42fdb9bc9c fixing d-dropdown heading overlap 2014-07-04 02:20:41 -04:00
Kris Aubuchon
d74d5fb39e truncating loooooooooong name fields 2014-07-03 23:40:49 -04:00
riking
0d4163e0a2 FEATURE: Nice error handling page 2014-07-03 07:52:14 -07:00
Kris Aubuchon
aee73d901a fixing a handful of issues 2014-07-02 23:21:45 -04:00
Régis Hanol
7feab2fc99 Revert "background on topic-list, more width on extra-info-wrapper, meta viewport fix" 2014-07-02 16:55:43 +02:00
Kris Aubuchon
e0194e69a5 adding background to topic-list, making max-width larger on extra-info-wrapper, and changing viewport config 2014-07-02 09:54:40 -04:00
Sam
a4b7b561dc Add link to badge reason on badge details page. 2014-07-02 09:46:28 +10:00
Robin Ward
7a739eb373 FIX: Don't lose background class while navigating from /latest to
`/new`
2014-07-01 16:06:47 -04:00
Robin Ward
288bb5588f Use different approach for background image 2014-07-01 13:40:09 -04:00
Jeff Atwood
e64758fe3c FIX: blockquote inside aside had top-margin 2014-07-01 00:19:56 -07:00
Jeff Atwood
334d9eaa53 add default style for aside.quote (expand quote) 2014-06-30 15:53:31 -07:00
Jeff Atwood
d379012dbc centralize shared .cooked and #wmd-preview styles 2014-06-30 02:06:13 -07:00
Jeff Atwood
0ffe77d7dc correct h1 line-height, centralize .cooked styles 2014-06-30 00:05:24 -07:00
Sam
777371bf14 Merge pull request #2480 from vikhyat/badge-system
Add consistency check to revoke invalid badges
2014-06-30 14:13:12 +10:00
Jeff Atwood
c67c88cee8 add sexy sexy download icon to expanded post images 2014-06-28 01:30:35 -07:00
Kris Aubuchon
51f85206ff making menu highlights consistent 2014-06-27 20:10:33 -04:00
Vikhyat Korrapati
228a2a8992 Show number of grants on the admin badge pages. 2014-06-28 01:24:07 +05:30
Kris Aubuchon
d280390cd3 horizontal scroll on search dropdown be gone! 2014-06-25 11:39:46 -04:00
Sam
d5d1473ced BUGFIX: better seperation of action from act too.
Also create spans for styling.
2014-06-25 10:39:55 +10:00
Neil Lalonde
8762e6aa34 FIX: centre category-dropdown-menu text 2014-06-24 14:27:58 -04:00
Jeff Atwood
1513d5ecb1 css error 2014-06-24 01:01:37 -07:00
Jeff Atwood
eeb2e48f4f fix share link styles for mobile 2014-06-24 00:55:43 -07:00
Jeff Atwood
a7ce8c6418 move .cooked word-wrap: break-word into base CSS 2014-06-24 00:40:20 -07:00
Kris Aubuchon
6029ef960d moving more topic-list styles to base, aligning badges in poster expansion 2014-06-23 16:11:55 -04:00
Jeff Atwood
fc12091a93 get rid of some needless (?) img styles on mobile 2014-06-23 01:17:23 -07:00
Jeff Atwood
26c8538e4c remove extra border on flags/flaggers td 2014-06-23 00:09:18 -07:00
Neil Lalonde
c2efa0b3c3 FIX: styling of select2 inputs in site settings. make it wide enough so autocomplete dropdown is readable. 2014-06-20 18:03:11 -04:00
Neil Lalonde
84f9809a6f FIX: topic wrench button wasn't visible when there's a custom header 2014-06-20 18:03:11 -04:00
Régis Hanol
f733237075 TRIVIAL: remove default 'Read more' link in the banner 2014-06-20 19:05:26 +02:00
Régis Hanol
4878d88cbd FEATURE: overlay the banner when reading a topic 2014-06-20 19:05:26 +02:00
Neil Lalonde
d704991609 FIX: subcategory badge styling problems 2014-06-20 10:49:51 -04:00
Sam
56a04366ec Merge pull request #2431 from vikhyat/badge-system
Custom badge icons
2014-06-20 09:13:29 +10:00
Kris Aubuchon
e4d90038cf handful of alignment fixes 2014-06-19 14:09:25 -04:00
Vikhyat Korrapati
fcfc6177c2 Allow specifying URLs as badge certificates. 2014-06-19 16:56:19 +05:30
Régis Hanol
62a73f48cc BUGFIX: first pass on default banner styling 2014-06-19 00:02:57 +02:00
Régis Hanol
00117c18c3 FEATURE: dismissable banner topic 2014-06-18 20:05:19 +02:00
Benjamin Kampmann
2aabf4fdcd ip locator on ipinfo.io basis added to admin 2014-06-18 09:22:44 +02:00
Sam
012923186b BUGFIX: CSS animation based spinner was buggy
There seems to be no sane way to get the CSS spinner to work without
hosing the stacking context. Use gif based spinner.
2014-06-17 17:55:00 +10:00
Robin Ward
cf165320e2 Keyboard shortcuts for new progress expansion 2014-06-13 14:03:12 -04:00
Jeff Atwood
ae46e439b8 make autocomplete use highlight color for selecting 2014-06-12 15:30:21 -07:00
Neil Lalonde
c61462662b Add ability to run validation on site settings. notification_email and other email address settings are now validated. 2014-06-09 16:59:20 -04:00
Arpit Jalan
42d6cf90f6 Fix Badge Spacing 2014-06-08 00:17:33 +05:30
Johan Jatko
c6a8c095f2 Deboxify .nav-stacked on user-page 2014-06-07 04:41:14 +02:00
Sam
cc1bbf3a7b BUGFIX: cut up line while searching in chrome mac 2014-06-06 17:15:14 +10:00
Sam
e7991cb803 FEATURE: search highlighting within topic
BUGFIX: fixed hiding of the search dialog when navigating within a topic
2014-06-05 17:03:53 +10:00
Robin Ward
535c90c298 Merge pull request #2414 from awesomerobot/master
fix for the flag badge in dropdowns
2014-06-04 15:02:03 -04:00
Kris Aubuchon
a029daacbb temp fix for the flag badge in dropdowns 2014-06-04 14:54:24 -04:00
Régis Hanol
897f219d61 BUGFIX: change the image upload icon when only images are authorized (fixes #2359) 2014-06-04 19:51:26 +02:00
Robin Ward
a1887c97c6 Merge pull request #2405 from ligthyear/select2-sitesetting
AdminUI: Use Select2.js for SiteSetting Lists – adds Autocomplete and DnD-Sorting
2014-06-04 11:47:46 -04:00
Kris Aubuchon
ee248b549f few fixes to the previous navigation update 2014-06-04 09:39:43 -04:00
Kris Aubuchon
6f91e60bd9 enhancing navigation 2014-06-03 21:59:42 -04:00
Kris Aubuchon
26d113ced0 enhancing navigation 2014-06-03 21:56:50 -04:00
Neil Lalonde
ae30e3d348 FIX: on mobile view, never show the show/hide preview link in composer. nexus 7 was showing it. 2014-06-03 14:00:54 -04:00
Benjamin Kampmann
eb884f9928 Switch Admin Settings Lists to Select2.js
- and use jquery.sortable to allow sorting
 - support for autocompletion
2014-06-01 16:36:26 +02:00
Sam
fe594f5d1e Merge pull request #2372 from vikhyat/badge-system
Multiple grant badges
2014-05-30 10:18:00 +10:00
Jeff Atwood
88494736bb duplicate color definition 2014-05-29 00:08:01 -07:00
Jeff Atwood
ad21f7c7af lighter admin setting description color 2014-05-28 23:35:03 -07:00
Jeff Atwood
4d6ca00e2b remove user page mini-avatar wrappers 2014-05-28 23:21:27 -07:00
Sam
bb887964b1 BUGFIX: j/k now goes to the suggested topic list correctly. 2014-05-29 15:38:06 +10:00
Robin Ward
0542761de4 Minor CSS fixes for Select2 2014-05-28 12:12:31 -04:00
Kris Aubuchon
971494bf5a removing max-width on #site-logo from base and putting it back in mobile 2014-05-27 11:58:53 -04:00
Jeff Atwood
13ff9980ac Merge pull request #2385 from fantasticfears/css_modal
fix user/username error class
2014-05-26 11:00:41 -07:00
Kris Aubuchon
9c02ad73ac merging more styles into base, also fixing <big> abuse 2014-05-26 11:33:47 -04:00
Neil Lalonde
96ed5e0e54 FIX: layout problems in composer on mobile 2014-05-26 10:53:05 -04:00
Erick Guan
ecbda44be4 fix user/username error class 2014-05-26 17:46:31 +08:00
Sam
2350227a6f Merge pull request #2379 from awesomerobot/master
topic list highlight fix, some quote style fixes
2014-05-23 12:36:26 +10:00
Kris Aubuchon
00278b42d8 topic list highlight fix, some quote style fixes 2014-05-22 21:55:50 -04:00
Jeff Atwood
3445661898 Merge pull request #2374 from awesomerobot/master
darkening the too-light-grey and the primary black a bit
2014-05-21 18:50:36 -07:00
Kris Aubuchon
e439df4b6b darkening the too-light-grey and the primary black a bit 2014-05-21 21:18:25 -04:00
Neil Lalonde
742841ddce Add Google Oauth2 authenticator. The current Google OpenID authentication has been deprecated by Google and will NOT work for any new websites. 2014-05-21 18:35:10 -04:00
Vikhyat Korrapati
d208e4d517 Multiple grant badges. 2014-05-21 12:54:55 +05:30
Kris Aubuchon
7accf5aafa some simple style cleanup 2014-05-19 23:55:46 -04:00
Sam
c1776fa1ae Merge pull request #2360 from vikhyat/badge-system
Badge system updates
2014-05-20 08:24:26 +10:00
Jeff Atwood
84ead32956 Merge pull request #2361 from awesomerobot/master
making the color customizer a little nicer with dark themes
2014-05-18 22:40:38 -07:00
Vikhyat Korrapati
a25087b62a Badges admin UI improvements.
* Query param to allow linking.
* Better handling of deleting unsaved badges.
* New badge list item style improvement.
2014-05-19 10:50:57 +05:30
Kris Aubuchon
ffa33c572c making the color customizer a little nicer with dark themes 2014-05-19 01:17:59 -04:00
Sam
8bc8052ab8 BUGFIX: show usernames logic, logic failure 2014-05-19 09:11:01 +10:00
Erick Guan
c6ef85d517 User prefrence: align all control groups on top. And some padding for follow category. 2014-05-18 16:34:12 +08:00
Kris Aubuchon
1fd6a9067b making onebox styles consistent with quotes 2014-05-16 10:19:02 -04:00
Sam
d897eada61 Improve visual styling for badges page 2014-05-16 11:08:06 +10:00
Neil Lalonde
4980cff802 Add descriptions. Make all the actions buttons. Add a revert button to colors. Add a new variable: quaternary. 2014-05-14 10:19:00 -04:00
Neil Lalonde
c4d3aa3d47 Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline. 2014-05-14 10:18:12 -04:00
Wojciech Zawistowski
960d64930c Wiki Post 2014-05-13 08:53:11 -04:00
Sam
c683fab2a1 Adjust username styling 2014-05-12 11:28:24 +10:00
Vikhyat Korrapati
17ad49ffbc Slightly improve header accessibility.
Partially addresses: https://meta.discourse.org/t/links-without-text-make-blind-user-accessibility-worse/13538.
2014-05-07 18:08:47 +05:30
Kris Aubuchon
22e7fd5ed0 some color fixes, general consistency 2014-05-06 23:53:04 -04:00
Neil Lalonde
ba68470d5a FIX red hightlighted rows in admin 2014-05-06 15:01:27 -04:00
Neil Lalonde
ee08bf561f Fix a bunch of color issues 2014-05-06 11:44:28 -04:00
Régis Hanol
8cf937cdcb BUGFIX: fix selected & unread notifications dropdown background color 2014-05-06 12:34:50 +02:00
Kris Aubuchon
8ea63006e4 simplifying and segmenting color variables 2014-05-06 01:50:51 -04:00
Jeff Atwood
3c05f97f9e some /faq page layout fixes 2014-04-30 23:59:24 -07:00
Sam
0fc4c47927 Merge pull request #2295 from vikhyat/badge-system
Titleable badges
2014-04-29 11:26:51 +10:00
Vikhyat Korrapati
b4e037dfb2 Allow badges to be marked as "titleable". 2014-04-28 10:30:38 +05:30
Benjamin Kampmann
64918c35f5 Improved Plugins SCSS management
- Moves the import of plugins for both mobile and desktop from common after discourse loading, allowing plugins to overwrite
 - Make desktop-option behave like the mobile-option: SCSS/CSS marked with that option will only be loaded for desktop from now on and ignored in mobile
 - Add variables-keyword, allowing plugins to ship and overwrite variables before they get imported by discourse (great for theming)
2014-04-25 18:25:45 +02:00
Neil Lalonde
feaaf55a0c Theming: color scheme editing. Unfinished! Doesn't have any effect on css files yet. 2014-04-24 16:49:12 -04:00
Sam
2debf7d97d Correct colors for tracking glyph in notification area 2014-04-24 10:48:04 +10:00
Vikhyat Korrapati
ba862439f2 Move badge styles from desktop to common/base. 2014-04-22 11:50:16 +05:30
Kris Aubuchon
2c44f724f4 fixing the composer that I just re-broke 2014-04-21 11:54:57 -04:00
Kris Aubuchon
e4d1aaa290 pulling some more styles out of desktop/mobile to common/base 2014-04-20 15:17:11 -04:00
Kris Aubuchon
3f102a98da initial move of common desktop/mobile styles to common/base 2014-04-19 14:04:22 -04:00
Jeff Atwood
782f8e401e improve keyboard shortcut css styles 2014-04-13 14:51:30 -07:00
Sam
7b3618baf9 clean up style 2014-04-10 18:34:50 +10:00
Kris Aubuchon
ec96ca4c60 modifying some styles for the new pin/unpin feature 2014-04-09 23:27:05 -04:00
Sam
b9d4edd91a FEATURE: display unpinned state, allow unpinning by clicking on pin 2014-04-10 10:59:02 +10:00
riking
6779bec58c Add UI for list site settings 2014-04-08 14:17:55 -07:00
Kris Aubuchon
dd18a07604 fixing the username font on windows 2014-04-06 20:08:08 -04:00
Vikhyat Korrapati
ef99ab59a5 Allow importing Discourse styles in custom stylesheets to modify vars. 2014-04-01 23:04:50 +05:30
Régis Hanol
77a8a4083a Revert "Merge pull request #2125 from vikhyat/css-variables"
This reverts commit b537de3ca5, reversing
changes made to b925827e5b.
2014-04-01 16:24:29 +02:00
Vikhyat Korrapati
ddd1dfe896 Allow importing Discourse styles in custom stylesheets to modify vars. 2014-04-01 15:25:43 +05:30
Kris Aubuchon
99fb7b74b0 adding styles for preformatted text not covered by highlight.js 2014-03-27 15:36:14 -04:00
Kris Aubuchon
95d98a4266 some basic variable reorganiztion 2014-03-26 21:16:41 -04:00
Kris Aubuchon
236eb66235 fixing admin bar chart color 2014-03-26 12:03:58 -04:00
Kris Aubuchon
71034a33a1 clearing up variable duplication as discussed https://github.com/discourse/discourse/pull/2174 2014-03-25 09:53:07 -04:00
Jeff Atwood
a8000c11a6 tighten up problem messages display 2014-03-22 00:37:18 -07:00