Commit Graph
100 Commits
Author SHA1 Message Date
Kane York 63b8b3c849 Revert "Reland "DEV: Add checks that assets do not modify cookies to smoke-test.js" (#9774)" (#9783)
This reverts commit 186c471c44.
2020-05-14 12:04:09 -07:00
Kane York 732776e2ce Revert "DEV: Add checks that assets do not modify cookies to smoke-test.js (#9504)" (#9773)
This reverts commit 5cb806827a.
2020-05-13 16:41:18 -07:00
Kane York 4635be10c8 DEV: Add docker cleanup script to d/ folder 2020-03-01 12:09:07 -08:00
riking 7f37ee9152 SearchLog: fix specs 2018-06-20 10:44:11 +10:00
riking 38a8e52ca4 FIX: Add time retention limit to search logs
3 years is a very conservative limit that allows for a very wide buffer
for year-over-year analysis. The max is set to 5 years because that is
the policy listed for logging in hosted Discourse.
2018-06-20 10:44:11 +10:00
riking 1de0ef137e FIX: SearchLog: Do not store IP of logged in users 2018-06-20 10:44:11 +10:00
riking 13a5e41fca TEST: TopicViewItem ip logging test 2018-06-12 12:43:56 +10:00
riking 94f70c7b5c FIX: TopicViewItem: do not store IP of logged in users 2018-06-12 12:43:56 +10:00
riking 4b2e2ea8ef Change TopicViewItem to allow null IP address 2018-06-12 12:43:56 +10:00
riking 12e4dd59b7 Style fix for test 2018-05-25 15:54:14 +10:00
riking 501bc0e9af FIX: UserProfileView: Do not log IP of logged-in users 2018-05-25 15:54:14 +10:00
riking d4639bc734 TEST: Add TopicLinkClick spec for ip logging 2018-05-22 16:05:38 +10:00
riking 9b0efe9c84 FIX: TopicLinkClick: do not log IP of logged in users 2018-05-22 16:05:38 +10:00
riking d2347474a5 Tests for IncomingLink IP logging 2018-05-15 09:32:29 +10:00
riking cdcb0a396f FIX: IncomingLink: do not log IP of logged-in users 2018-05-15 09:32:29 +10:00
riking bd24345fbf UX: Tag each autocomplete dialog so they can be hidden 2018-04-24 11:03:16 -04:00
riking 238f51ab19 UX: Add link to /groups from Admin>Users 2018-04-23 15:01:21 -07:00
Kane York bfc1301823 UX: Remove default focus styling from posts & topic list items
The styling is superseded by the .selected management
2018-02-22 12:21:23 +08:00
Kane York 59b7760e2e UX: Make the .selected class follow focus 2018-02-22 12:20:47 +08:00
Kane York 3212cdda78 UX: Use focus as the first selector for J/K navigation 2018-02-22 11:55:36 +08:00
Kane York 3df0626aa5 UX: Apply hover styling to post actions on focus 2018-02-22 11:55:36 +08:00
Kane York cd19d546a8 Update default linkify TLDs to top 15
Also kept gov, but moved it to the end because it was in the previous version.
2018-02-02 17:45:42 -08:00
Kane York ff91c43087 FEATURE: Keyboard shortcut to refocus composer (#5506)
It was very annoying to get back to the composer after losing it!

Added to the keyboard shortcuts help dialog, and reshuffled it a bit.
Translation keys were intentionally kept so our translators don't have
to copy paste to update.

This commit also fixes an incidental listener leak.
2018-01-17 17:15:03 +11:00
Kane York f2ddd44712 FEATURE: Add /search discovery
The opensearch.xml results in a "site search engine" being added to
Chrome, while the sitelinks search tag results in "Search this website"
being added to Google Search.
2016-03-28 15:07:59 -07:00
Kane York f67a877537 Add styling & assets for google docs placeholder oneboxes 2015-10-14 17:09:48 -07:00
Kane York 821124f3fd FEATURE: Skip batches if all records exist
Update all import scripts to take advantage of all_records_exist?
2015-09-21 17:13:02 -07:00
Kane York 200ee15991 FIX: Importer not handling usernames correctly 2015-09-21 16:27:47 -07:00
Kane York c3aaeedc62 FEATURE: Make it easy to override the home logo 2015-09-21 11:47:23 -07:00
Kane York e36c0966d0 FIX: :( page was never showing the URL 2015-09-21 11:38:37 -07:00
Kane York c9e4745fe8 FIX: Return 410 Gone for deleted topics you could otherwise see 2015-09-18 00:14:43 -07:00
Kane York 7e8f4286e3 FEATURE: Allow emoji in some translated strings 2015-09-16 18:33:17 -07:00
Kane York 4e587eb68f Store nothing if anon cta is disabled 2015-09-16 16:32:15 -07:00
Kane York e16eebb48c FIX: Don't even bother checking visit count 2015-09-16 15:35:50 -07:00
Kane York 102b6f6fca FIX: Reduce requirements for signup call-to-action
1 visit, 5 minutes, 3 topics
2015-09-16 15:34:39 -07:00
Kane York 390af7118a Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/templates/topic.hbs
2015-09-16 10:06:47 -07:00
Kane York 2fa801c014 Do fix positions upon opening dialog 2015-09-15 14:06:20 -07:00
Kane York fc8539cb90 Merge branch 'master' into signup-cta
Conflicts:
	.eslintignore
2015-09-15 13:59:36 -07:00
Kane York d47f1db2be Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/templates/topic.hbs
2015-09-15 13:52:12 -07:00
Kane York 53c5c17625 Add ember-addons to eslintignore 2015-09-15 13:14:50 -07:00
Kane York 2e2fa693f5 You need to translate the site settings, dummy 2015-09-15 12:42:14 -07:00
Kane York 6be78861ca Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/lib/key-value-store.js.es6
2015-09-15 12:26:25 -07:00
Kane York 41721b0898 Rename variables 2015-09-15 12:25:29 -07:00
Kane York 62444b9a13 Fix the visit tracking logic 2015-09-15 12:25:12 -07:00
Kane York a5f906db69 Merge branch 'master' into category-reorder 2015-09-13 19:07:36 -07:00
Kane York 3ca3746d7e Unlock eslint version
eslint/eslint#3746
2015-09-11 16:39:19 -07:00
Kane York b6febb0638 fix the build (460243d7) 2015-09-11 11:37:36 -07:00
Kane York 42263ac969 use translations (doh) 2015-09-11 09:46:54 -07:00
Kane York 6119d9fdc0 FIX: Fallbacks for missing interpolation arguments
This takes effect when an interpolation is removed from a translation in
a Discourse update.

The I18n::Backend::Fallbacks loops with a catch(:exception), so calling
throw(:exception) will cause it to use the next locale, until it reaches
English which is assumed to be correct.

Also, enable fallbacks in everything except development (#3724 for more
discussion) - we should be able to test this
2015-09-11 09:39:40 -07:00
Kane York b3913b5692 doh, computed.or 2015-09-11 09:36:03 -07:00
Kane York fc5e157395 Sane sendAction() behavior 2015-09-11 09:34:20 -07:00
Kane York b706c59ab9 Use the json boolean trick 2015-09-11 09:14:45 -07:00
Kane York 7e50af7547 Temporarily lock eslint to 1.3.1 2015-09-11 09:10:08 -07:00
Kane York 460243d7a3 FIX: Give 403 for deleted topics, +lots of tests 2015-09-11 08:29:44 -07:00
Kane York aca70805f1 FIX: Discourse.BaseUri should not default to / 2015-09-10 17:34:08 -07:00
Kane York f36dcb6a62 Fix build 2015-09-10 14:21:36 -07:00
Kane York a9d10f454b Oop 2015-09-10 14:12:08 -07:00
Kane York d86d4752cb FIX: Don't allow editing seeded category security settings 2015-09-10 14:04:21 -07:00
Kane York c038758f8c FIX: Several fixes related to category reorder
- Move "New Category" and "Reorder Categories" into a dropdown
 - Always show "New Topic" on categories page, even for admins
 - Make category reorder modal full-height (.full-height-modal)
 - Move category reorder stylesheet out of admin stylesheet
2015-09-10 13:42:10 -07:00
Kane York 0c5fb207e9 FIX: Fix behavior of category reorder dialog 2015-09-10 13:04:25 -07:00
Kane York 342eba4374 FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
Kane York 72d32160b3 FIX: Mentions unreadable on user cards 2015-09-04 14:19:11 -07:00
Kane York 27ee8bea95 FIX: Remove N+1 queries in posts.json 2015-09-04 13:36:47 -07:00
Kane York ea606a348f FEATURE: post-after-cooked plugin-outlet 2015-09-04 12:45:04 -07:00
Kane York 32e5016dbb FEATURE: Include topic title, category in posts.json 2015-09-01 17:46:06 -07:00
Kane York 8b37dadec7 remove TODO 2015-09-01 16:52:29 -07:00
Kane York d7a79aeb8a Fix mobile styling 2015-09-01 16:49:45 -07:00
Kane York 940b79ed5b more copyedits 2015-09-01 16:40:25 -07:00
Kane York 118f8227f1 Fix never link after clicking maybe later 2015-09-01 16:23:57 -07:00
Kane York 65192a09a6 copyedits 2015-09-01 16:20:24 -07:00
Kane York f595e562ea Signup CTA first attempt 2015-09-01 16:16:19 -07:00
Kane York 65790452d8 Clean up the test checks when done 2015-09-01 13:32:35 -07:00
Kane York cca621e70a FIX: First post time not visible in topic list 2015-09-01 08:49:38 -07:00
Kane York d4c68f2096 FEATURE: Live-update site settings 2015-08-31 10:40:50 -07:00
Kane York eea09ac8e1 Nix the grey comparison on color scheme page 2015-08-28 11:43:24 -07:00
Kane York 1586886bf9 FIX: Consider reserved usernames as not 'available'
https://meta.discourse.org/t/reserved-usernames-ignored-by-invites/32490
2015-08-25 17:24:07 -07:00
Kane York 3cbfc45bf6 FEATURE: Allow plugins to add admin dashboard warnings 2015-08-25 17:20:14 -07:00
Kane York 633c175a8a FIX: Badge SQL controls would never show up, needed refresh 2015-08-25 13:30:26 -07:00
Kane York 5205ec3b1e FIX: Hover highlights in top menus 2015-08-21 12:47:15 -07:00
Kane York a275b0b8a3 FIX: Edit reasons on profile page 2015-08-21 11:37:19 -07:00
Kane York 36b5269d19 FIX: Emoji modal in dark theme 2015-08-21 11:35:19 -07:00
Kane York 9185cec1f3 FIX: Insert link dialog in dark theme 2015-08-21 11:23:06 -07:00
Kane York e2e7e6df44 FIX: Unread post circle colors in dark theme 2015-08-21 11:19:02 -07:00
Kane York aa0b2d74c1 Remove borders from composer resizing grip 2015-08-21 11:15:04 -07:00
Kane York 6819c2d47c FIX: Make small-actions stick out less dark theme 2015-08-21 11:14:50 -07:00
Kane York 7f46458204 FIX: black-on-black queued posts 2015-08-20 18:34:30 -07:00
Kane York 2363897a25 FEATURE: Arbitrary validations for site settings 2015-08-20 18:27:19 -07:00
Kane York 7c7580d226 FIX: Remove mouseover listener 2015-08-20 17:10:31 -07:00
Kane York 1218d47eb5 Rename choose-grey() to blend-primary-secondary() 2015-08-20 16:47:34 -07:00
Kane York eb00a92452 FIX: onebox links were too dark 2015-08-20 16:33:44 -07:00
Kane York fad5af0f7d FEATURE: Green/red background for ins/del elements 2015-08-20 15:10:09 -07:00
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