Commit graph

16812 commits

Author SHA1 Message Date
Robin Ward
94b60e62a2 FEATURE: New markdown editor re-written in Ember
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.

To avoid major breakage, this replaces it everywhere else it was
used:

* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts

A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
Arpit Jalan
49edffd3c3 FEATURE: support linking to a specific revision of a topic/post 2015-10-19 14:31:29 +05:30
Sam
dfe3ecb914 PERF: disable prepared statements
see: https://github.com/rails/rails/issues/21992
2015-10-19 14:02:22 +11:00
Sam
d8960007ca FIX: auto inherit prepared_statements false in multisite 2015-10-19 12:32:34 +11:00
Sam
dc10bdee3d FIX: incorrect localization in flagging dialog
- only happens when multiple locales enabled
2015-10-19 11:42:33 +11:00
Sam
dc859beff3 FEATURE: add handle_mail admin route
you can post full email payloads to this endpoint /admin/email/handle_mail
2015-10-19 08:33:24 +11:00
Régis Hanol
b117c2541d Merge pull request #3859 from jamesgecko/mentions-preceeded-by-slashes-generate-usercard-links
Make @mentions following a slash link to usercards
2015-10-18 10:56:26 +02:00
Arpit Jalan
59a011e6a9 FIX: min_trust_to_create_topic affects private messages 2015-10-17 15:30:18 +05:30
Sam
805120fc95 FEATURE: add connnection reaping based on maximum age
This feature ensures connections to the db are always attempted to be closed
after 600 seconds of idle time.
2015-10-17 11:29:16 +11:00
James D
44b04e4521 Make @mentions following a slash link to usercards
A slash preceding an @mention was causing the markup for the usercard
link to not be generated. For example, the markdown

Pinging @bob/@joe

Would generate a usercard for @bob, but not @joe.
2015-10-16 19:18:46 -04:00
Régis Hanol
5bea933370 fix build 2015-10-16 23:39:01 +02:00
Robin Ward
f155ff8270 FIX: Tests would fail if your test db's optimized image ids were high 2015-10-16 17:08:41 -04:00
Jeff Atwood
9e01a7d834 copyedits on category description topic text 2015-10-16 13:12:34 -07:00
Arpit Jalan
a439500bac FIX: do not mark post as spam if the previous flag was disagreed 2015-10-17 01:30:53 +05:30
Robin Ward
0547fcf799 UX: Show a loading spinner when loading an post you're editing.
cc @coding-horror
2015-10-16 14:57:53 -04:00
Neil Lalonde
131e7ed445 fix MergePollsVotes migration 2015-10-16 13:54:41 -04:00
Neil Lalonde
14bfeec25e Merge pull request #3844 from gschlager/patch-1
FIX: Pressing Ctrl+F twice should show browser find
2015-10-16 13:16:55 -04:00
Régis Hanol
8f2b002203 FIX: a poll option cannot be voted more than 100% of the time 2015-10-16 17:18:22 +02:00
Régis Hanol
06b799bfbf Merge pull request #3857 from gdpelican/fix-for-untopiced-posts
Don't error on posts#latest if a post does not have a topic
2015-10-16 14:59:36 +02:00
James Kiesel
695b366a03 Don't error on posts#latest if a post does not have a topic 2015-10-16 14:44:48 +03:00
Régis Hanol
ce47a05834 Merge pull request #3856 from tgxworld/whitelist_chars_autocomplete
FIX: Whitelist parentheses and brackets in autocomplete.
2015-10-16 09:37:21 +02:00
Guo Xiang Tan
8e8e787ad0 FIX: Whitelist parentheses and brackets in autocomplete. 2015-10-16 13:17:51 +08:00
Jeff Atwood
e744d85c99 move jagged-border gap removal to mobile only 2015-10-15 17:19:10 -07:00
Jeff Atwood
7338f74f14 CSS order of operations incorrect 2015-10-15 17:10:02 -07:00
Sam
a6be3d7cbe skip post processing stuff we did not import 2015-10-16 10:41:21 +11:00
Sam
606aeb9d55 improvements to importer
- improve perf of test for existing posts
- always use a system guardian when importing posts
- for lithuim importer requery raw (transform is not repeatable)
2015-10-16 10:41:21 +11:00
Arpit Jalan
06f616792d Update Translations 2015-10-15 18:19:04 +05:30
Régis Hanol
d75cc67d86 FIX: robots.txt should be accessible even when login is required 2015-10-15 11:42:41 +02:00
Régis Hanol
de344bcd7e Merge pull request #3854 from tgxworld/fix_transactional_race_condition
FIX: Race condition when wrapping `PostCreator#create` in a transaction.
2015-10-15 11:07:20 +02:00
Régis Hanol
37c5909a31 FIX: use the first image in the first post in the topic as opengraph image
FEATURE: new 'default_opengraph_image_url' setting
2015-10-15 11:00:47 +02:00
Régis Hanol
73e345fe8f FIX: unescape emojis in digests 2015-10-15 09:59:29 +02:00
Guo Xiang Tan
600e42c2ba FIX: Race condition when wrapping PostCreator#create in a transaction. 2015-10-15 14:42:40 +08:00
Régis Hanol
03f9668d60 Merge pull request #3853 from dandv/patch-2
Handle usernames with consecutive spaces
2015-10-15 08:28:43 +02:00
Dan Dascalescu
9171125954 Handle usernames with consecutive spaces 2015-10-14 17:44:27 -07:00
Robin Ward
e8424bd54e SECURITY: Moderators should not see API keys 2015-10-14 15:40:23 -04:00
Robin Ward
a527c58c7d UX: Show a nicer "Log In" screen if the user follows /my/preferences 2015-10-14 13:39:31 -04:00
Robin Ward
d66a545dd2 FIX: /my/preferences should prompt users to log in 2015-10-14 12:40:13 -04:00
Neil Lalonde
37c783c348 Merge pull request #3851 from xfalcox/patch-3
Fix impersonate redirect on subfolder install
2015-10-14 11:02:41 -04:00
Arpit Jalan
b60bceba36 fix the build 2015-10-14 19:20:30 +05:30
Arpit Jalan
2eece87206 UX: clip long category names in suggested topics 2015-10-14 19:02:57 +05:30
Sam Saffron
8a0a87812b FIX: navigating back to latest was not respecting pinned topics 2015-10-14 13:03:55 +11:00
Sam
22d0f2ef8a Merge pull request #3802 from dandv/patch-2
FIX: Correct processing of quote line in MyBB import
2015-10-14 13:02:45 +11:00
Jeff Atwood
b72b72747c switch to v2 avatars by default 2015-10-13 15:44:59 -07:00
Jeff Atwood
b817bebdff clarify wording on globally pinned topics 2015-10-13 14:53:55 -07:00
Jeff Atwood
23f46cd6de update copy for muted topics 2015-10-13 14:40:35 -07:00
Robin Ward
bf53938ab7 FIX: On IOS9 the topic entrance was resizing the topic list 2015-10-13 16:59:32 -04:00
Robin Ward
7802757306 FIX: Username for topic creation is required 2015-10-13 16:33:26 -04:00
Rafael dos Santos Silva
dfed999ec8 Remove getUrl on impersonate redirect
As said by  @riking @nlalonde and @ZogStriP
2015-10-13 16:52:35 -03:00
Robin Ward
ae4ef1e70f Add spinner to composer saving 2015-10-13 13:06:24 -04:00
Régis Hanol
7ceecb0989 Merge pull request #3852 from tgxworld/fix_conditions_when_flagging_message
FIX: Conditions broken in flagging modals.
2015-10-13 11:02:35 +02:00