Commit Graph
100 Commits
Author SHA1 Message Date
Kane York aaccb73a3b Use choose-grey(5%) instead of diff(97%) 2015-08-20 14:35:28 -07:00
Kane York 7083bfdf27 FIX: /user/x/notifications in mobile dark theme 2015-08-20 14:25:07 -07:00
Kane York 123f50cd71 FIX: Mobile user profile 2015-08-20 14:05:04 -07:00
Kane York 9c92a491b5 FIX: Tweaks to mobile select posts UI 2015-08-20 13:59:32 -07:00
Kane York 7e8ee8e725 FIX: mobile composer dark theme 2015-08-20 13:59:19 -07:00
Kane York 26c3d74460 Split srgb-scale into its own function 2015-08-20 13:31:00 -07:00
Kane York 3eb2668fcf Add color boxes on the theme chooser page
TODO: filter down to the colors actually used
2015-08-20 13:30:34 -07:00
Kane York 7147c0e8af DEV: Replace sqrt() implementation with lib
Copied the needed functions out of https://github.com/terkel/mathsass
MIT license
2015-08-20 13:10:54 -07:00
Kane York 156c3651b5 DEV: Add choose-grey() function for better greys 2015-08-20 12:54:07 -07:00
Kane York 0ae9d99308 FIX: User profile collpased header (again) 2015-08-20 11:49:11 -07:00
Kane York 2f595f27e9 CLEANUP: Coalesce repeated CSS properties 2015-08-18 22:02:33 -07:00
Kane York 7ede107be9 FIX: User directory dark theme 2015-08-18 21:45:05 -07:00
Kane York c4e5594826 FIX: Keyboard shortcuts dark theme 2015-08-18 21:42:41 -07:00
Kane York 7ee0ee6769 Optimize CSS properties 2015-08-18 21:40:19 -07:00
Kane York f7b024eafe FIX: User profiles
Note on removing the color: $secondary - I did a test with browser inspector by
turning the text pink. The only text affected was 'helpful flags', which I
fixed below.
2015-08-18 21:35:25 -07:00
Kane York 689449b233 FIX: Post highlight on mobile dark theme 2015-08-18 15:51:50 -07:00
Kane York 75f7631367 FIX: Small-actions in dark theme 2015-08-18 15:20:19 -07:00
Kane York 924e67af9d FIX: Header icons should be header_primray in dark theme 2015-08-18 15:11:49 -07:00
Kane York 13fdd35517 Revert "FIX: Header icons should be header_primary exactly"
This reverts commit 4d0c328404.
2015-08-18 15:11:13 -07:00
Kane York e5f4020c75 FIX: User card badge, interface language select2 dark theme 2015-08-18 15:05:05 -07:00
Kane York e81f21d848 FIX: Github oneboxes in dark theme 2015-08-18 15:02:41 -07:00
Kane York 78dcf30444 FIX: Suggested topics box was bad in dark theme 2015-08-18 14:50:36 -07:00
Kane York ca577248d0 FIX: Fix tag input select2 box 2015-08-18 14:44:52 -07:00
Kane York 4d0c328404 FIX: Header icons should be header_primary exactly 2015-08-18 14:37:23 -07:00
Kane York 0282d89b29 FIX: Lightboxes in dark theme 2015-08-18 14:09:20 -07:00
Kane York cf559893b8 FIX: fully-read topic style in dark theme 2015-08-18 14:03:01 -07:00
Kane York 3baabd14f8 Use variables for user card colors 2015-08-18 13:28:02 -07:00
Kane York 6a0eba3ba2 Oops, that should fix it.. 2015-08-18 13:23:50 -07:00
Kane York 173126673b FIX: Apply blockquote colors to onebox 2015-08-18 12:53:44 -07:00
Kane York 94439ebddd FIX: Tighter rate-limit for post self-deletions 2015-08-18 12:50:45 -07:00
Kane York c8c3b057cb FIX: Unread posts in dark theme 2015-08-18 12:29:55 -07:00
Kane York a4da72a83b FIX: Dark theme fixes for admin, quotes, code 2015-08-18 12:23:06 -07:00
Kane York 3edf0e662f FIX: Make user card colors absolute (xcpt shadow) 2015-08-18 12:04:35 -07:00
Kane York 7b5dea6481 FEATURE: Take advantage of Android browser features
Declare a theme-color, provide high-resolution icon.
2015-08-17 14:30:20 -07:00
Kane York 4ffca82bab FIX: Issue scroll event after rendering 2015-08-05 11:12:41 -07:00
Kane York 8c62c8d7bf FEATURE: Add off button on preferences for popup notifications 2015-07-30 19:06:14 -07:00
Kane York 13d56eb989 FEATURE: Add CommentMigration for db column comments
For documenting the database (will be used in discourse-data-explorer)
2015-07-28 13:14:07 -07:00
Kane York 5408abd427 Pull automatic share link copying 2015-07-21 19:29:38 -07:00
Kane York acbf82d8db FIX: Change post owner of deleted post, take 3 2015-07-21 16:43:52 -07:00
Kane York d6129001b9 FIX: Provide proper source map URLs with a CDN 2015-07-21 11:52:54 -07:00
Kane York ad3f805d2f FIX: Do automatic copy on share in click handler 2015-07-21 10:34:41 -07:00
Kane York ae07c670d7 FIX: Twitter onebox styling 2015-07-21 10:24:39 -07:00
Kane York 61ea8c6f72 FIX: Allow to change ownership on deleted users' posts 2015-07-15 15:29:35 -07:00
Kane York e3b778a23a fixup: support merging N languages (js) 2015-07-15 14:30:16 -07:00
Kane York 15905be788 Disable in development (js) 2015-07-15 14:25:24 -07:00
Kane York cb395662d0 Add JsLocaleHelper tests for i18n fallback 2015-07-15 14:23:41 -07:00
Kane York ff219bc65c todo: write test 2015-07-15 10:21:06 -07:00
Kane York 650eb86a74 Disable in development (server) 2015-07-15 10:17:36 -07:00
Kane York ecfa17b5a7 FEATURE: Localization fallbacks (server-side)
The FallbackLocaleList object tells I18n::Backend::Fallbacks what order the
languages should be attempted in. Because of the translate_accelerator patch,
the SiteSetting.default_locale is *not* guaranteed to be fully loaded after the
server starts, so a call to ensure_loaded! is added after the locale is set for
the current user.

