Joffrey JAFFEUX
11faec71ae
FIX: prevents group show serializer to override basic group serializer ( #10326 )
2020-07-28 18:11:15 +02:00
Robin Ward
4e317e7aca
FIX: Computed property deprecation
...
This `description` field on a theme is returned from the server side and
needn't be calculated in the front end. I tested in the UX and seems to
work well.
2020-07-28 11:55:47 -04:00
Robin Ward
fc63f0d316
FIX: page:changed was sometimes reporting the wrong URL
...
(This change could be considered a little risky so we should keep an eye
on it.)
The core issue here is that sometimes as far as the router was concerned
we had transitioned to a route even if a Topic model was still in the
process of loading. In this case the callback could not retrieve the
correct title yet because it had not loaded.
This fix returns a promise from `setupController` when visiting a topic,
which will have the router block until the topic is loaded. This means
that the transition never triggers until the topic title is present.
Note: adding a test for this is basically impossible - it was super hard
to reproduce even in a browser.
2020-07-28 11:48:40 -04:00
Penar Musaraj
69efbd213b
DEV: Refactor dark-light-diff
usage in stylesheets
...
- Adds new `$danger-low-mid` SCSS variable
- Removes `dark-light-diff` outside variables and color transformations
2020-07-28 11:06:06 -04:00
Robin Ward
c9485692ed
FIX: Add back group redirects
2020-07-28 10:59:42 -04:00
Joffrey JAFFEUX
0c7eaa57b2
FEATURE: allows to display charts by day/week/month ( #10325 )
2020-07-28 16:14:41 +02:00
Kris
074fa5cb18
Follow-up Safari fixes for 89f6ff1
2020-07-27 20:45:29 -04:00
Kris
7508c55a7b
Remove extra whitespace between d-button icon and text
2020-07-27 18:49:57 -04:00
Blake Erickson
070a1d6e1e
DEV: Remove duplicate allowedPmUsernames property
...
This property is already declared in the same file, so this removes the
one that isn't needed.
2020-07-27 16:10:00 -06:00
Kris
89f6ff1574
Prevent topic title from clipping some characters due to overflow
2020-07-27 17:26:48 -04:00
Jarek Radosz
223b6d17bf
DEV: Fix a function name typo
2020-07-27 11:22:57 +02:00
Sam Saffron
de5ef5d895
DEV: add CSS class for composer action
...
This CSS class can be used to style specific composer actions
2020-07-27 16:51:01 +10:00
Sam Saffron
179335b5e3
DEV: correct performance hack
...
This code was intended to bypass iterating through tags in absence of a new
or unread topic.
Instead it always fired cause it was checking for function existence which
was clearly always true.
2020-07-27 16:51:01 +10:00
Krzysztof Kotlarek
f2342c2d32
FIX: reserve id for reaction notifications ( #10315 )
...
Use id 25 for reaction notifications
2020-07-27 11:39:50 +10:00
Krzysztof Kotlarek
e0d9232259
FIX: use allowlist and blocklist terminology ( #10209 )
...
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
2020-07-27 10:23:54 +10:00
Robin Ward
5077cf52fd
REFACTOR: Remove Discourse.SiteSettings
from upload.js
2020-07-24 13:39:16 -04:00
Robin Ward
bb2460fe66
FIX: Uploads was not testing properly
2020-07-24 09:45:55 -04:00
Robin Ward
808b5aa5ba
FIX: Pass siteSettings
through in more places
2020-07-24 09:45:55 -04:00
Robin Ward
f8aa304c7d
REFACTOR: Remove Discourse.SiteSettings
from uploads.js
...
This involves passing the siteSettings around, which is somewhat error
prone so I tried to be careful.
2020-07-24 09:45:55 -04:00
Robin Ward
8456252c21
Add deprecation for Discourse.SiteSettings
in a helper
2020-07-24 09:45:55 -04:00
Robin Ward
c4d5c0c91b
REFACTOR: Remove Discourse.SiteSettings
from utilities
...
This involves a little refactoring of how our `defaultHomepage()` works.
It previously would check the meta tag / site settings each time it was
called but now it only checks once on application boot.
2020-07-24 09:45:55 -04:00
Robin Ward
4def5a8339
Remove old redirect rules
2020-07-24 09:45:55 -04:00
Robin Ward
06a3fd0566
This initializer is not used anymore
2020-07-24 09:45:55 -04:00
Robin Ward
bad083b3a3
REFACTOR: Remove Discourse.SiteSettings
from clipboardData
...
Also rename method to `clipboardHelpers` to make searching easier since
`clipboardData` refers to browser functionality.
2020-07-24 09:45:55 -04:00
Robin Ward
0213211068
REFACTOR: Remove Discourse.SiteSettings
from text helpers
2020-07-24 09:45:55 -04:00
Robin Ward
98fee7aa50
REFACTOR: Remove Discourse.SiteSettings
from highlightSyntax
2020-07-24 09:45:55 -04:00
Robin Ward
656abe22c7
REFACTOR: Remove Discourse.SiteSettings
from more lib-like helpers
2020-07-24 09:45:55 -04:00
Martin Brennan
1dd3af20c6
FIX: Do not show Email tab for group settings unless IMAP + SMTP enabled ( #10301 )
...
Also hide all the SMTP/IMAP related settings to avoid confusion, as this feature is still not 100% ready to go.
2020-07-24 12:00:36 +10:00
David Taylor
61d3640643
DEV: Improve HTML structure for group-reports-nav-item outlet
2020-07-23 12:44:11 +01:00
Martin Brennan
e027acd367
FIX: Move consts and translations for bookmark auto delete prefs ( #10295 )
2020-07-23 13:12:28 +10:00
Penar Musaraj
1100b3d185
UX: fix spacing of composer preview on mobile
...
Followup to 723d7e3a
2020-07-22 14:36:05 -04:00
Robin Ward
c1bcb78441
REFACTOR: Allow helpers to access site settings
...
Since `Discourse.SiteSettings` is removed, helpers can now include and
call `helperContext().siteSettings` to get access to the settings
without using a global variable.
2020-07-22 14:14:38 -04:00
Robin Ward
939fae3500
REFACTOR: Remove Discourse.SiteSettimgs
from @setting decorator
2020-07-22 13:27:57 -04:00
Robin Ward
4ecb4439b9
REFACTOR: Remove Discourse.SiteSettings
from lightbox.js
2020-07-22 13:27:57 -04:00
Robin Ward
94419d0176
REFACTOR: Remove Discourse.SiteSettings
from static route builder
2020-07-22 13:27:57 -04:00
Robin Ward
0bf28e418f
REFACTOR: Remove Discourse.SiteSettings
from lib:search
2020-07-22 13:27:57 -04:00
Robin Ward
aa2eea7729
REFACTOR: Remove Discourse.SiteSettings
from click tracking
2020-07-22 13:27:57 -04:00
Robin Ward
bc7dac852f
REFACTOR: Remove Discourse.SiteSettings
from Category model
2020-07-22 13:27:57 -04:00
Robin Ward
217b970e16
REFACTOR: Remove Discourse.SiteSettings
from desktop notifications
2020-07-22 13:27:57 -04:00
Robin Ward
37f2611d9c
REFACTOR: Remove Discourse.SiteSettings
from topic bulk actions
2020-07-22 13:27:57 -04:00
David Taylor
5b7c016ebc
FIX: Restore navigation-bar on tag topic list
...
This was accidentally removed in ac0d5b1d
2020-07-22 18:26:37 +01:00
tshenry
723d7e3a61
FEATURE: Submit post from mobile composer preview ( #10286 )
2020-07-22 09:17:51 -07:00
Bianca Nenciu
1fc58b5a4e
FEATURE: Add query params to staff action logs ( #10279 )
2020-07-22 18:25:58 +03:00
Penar Musaraj
09eb087f84
FIX: Remove iOS trick to prevent scrolling when focusing on input
...
No longer needed, removing it also fixes blinking when tapping the composer textarea
2020-07-22 11:18:01 -04:00
Jarek Radosz
300e30dcbf
FIX: Remove the border from YT thumbnail placeholder ( #10288 )
2020-07-22 16:38:35 +02:00
Penar Musaraj
45ae24a1e9
FIX: Apply video preview trick for Safari to stream only
2020-07-22 10:31:08 -04:00
Jordan Vidrine
5f19fd64ea
Update wizard.scss
2020-07-22 09:24:04 -05:00
Jordan Vidrine
b0b42a3209
FIX: add system fonts to wizard
2020-07-22 09:07:57 -05:00
Vinoth Kannan
0884d570b1
FEATURE: add support for top
filter in tag page. ( #10281 )
...
Currently, tag pages only have the `latest` filter.
2020-07-22 19:26:36 +05:30
Penar Musaraj
6d39452317
UX: Shrink composer consistently when pressing Done in iOS
2020-07-21 23:54:43 -04:00