Sam
def7348777
FIX: display custom sections with default theme
...
also cleans up mechanism for previewing themes, cleans up naming,
gets rid of old janky "preview_style", secures local theme key
2017-04-14 13:35:12 -04:00
Sam
d0fa8cda76
correct issue where no selected theme would force incorrect selection
2017-04-12 13:00:25 -04:00
Sam
7f2a80bbc8
correct theme selector expiry selection
2017-04-12 11:59:47 -04:00
Sam
a3e8c3cd7b
FEATURE: Native theme support
...
This feature introduces the concept of themes. Themes are an evolution
of site customizations.
Themes introduce two very big conceptual changes:
- A theme may include other "child themes", children can include grand
children and so on.
- A theme may specify a color scheme
The change does away with the idea of "enabled" color schemes.
It also adds a bunch of big niceties like
- You can source a theme from a git repo
- History for themes is much improved
- You can only have a single enabled theme. Themes can be selected by
users, if you opt for it.
On a technical level this change comes with a whole bunch of goodies
- All CSS is now compiled using a custom pipeline that uses libsass
see /lib/stylesheet
- There is a single pipeline for css compilation (in the past we used
one for customizations and another one for the rest of the app
- The stylesheet pipeline is now divorced of sprockets, there is no
reliance on sprockets for CSS bundling
- CSS is generated with source maps everywhere (including themes) this
makes debugging much easier
- Our "live reloader" is smarter and avoid a flash of unstyled content
we run a file watcher in "puma" in dev so you no longer need to run
rake autospec to watch for CSS changes
2017-04-12 10:53:49 -04:00
Guo Xiang Tan
5cb64810cd
FIX: Changing notification level in topic footer buttons was not updating timeline.
2017-04-12 14:54:03 +08:00
Robin Ward
397e850fba
FIX: Allow replaceState to run on iOS.
...
Removes a test for unsupported versions.
2017-04-07 11:30:24 -04:00
Robin Ward
40ab2e5667
FEATURE: Let users update their emails before confirming
...
This allows users who entered a typo or invalid email address when
signing up an opportunity to fix it and resending the confirmation
email to that address.
2017-04-05 16:44:49 -04:00
Robin Ward
62be121328
FIX: On long browsers, you could get a double title
2017-03-31 13:00:52 -04:00
Robin Ward
45a257815a
Convert front end paths from /users/ to /u/
2017-03-30 10:23:24 -04:00
Robin Ward
6b976433c9
Support for both /users/ and /u/ paths
2017-03-30 10:23:24 -04:00
Robin Ward
b240437b6f
Merge pull request #4777 from gdpelican/add-header-panels
...
Allow plugins to add panels to header more easily
2017-03-29 12:53:08 -04:00
James Kiesel
3b55ceffb3
Use local var for additionalPanels
2017-03-29 08:52:50 +09:00
Robin Ward
86f11955cf
FIX: Clicking on the title was doubling up the title
2017-03-28 17:05:07 -04:00
Robin Ward
243b5756ee
Adds a keyboard shortcut (shift+u) for jumping back to the last read post
2017-03-27 11:23:06 -04:00
James Kiesel
c99883cf65
SEMICOLONS ;.;
2017-03-25 21:44:28 +13:00
James Kiesel
a4127a8f71
Add addAdditionalHeader widget to pluginApi
2017-03-25 21:33:55 +13:00
Régis Hanol
823e50b099
make eslint happy
2017-03-24 01:27:15 +01:00
Régis Hanol
5d9cba5581
quotes should keep new lines
2017-03-24 01:07:32 +01:00
Robin Ward
d161422002
UX: Be more optimistic about showing topic titles while entering topics
2017-03-23 13:53:49 -04:00
Robin Ward
6f230945c2
UX: Clear the header when navigating to a new topic
2017-03-23 13:19:59 -04:00
Victor van Poppelen
9e60f9f093
JSON API parsing error on CSRF exception: single quotes in ['BAD CSRF'] is invalid JSON:
...
https://meta.discourse.org/t/json-api-parsing-error-single-quotes-used-for-errors-like-bad-csrf/58869
2017-03-16 16:47:18 -07:00
Régis Hanol
30d5d61158
use 'toLocaleDateString()'
2017-03-13 16:11:49 +01:00
Régis Hanol
dd60cb82c3
UX: add client-side rate limit on click counters
2017-03-13 11:31:37 +01:00
Guo Xiang Tan
6a7773b681
FIX: Category autocomplete breaks when search menu widget rerenders.
...
https://github.com/discourse/discourse/pull/4717#issuecomment-284914585
2017-03-08 20:13:48 +08:00
Sam
0c03ccb01e
FEATURE: allow plugins to transform, the transformed post
...
This allows plugins to amend posts prior to rendering.
2017-03-07 17:12:31 -05:00
Guo Xiang Tan
60b7453f3f
FIX: Do not trigger fullpage search when selecting autocomplete term with enter.
2017-03-07 11:56:40 +08:00
Guo Xiang Tan
f3a7e398ca
Merge pull request #4717 from cpradio/autocomplete-search
...
FEATURE: Autocomplete support on search
2017-03-07 06:40:45 +08:00
Sam
3227d79430
FIX: extra-nav-item outlet no longer adds a DIV to UL
...
This amends the extensibility on navigation bar so extra nav items are not
added to a DIV nested into the UL, instead the LIs are rendered as usual
2017-03-06 15:00:13 -05:00
Sam
3e3fdfc717
FEATURE: plugin can now extend list of classes for topic-post
2017-03-03 16:57:25 -05:00
Sam
7895b71817
move to use let, missed a spot
2017-03-01 15:15:36 -05:00
Sam
ca951f2cf2
FIX: render custom tag extensions even when tags disabled
2017-03-01 13:38:44 -05:00
Sam
89bd538742
add callback priority to tags html
2017-03-01 12:56:45 -05:00
Sam
8c8de1c2d4
FEATURE: addUserMenuGlyph extensibility point
2017-03-01 10:32:01 -05:00
Sam
f918951d42
FEATURE: clean up tags extensibility
...
centralizes all logic for topic tag rendering and provides API for extension
2017-02-28 17:08:43 -05:00
Sam
122fb8025d
FIX: last seen date erroneously updated when browser in background
...
In some cases user may be "last seen" even though browser tab is in
the background or computer is locked
2017-02-28 12:35:10 -05:00
Robin Ward
b2b7f4d905
FIX: Query parameters were not being cleared when changing filtering.
2017-02-27 15:49:14 -05:00
cpradio
59922a7899
Extract autocomplete initialization to a function
...
Create a REGEXP_TAGS_REPLACE regex to remove a chained .replace call
Fix autocomplete positioning
2017-02-27 07:48:14 -05:00
Jeff Atwood
ad6cb3c638
force all iOS editors to minimum height for compat
2017-02-22 16:56:19 -08:00
Jeff Atwood
22fc761cc3
tweak iOS composer heights a bit
2017-02-22 15:48:39 -08:00
cpradio
38d7234018
FEATURE: Autocomplete support on advanced search
2017-02-22 08:42:16 -05:00
Jeff Atwood
c191e2e84c
more conservative editor heights on iOS
2017-02-21 16:25:46 -08:00
James Kiesel
7dc0e11360
Rename exported function
2017-02-21 02:53:16 +13:00
James Kiesel
ffe41c9ae8
Allow access to safari hack applicable function
2017-02-21 02:32:01 +13:00
Sam
023bd0e9e7
FEATURE: allow client side of topic list to accept custom params
...
- Also normalize API version to use a version comparison function instead of float
2017-02-15 16:14:43 -05:00
Sam
675cb1c715
FEATURE: allow registrations of custom small action icons via plugins
2017-02-10 12:55:21 -05:00
Sam Saffron
4332f0dde1
FEATURE: allow user search API to restrict to group
2017-02-09 18:45:39 -05:00
Robin Ward
cef8a0af34
Merge pull request #4657 from gdpelican/reopen-widget
...
Add reopenWidget method
2017-02-01 13:18:55 -05:00
Guo Xiang Tan
18007ed34b
FIX: Can't use an internal name here if SiteSetting.convert_pasted_images_to_hq_jpg is false.
2017-02-01 14:51:56 +08:00
Guo Xiang Tan
6c8c91dca4
UX: Change default filename for images that have been pasted.
2017-02-01 14:44:41 +08:00
James Kiesel
816a030f78
Bump plugin api to 0.7
2017-02-01 11:05:47 +13:00