The declarations of config.i18n.fallbacks = true in the environment files were
actually garbage, because the I18n.default_locale was
SiteSetting.default_locale, so there was nothing to fall back to. *derp*
2015-07-15 10:17:36 -07:00
Kane York 728845d008 FEATURE: Localization fallbacks (client)
This patch sets I18n.defaultLocale in the Discourse.start() script block (it
was formerly always 'en') to SiteSetting.default_locale, and patches
translate() to perform fallback to defaultLocale followed by english.
Additionally, when enable_verbose_localization() is called, no fallbacks will
be performed.

It also memoizes the file loading operations in JsLocaleHelper and strips out
translations from the fallbacks that are also present in a prefered language,
to minimize file size.
2015-07-15 10:17:28 -07:00
Kane York b201697938 Fix test failure (appEvents seems to not be injected?) 2015-07-15 10:15:05 -07:00
Kane York 2302442e1a Add ace:resize app event
For discourse-data-explorer
2015-07-15 09:44:08 -07:00
Kane York 8796760825 FIX: Allow changing ownership of posts with deleted users 2015-07-14 21:15:34 -07:00
Kane York 2cbb1610a1 FEATURE: Automatically copy the share link 2015-07-14 19:53:02 -07:00
Kane York 2a897a8a6b SECURITY: Remove email validation check bypass
- Increase size of email column to varchar(513)
 - Give error message on signup when email is too large

