Commit Graph
100 Commits
Author SHA1 Message Date
Sam 05c1adf718 Merge pull request #4361 from discourse/revert-4116-remap-regex
Revert "FEATURE: make discourse remap optionally do regex_replace"
2016-08-02 08:38:28 +10:00
Sam 31c0ce3dac Revert "FEATURE: make discourse remap optionally do regex_replace" 2016-08-02 08:38:15 +10:00
Sam 9018de39ed FEATURE: allow shipping bio markdown via SSO
- Also adds site setting for sso_overrides_bio to disable bio editing by end users
2016-08-01 15:29:28 +10:00
Sam 16a383ea1e SECURITY: limit bad cookie auth attempts
- Also cleans up the _t cookie if it is invalid
2016-07-28 12:58:49 +10:00
Sam 0ba8da9658 reduce amount of cache setting 2016-07-28 10:20:29 +10:00
Sam 83f80341b3 FIX: topic id cache should be a multi process cache 2016-07-28 10:20:14 +10:00
Sam ab68e0c9db FEATURE: allow "developer" account flagging via developers table
This mechanism for flagging developer accounts will eventually replace
DISCOURSE_DEVELOPER_EMAILS
2016-07-28 10:14:06 +10:00
Sam c6dbaca0dc SECURITY: disable user entered badge SQL by default
- Hidden site settings now must be change via rails console
2016-07-28 09:03:00 +10:00
Sam cb3afd11b4 SECURITY: limit route access when using external avatars 2016-07-28 09:00:43 +10:00
Sam b5fbff947b FIX: don't expire old sessions when logging in 2016-07-26 11:37:41 +10:00
Sam 521d3d11f2 allow some more tags through 2016-07-26 09:43:30 +10:00
Sam a4aedddd38 shuffle code around so excerpt is not messed up 2016-07-25 17:12:01 +10:00
Sam 12ecf8624a FIX: tokenize words with dots correctly
hello.world is now tokenized as "hello.world" and "world" that way the word
"world" will find the post with "hello.world"
2016-07-25 16:26:33 +10:00
Sam e01802a13b FIX: strip quote from search term when searching within topic 2016-07-25 15:06:25 +10:00
Sam c1f62d8657 Revert "make upgrade a bit more seamless"
This reverts commit 78b88a1633.
2016-07-25 12:49:33 +10:00
Sam 78b88a1633 make upgrade a bit more seamless 2016-07-25 12:30:52 +10:00
Sam df535c6346 FEATURE: refresh session cookie at most once an hour
This feature ensures session cookie lifespan is extended
when user is online.

Also decreases session timeout from 90 to 60 days.
Ensures all users (including logged on ones) get expiring sessions.
2016-07-25 12:07:31 +10:00
Sam 12dc511fea PERF: make score calculator cheaper when site has long topics 2016-07-22 09:48:44 +10:00
Sam 1c964bf730 PERF: cache category topic ids 2016-07-19 12:34:54 +10:00
Sam c1a01b2a28 PERF: limit maximum number of topic links to 50
When a giant topic has huge numbers of links only show top 50
if expanded from the show more links... button.
2016-07-19 10:55:35 +10:00
Sam a5d0e0f277 PERF: index for deleted posts in a topic to speed up has_deleted detection 2016-07-19 10:29:22 +10:00
Sam Saffron 46b34e3c62 FEATURE: remove user option for edit history public
Users can no longer opt-in for "public" edit history
if site owner disables it.

This feature adds cost and complexity to post rendering since
user options need to be premeptively loaded for every user in the
stream. It is also confusing to explain to communities with private edit
history.
2016-07-16 21:30:00 +10:00
Sam Saffron 9893953f62 PERF: no need to nest a transaction when featuring topics
adding featured topics is already in a transaction, no need to nest
2016-07-16 15:36:40 +10:00
Sam Saffron 4cef1c1750 PERF: stop featuring users on categories
(this feature has long been removed, no need to run expensive queries
every 15 minutes)
2016-07-16 15:33:57 +10:00
Sam Saffron 6777bd2629 warm up v8 after fork 2016-07-16 15:11:34 +10:00
Sam Saffron bea06afd3d UX: suppress description excerpt on mobile 2016-07-14 22:38:16 +10:00
Sam Saffron fa8ba3b408 UX: don't expand pinned on mobile categories page 2016-07-14 22:30:51 +10:00
Sam Saffron 3dcd6edb46 FEATURE: stage post in stream on edit 2016-07-14 22:20:43 +10:00
Sam Saffron f369d492b3 FEATURE: stop linking to last post in crawler view
This only makes stuff harder for google AND does not even function correctly
2016-07-12 21:11:33 +10:00
Sam Saffron 86b3de510b UX: staged posts show up with opacity 0.4 till on server 2016-07-12 17:03:42 +10:00
Sam Saffron dbc25a9d64 FEATURE: flags for suppressing pinned expansion
To suppress pinned excerpt expansion
on mobile set "show_pinned_excerpt_mobile" to false

