Robin Ward
a075fd46fd
FIX: Don't use exceptions to catch conflicts
...
If a database exception is raised ActiveRecord will always rollback
even if caught.
Instead we build the query in manual SQL and DO NOTHING when there's a
conflict. If we detect nothing was done, perform an update.
2019-07-06 14:43:56 -04:00
Kris
a9982b5aa2
UX: Make default site logo height an even 40px
2019-07-05 23:46:43 -04:00
Robin Ward
de6edf9e4e
FIX: Back button would go to previous topic instead of list
...
See related topic:
https://meta.discourse.org/t/back-button-history-not-properly-working/122183
The issue here is the transition was not completing properly which meant
if you backed out of a topic quickly and entered a new one, hitting back
in the second topic would sometimes take you to the previous one instead
of back to the topic list.
2019-07-05 15:53:14 -04:00
Robin Ward
66214eee85
SECURITY: Strip HTML from invite emails
...
We also strip new lines from the emails because it ruins the markdown
formatting which expects a one line message.
2019-07-05 14:57:11 -04:00
Régis Hanol
155cad8b85
FIX: only add image size when with & height are in pixels
2019-07-05 20:34:11 +02:00
Kris
589351d996
UX: Give badge icons width to accommodate for dimensionless SVGs
2019-07-05 12:37:18 -04:00
Penar Musaraj
7c130990e9
FIX: IE grid layout issue on user's own activity page
2019-07-05 12:05:58 -04:00
Arpit Jalan
5494e17c71
UX: improve twitter status onebox with line breaks
2019-07-05 20:37:08 +05:30
Arpit Jalan
5bc1fd23b0
Bump onebox version.
...
- update HTML for twitter quoted onebox
- updated CSS for twitter quoted onebox
2019-07-05 19:35:36 +05:30
Arpit Jalan
bd084b2147
FIX: do not show invite button if local logins are disabled
2019-07-05 15:16:20 +05:30
Joffrey JAFFEUX
f140c4d499
FIX: ensures routing to / with query string works ( #7859 )
2019-07-05 09:40:19 +02:00
Vinoth Kannan
1bb258ab49
DEV: use upload short-url in html to markdown conversion if 'base62-sha1' data attr available.
2019-07-05 10:06:41 +05:30
Ralph Rooding
1318e0b288
FEATURE: Rake themes installer ( #7848 )
...
* Delete remote_theme when deleting the theme
* Install themes and theme components through rake
* Removed unnecessary test
2019-07-04 14:33:05 -04:00
Robin Ward
72bac61c90
FIX: Upsert a custom field if a unique constraint fails
2019-07-04 13:26:25 -04:00
Penar Musaraj
c78634284c
UI: when in a different topic context, allow dismissing draft without destroying it
...
This changes the label and behaviour of the "No, keep" button in the confirmation modal when user cancels a draft while on a different topic. The new button label is "No, save draft", and when clicked, the composer will be dismissed without destroying the draft.
2019-07-04 11:45:57 -04:00
Penar Musaraj
03805e5a76
FIX: Ensure lightbox image download has correct content disposition in S3 ( #7845 )
2019-07-04 11:32:51 -04:00
Mario Santos
c5625b70f1
FIX: Prevent emoji-picker from not showing ( #7856 )
...
If an external plugin inserts an element with class "emoji-picker", something probable if they extend EmojiPicker, it could cause troubles as css is added depending on the emoji-picker height. Just by adding a class of a parent <div> as could be d-editor, we prevent this from happening.
2019-07-04 11:46:21 +02:00
Gerhard Schlager
a5e80079d6
FEATURE: Add Belarusian language
2019-07-04 11:37:37 +02:00
David Taylor
2063d20e9a
Revert "DEV: Let OmniAuth strategies return auth result. ( #7833 )"
...
This reverts commit dc5eb76551
.
It is better to keep any custom redirect logic within omniauth, without relying on the app
2019-07-04 10:06:18 +01:00
Joffrey JAFFEUX
71bf9ec1b2
FEATURE: opt-in guidance on topics for users without access ( #7852 )
...
Co-Authored-By: majakomel <maja.komel@gmail.com>
Co-Authored-By: Robin Ward <robin.ward@gmail.com>
2019-07-04 10:12:39 +02:00
David Taylor
5fdf228db6
FIX: Respect the full_screen_login parameter from plugin auth providers ( #7855 )
...
This behavior was regressed in 427979e7e5
2019-07-04 09:06:29 +01:00
Arpit Jalan
1708be4f27
FEATURE: support query params when redirecting to internal link on login ( #7829 )
2019-07-04 11:11:43 +05:30
David Taylor
0f813fc7c7
DEV: Remove reference to non-existent letter_proxy
route
...
This was introduced in f04471e422
, but never actually used
2019-07-03 23:48:32 +01:00
Bianca Nenciu
459932f4e2
FIX: Use title attribute for notification items. ( #7840 )
2019-07-03 10:48:13 -04:00
Julian Calvento
f3c9dbcf20
UX: Add styling for quoted tweets ( #7832 )
2019-07-03 10:34:46 -04:00
romanrizzi
9ca1bbe900
Revert "FIX: remove misplaced save button"
...
This reverts commit 4f468ef210
.
2019-07-03 10:56:08 -03:00
Joffrey JAFFEUX
f9f1df7611
DEV: prevents reports key to be time dependant when testing ( #7850 )
2019-07-03 15:43:01 +02:00
romanrizzi
4f468ef210
FIX: remove misplaced save button
2019-07-03 10:39:01 -03:00
Bianca Nenciu
bfdf740a05
FIX: Show 'Export' button for all tabular reports. ( #7838 )
2019-07-03 14:47:36 +02:00
OsamaSayegh
426c8045de
FIX: logs for enabling/disabling components should show up in the staff actions logs
2019-07-03 12:33:25 +00:00
Osama Sayegh
3d64532273
FEATURE: allow disabling theme components ( #7812 )
...
This allows you to temporarily disable components without having to remove them from a theme.
This feature is very handy when doing quick fix engineering.
2019-07-03 18:18:11 +10:00
Joffrey JAFFEUX
ecf0215ee7
DEV: resets page tracking state between tests ( #7847 )
2019-07-03 10:08:05 +02:00
Joffrey JAFFEUX
9ee2c121c1
FIX: ensures emoji helper is working with custom emojis ( #7843 )
2019-07-03 09:23:40 +02:00
Joffrey JAFFEUX
0733ed3a2b
FIX: ensures /t/TOPIC_ID/POST_NUMBER is correctly routing ( #7841 )
2019-07-03 09:23:23 +02:00
Penar Musaraj
6e3e0685fb
DEV: add useBlockMode option for toolbar button text selection
...
Allows buttons to switch selection to block mode if needed.
2019-07-02 18:02:40 -04:00
Rafael dos Santos Silva
c422520b4a
FEATURE: Add CSS classes to associated accounts rows
2019-07-02 16:56:15 -03:00
Joffrey JAFFEUX
72441e2c7c
FIX: page starts at 1 ( #7844 )
2019-07-02 17:26:23 +02:00
romanrizzi
8404921b91
FIX: Remove misplaced outlet
2019-07-02 11:26:40 -03:00
Arpit Jalan
ccb3ba509d
FIX: creating new badge is failing on empty SQL query ( #7837 )
2019-07-02 15:12:53 +05:30
Joffrey JAFFEUX
1b45096aa5
UX: improves styling of similar topics results in composer ( #7839 )
2019-07-02 11:26:43 +02:00
Penar Musaraj
fca2f0f212
FIX: Only show remove timer button to users with permission to do so
2019-07-01 22:17:02 -04:00
Osama Sayegh
f1c67729de
Different fix ( #7815 )
2019-07-02 11:53:16 +10:00
Sam Saffron
4dcc5f16f1
FEATURE: when under extreme load disable search
...
The global setting disable_search_queue_threshold
(DISCOURSE_DISABLE_SEARCH_QUEUE_THRESHOLD) which default to 1 second was
added.
This protection ensures that when the application is unable to keep up with
requests it will simply turn off search till it is not backed up.
To disable this protection set this to 0.
2019-07-02 11:22:01 +10:00
Dan Ungureanu
dc5eb76551
DEV: Let OmniAuth strategies return auth result. ( #7833 )
2019-07-01 13:13:11 -03:00
Arpit Jalan
f56d86a852
FIX: use normal title instead of fancy title for prefilled composer
2019-07-01 17:55:24 +05:30
Joffrey JAFFEUX
7b52a110b8
DEV: removes DOMTokenList polyfill ( #7831 )
...
Creates more issues than it solves especially on IOS, I dont trust it anymore. Will reconsider if this is an issue in the future.
2019-07-01 14:08:38 +02:00
Gerhard Schlager
d513c28e3b
FIX: Don't send notification email when user isn't allowed to see topic
2019-07-01 14:03:03 +02:00
Arpit Jalan
997250586c
FEATURE: prefill title for direct messages from topic
...
https://meta.discourse.org/t/default-re-title-title-for-direct-messages-from-topic/121413
2019-07-01 17:14:08 +05:30
Joffrey JAFFEUX
af58049eeb
UX: puts tags and categories on same line in search-menu-results ( #7830 )
2019-07-01 13:11:43 +02:00
Joffrey JAFFEUX
384f5cea05
FIX: ensures static pages are using absolute path ( #7828 )
2019-07-01 11:25:45 +02:00