Overall impact: Low, allows signups from blocked domains. Main risk is increased spam.
2015-07-13 15:36:17 -07:00
Kane York e4aa0e143d FIX: Linebreaks not showing in tweets 2015-07-10 13:22:16 -07:00
Kane York 6f03aa164f FIX: Automatically add like-count to post menu 2015-07-10 10:11:13 -07:00
Kane York 38acc8a070 FIX: Don't root CSV export URLs 2015-07-06 15:19:31 -07:00
Kane York 3fdbf287de FEATURE: Only show enabled plugins in the sidebar 2015-07-02 10:59:15 -07:00
Kane York af042ffe5e FEATURE: Per-plugin settings buttons, "Enabled" column
Also, added enabled_site_setting to the Poll plugin so it shows up properly.
2015-07-02 10:59:06 -07:00
Kane York df988a20eb FEATURE: Reserved usernames
A list of usernames that will be blocked from being used to sign up.
2015-07-01 13:50:55 -07:00
Kane York 5022507029 Make observing optional 2015-06-30 16:00:43 -07:00
Kane York 969fb2cd4c FIX: combo-box should observe on nameProperty 2015-06-30 12:23:02 -07:00
Kane York 6b1cfd8d87 FIX: combo-box shouldn't crash if no options available
This is a fix for bdfe91914f
2015-06-30 11:47:41 -07:00
Kane York 130d6a3a26 Join together all errors if mulitple 2015-06-30 11:40:35 -07:00
Kane York 05010b6b33 Add HTTP error codes to ajax-error 2015-06-30 11:39:17 -07:00
Kane York bdfe91914f FIX: combo-box should assign value on initialize
This fixes the bug where admins could post to uncategorized even when it was disabled.
2015-06-30 10:18:31 -07:00
Kane York 3a8808ee3f FIX: buildPluginAdapter not passing args 2015-06-30 09:14:22 -07:00
Kane York 418718c416 Copy changes for "sso overrides" settings 2015-06-29 22:22:05 -07:00
Kane York 20ccbc79c2 Use the underscore-private convention, simplify 2015-06-25 12:53:50 -07:00
Kane York b0e62e4dc1 FEATURE: addPluralization() in the store adapter 2015-06-25 12:49:36 -07:00
Kane York a663181335 FIX: Add missing translation 2015-06-24 13:19:46 -07:00
Kane York 470d9418fd Add tests for X-Robots-Tag 2015-06-22 16:23:26 -07:00
Kane York 2f0bd6294c Add noindex directive on unlisted topics 2015-06-22 11:00:39 -07:00
Kane York 72db917169 Fix copy error in temporarily_closed_due_to_flags 2015-06-19 11:30:46 -07:00
riking 043b011523 FEATURE: Add plugin-outlet to top of static pages
Please enter the commit message for your changes. Lines starting
2015-05-28 19:21:13 -07:00
riking d112f39031 Change extension back to .dcstyle.json 2015-05-19 18:35:16 -07:00
riking d0b61ed23e Filter files to only plain-text 2015-05-16 21:19:00 -07:00
riking 30abc91a5c this just in: drag events are very broken 2015-05-16 21:04:57 -07:00
riking fbc06d044f Use .dcstylejson instead of .dcstyle.json 2015-05-16 20:41:35 -07:00
riking 291d9fc65e FEATURE: Import customizations from a JSON file 2015-05-16 20:24:19 -07:00
riking 1e53c179a3 FEATURE: Export customizations as JSON files 2015-05-16 20:24:13 -07:00
riking 428ff097f1 Add some documentation to fast_pluck.rb 2015-05-14 21:15:33 -07:00
riking 9d232dac9a FIX: Properly whitelist li styles 2015-05-14 16:43:01 -07:00
riking 28f32aff66 FEATURE: Multiple notifications at once (1/topic) 2015-05-13 18:23:42 -07:00
riking 7238c43018 SECURITY: XSS in poll errors dialog 2015-05-08 19:28:04 -07:00
riking 6ea2051c4e FIX: Don't ask for notification permission until first one 2015-05-02 12:53:30 -07:00
riking a3338e9798 Missed localization key 2015-04-29 15:06:04 -07:00
riking 1412687112 FIX: Whoops, DiscourseLocalOnebox became DiscourseGlobalOnebox 2015-04-24 01:09:38 -07:00
riking 21b915f209 Suggested changes 2015-04-23 18:39:48 -07:00
riking 3681674ec4 FIX: Don't cache-bust onebox requests 2015-04-21 23:11:25 -07:00
riking 694ee30e86 FIX: Uploaded files could not be oneboxed 2015-04-21 23:08:29 -07:00
riking a616d9ed1c Fix jshint 2 2015-04-21 21:23:05 -07:00
riking f5630b9791 Fix JSHint errors 2015-04-21 21:10:07 -07:00
riking fdf86143b3 fixup NotificationController 2015-04-21 20:23:30 -07:00
riking f4b0f1dbef a few fixups 2015-04-21 20:23:30 -07:00
riking 8bbead315d Add idle checking, use localStorage for seen notifications 2015-04-21 20:23:30 -07:00
riking da9913359c Convert to file in lib/, rough active tracking 2015-04-21 20:23:29 -07:00
riking 41819838ef Prevent "0 new notifications" 2015-04-21 20:21:56 -07:00
riking 59bdff348c Use Discourse.URL.routeTo 2015-04-21 20:21:56 -07:00