To suppress pinned excerpt expansion
on desktop set "show_pinned_excerpt_desktop" to false
2016-07-12 13:53:59 +10:00
Sam 64ca5552bc correct scoping 2016-07-10 16:45:24 +10:00
Sam c5c443fda3 correct typo 2016-07-10 10:51:49 +10:00
Sam d1bb71f99d allow for incomplete fixture 2016-07-08 14:39:27 +10:00
Sam f1b1b0da14 FEATURE: show watched first post in user page 2016-07-08 14:08:10 +10:00
Sam 4161ee210a FEATURE: improved tag and category watching and tracking
- present tags watched on the user prefs page
- automatically watch or unwatch old topics based on watch status

New watching and tracking logic takes care of handling old topics
(either with or without read state)

When you watch a topic you now watch historically

Also removes confusing warnings from user.
2016-07-08 12:58:30 +10:00
Sam 58c2389a7b FEATURE: in dev use #focus to focus on failing test
(comment should be just above the def line)
2016-07-08 12:58:30 +10:00
Sam 8ee830e825 PERF: improve performance of weekly job 2016-07-08 12:58:30 +10:00
Sam bd46bc62ff FEATURE: show like button to anon 2016-07-05 12:11:48 +10:00
Sam 473363e0fa only enable bullet on demand 2016-07-05 11:10:42 +10:00
Sam c182836709 UX: include posters in suggested topics
required for mobile
2016-07-05 10:10:12 +10:00
Sam c665607f72 FIX: not doing non leading word match in emoji autocomplete 2016-07-04 19:16:08 +10:00
Sam ff37685aef improve copy 2016-07-04 18:55:49 +10:00
Sam e805dd7000 UX: improve handling of PM drafts
- Show PM draft if it exists on any of the your user tabs
- If a draft is already open when visiting user profile suppress loading of draft
2016-07-04 18:55:49 +10:00
Sam 1ad3340325 Merge pull request #4304 from Mittineague/add-badge-slug-to-class
Add badge slug to class
2016-07-04 18:01:44 +10:00
Sam d61df21d69 FEATURE: allow people to send messages to themselves (for notes etc) 2016-07-04 11:36:43 +10:00
Sam 92daf44daf correct random suggested topic selection 2016-07-04 10:34:54 +10:00
Sam e858def372 remove invalid specs 2016-07-04 10:34:26 +10:00
Sam 468244e418 remove uneeded copy 2016-07-04 09:53:19 +10:00
Sam 0c6d8e155c Merge pull request #4300 from NuckChorris/patch-2
Log RecordInvalid when verbose_sso_logging enabled
2016-07-01 14:12:06 +10:00
Sam 813fcebdd1 FIX: email_always was not respected correctly
In the past email always meant, email me even if active UNLESS I read post

Now emails always means, always, even if I read the post
2016-07-01 11:22:07 +10:00
Sam b15f6bd211 FIX: s3 cdn urls not remapped correctly 2016-06-30 18:58:38 +10:00
Sam f88cf4e2f0 Merge pull request #4226 from xfalcox/non-persistent-session
FEATURE: add setting permanent_session_cookie to configure session st…
2016-06-29 16:47:31 +10:00
Sam be76a9808a Merge pull request #4287 from steinwaywhw/patch-1
Fix frozen email string problem in mbox.rb
2016-06-29 16:32:30 +10:00
Sam 4b7b80a5c2 Merge pull request #4259 from tgxworld/update_dependencies
Update dependencies
2016-06-29 12:20:18 +10:00
Sam 7a4c3af29d Merge pull request #4279 from scossar/s3cdn-upload-location
FIX: get urlWithCDN before appending protocol
2016-06-29 12:18:44 +10:00
Sam ef93e75f80 correct #4293 no need to muck with site settings, messes up repeat runs 2016-06-29 12:01:37 +10:00
Sam d7adfc08bc Merge pull request #4291 from sijad/fix_editorconfig
Set trim_trailing_whitespace false for markdown
2016-06-29 11:55:01 +10:00
Sam 83b08b87d5 Merge pull request #4269 from choiceaustralia/qunit-args
exit if RETRY is false
2016-06-29 11:44:17 +10:00
Sam 7a6b9a953e Merge pull request #4294 from tgxworld/fix_n+1_queries
PERF: Remove N+1 queries on user messages page.
2016-06-29 11:41:06 +10:00
Sam b4cb2e367c FIX: require full name at signup when display is suppressed and required 2016-06-29 10:43:40 +10:00
Sam 1411eedad3 FEATURE: offer to unwatch categories when unwatching category 2016-06-28 18:34:20 +10:00
Sam ea46e5dd57 UX: add minimum height for zoomed composer on mobile 2016-06-27 17:22:42 +10:00
Sam 3ad1423c53 UX: autofocus the edit reason text field 2016-06-27 16:49:16 +10:00
Sam 6e4ff45e44 FIX: deleting a topic result not updated on screen 2016-06-22 17:28:46 +10:00
Sam 3701a8ada2 FIX: missing in action wrench on short topics 2016-06-22 10:56:23 +10:00
Sam 2d425892c4 FIX: update list of invited users after inviting 2016-06-21 16:01:29 +10:00
Sam 7f78cf3f1a update message bus to release gem 2016-06-21 10:10:54 +10:00
Sam 41718be67f fix linting 2016-06-20 17:13:43 +10:00
Sam 8866169879 FEATURE: can invite/revoke groups on private messages 2016-06-20 16:29:27 +10:00
Sam 9416c93a23 SECURITY: update logster 2016-06-20 12:12:48 +10:00
Sam 7edf7b590f SECURITY: restrict constantize classes in search controller 2016-06-17 13:47:34 +10:00
Sam dd1a184955 Correct mailing list mode unsubscribe 2016-06-17 11:57:23 +10:00
Sam aee7489a5a annotate models 2016-06-17 11:28:49 +10:00
Sam 977facf4e4 clean up copy and styling of mailing list pref 2016-06-17 11:28:49 +10:00
Sam 852860de66 FEATURE: simpler and friendlier unsubscribe workflow
- All unsubscribes go to the exact same page
- You may unsubscribe from watching a category on that page
- You no longer need to be logged in to unsubscribe from a topic
- Simplified footer on emails
2016-06-17 11:28:49 +10:00
Sam 84a1b863a6 UX: add link to watched topics from prefs page 2016-06-15 12:38:47 +10:00
Sam ad15c4ac78 Merge pull request #4268 from choiceaustralia/qunit-args
enable args MODULE and FILTER for qunit:test rake task
2016-06-14 12:49:56 +10:00
Sam e66c51fd85 correct regression where clicking on unlisted topics does not work 2016-06-12 16:36:38 +10:00
Sam 9e75b14535 update is not really needed 2016-06-10 17:25:59 +10:00
Sam 65f466cf8c FIX: topic link reflections deleted on second save 2016-06-10 17:25:59 +10:00
Sam 30e4b17de8 UX: strip outgoing links from bottom of post.
Only show incoming
2016-06-10 13:14:03 +10:00
Sam 3015030fe2 FIX: unlisted topics do not get "slug auto correct" logic 2016-06-10 10:53:26 +10:00
Sam 2e0a87a2ff correct linting error 2016-06-08 17:01:30 +10:00
Sam 6d10812b26 FEATURE: auto expand incoming/outgoing links 2016-06-08 16:49:01 +10:00
Sam 0e2d918b3b correct blankish username not treated correctly in post stream 2016-06-08 15:42:18 +10:00
Sam 614f4ca228 correct bugs 2016-06-08 15:24:27 +10:00
Sam b2f26eaa60 correct test case and add condition 2016-06-08 14:57:13 +10:00
Sam 4bf3fa5356 FEATURE: allow admins to prioritize full name vs username in the UI
Use the site setting prioritize_username_in_ux to switch between prioritizing
the full name vs username
2016-06-08 14:29:24 +10:00
Sam fe1ebee791 we need to fix permissions 2016-06-07 17:43:09 +10:00
Sam d0c5dc9280 rename CONCURRENT to SPROCKETS_CONCURRENT 2016-06-07 17:03:05 +10:00
Sam ba8aec2bc3 added comment for brotli support 2016-06-07 16:58:36 +10:00
Sam 8d1a556f3e FEATURE: Add brotli compression option to precompile
To enable brotli compression on static assets use COMPRESS_BROTLI
2016-06-07 16:55:57 +10:00
Sam 3160cdf2f4 update nokogiri to stable 2016-06-07 16:54:36 +10:00
Sam b9c92a1678 update nokogiri to released version 2016-06-07 16:51:39 +10:00
Sam e01dc54f2a UX: we should always simply use emoji codes as opposed to treating as image 2016-06-02 12:29:25 +10:00
Sam e9ba6e4e99 clean up formatting reports 2016-05-31 07:57:28 +10:00
Sam 3eec0a83b0 clean up stop semantics and bypass test 2016-05-30 13:59:58 +10:00
Sam 706624c9fc workaround incorrect uncategorized category id set in site settings 2016-05-30 13:59:58 +10:00
Sam e11c83341c add more specs 2016-05-30 12:43:01 +10:00