Sam
0bb96e2536
FIX: stop double compiling all hbs files
2017-04-14 15:53:17 -04:00
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
Arpit Jalan
c9c7ec799f
FIX: add minimum value for invites_per_page setting
2017-04-14 17:58:18 +05:30
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
Dean Taylor
1a9afa976d
FEATURE: Add AWS S3 EU (London) "eu-west-2" region
2017-04-12 10:38:17 -04:00
Guo Xiang Tan
66a7b0c30b
FIX: Add web hook `DiscourseEvent`s in initializer.
2017-04-12 11:55:49 +08:00
Régis Hanol
2d9b31b147
allow 'max_image_megapixels' up to 150MB
2017-04-11 07:44:10 +02:00
Neil Lalonde
6af864b969
Update translations
2017-04-10 13:43:35 -04:00
Risto
231fea1bdb
Typo fix
...
A weird period/full stop in the middle of a word.
2017-04-07 23:29:08 +03:00
Arpit Jalan
ff530d6fb3
Update Translations
2017-04-07 22:23:39 +05:30
Arpit Jalan
96a070d73d
FIX: incorrect title for custom_invite_forum_mailer
2017-04-07 13:30:33 +05:30
Régis Hanol
93556bb950
Merge pull request #4793 from rcgordon/smtp-fast-rejection
...
Added an API to ask if an incoming email should be dropped at the SMTP level.
2017-04-07 09:59:52 +02:00
Guo Xiang Tan
8e23b7fbc9
UX: Remove copy that is no longer valid.
2017-04-06 15:14:15 +08:00
Guo Xiang Tan
9bc6a60503
Merge pull request #4765 from ElTipejoLoco/show_tracked_topics_link
...
FEATURE: Add "Show tracked topics" to User Prefs
2017-04-06 12:34:10 +08:00
Arpit Jalan
f960505359
FIX: translate badge metadata title
2017-04-06 09:57:52 +05:30
Ryan C. Gordon
e15d11df18
Added an API to ask if an incoming email should be dropped at the SMTP level.
...
This lets an SMTP server optionally decide if it should reject a mail without
passing it on to Discourse at all, possibly before even reading the
email's payload, to prevent spam-induced backscatter and save resources.
This just does the bare minimum sanity checking that could prevent obvious
backscatter. For legit errors from legit users, Discourse will still send a
much more pleasant reply email.
2017-04-05 23:10:36 -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
Bianca Nenciu
9065df76ad
FEATURE: Change name from admin page.
...
https://github.com/discourse/discourse/pull/4770
2017-04-05 17:40:27 +08:00
Robin Ward
17f2974d0a
SECURITY: Confirm new administrator accounts via email
2017-04-04 15:59:01 -04:00
Guo Xiang Tan
f4758a4c4d
FEATURE: Allow admins to schedule a topic to be published in the future.
2017-04-04 11:16:05 +08:00
Arpit Jalan
ac051d70ef
FIX: use enum values for trust level settings
2017-04-03 14:23:48 +05:30
Jeff Atwood
549aa9204c
typo fix
2017-03-31 23:37:48 -07:00
Jeff Atwood
c58f9d37ae
copyedits on New User of the Month
2017-03-31 16:28:29 -07:00
Robin Ward
fc7fa4c0ad
Rename "Rookie of the Month" to "New User of the Month"
2017-03-31 16:30:30 -04:00
Robin Ward
e6f6bd34d8
Send the user a notice when they've received rookie of the month
2017-03-31 15:06:31 -04:00
Robin Ward
893e93dfbe
New badge, Rookie of the Month, for two new high quality users.
2017-03-31 15:06:31 -04:00
Jeff Atwood
2fd1c49b88
we don't need this IE 10 tag any more, see
...
http://stackoverflow.com/questions/26346917/why-use-x-ua-compatible-ie-edge-anymore
2017-03-31 00:12:07 -07:00
Guo Xiang Tan
ed577fbff8
FEATURE: Pause a topic instead of permanently closing when flag threshold is reached.
2017-03-31 14:35:05 +08:00
Guo Xiang Tan
2fa82ba4ff
UX: Update copy for topic status update UI.
2017-03-31 12:06:55 +08:00
Guo Xiang Tan
beba481bc8
UX: Update copy to remove a topic status update.
2017-03-31 11:54:20 +08:00
Guo Xiang Tan
7cf2528f18
UX: Copy changes for auto topic status update.
2017-03-31 11:45:10 +08:00
Guo Xiang Tan
34b7bee568
FEATURE: Allow admin to auto reopen at topic.
...
* This commit also introduces a `TopicStatusUpdate`
model to support other forms of deferred topic
status update in the future.
2017-03-31 11:14:18 +08:00
Guo Xiang Tan
12e02873fc
Remove duplications in routes.rb.
2017-03-31 10:14:08 +08:00
Robin Ward
14410b71fb
Convert server side paths to use `/u/`
2017-03-30 10:23:24 -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
Yana Agun Siswanto
cd2d2f16e5
Allow to order search results by the topic creation date
...
based on: https://meta.discourse.org/t/allow-to-order-search-results-by-the-topic-creation-date/38544
2017-03-30 01:18:38 +07:00
Neil Lalonde
c19bf7e1bd
Update translations
2017-03-28 10:50:09 -04:00
Arpit Jalan
8bf12502bd
Merge pull request #4780 from techAPJ/send-statistics
...
FEATURE: Send anonymized usage statistics to Discourse if "Discourse Hub" can't reach the site
2017-03-28 10:02:05 +05:30
Arpit Jalan
f3cd5f61c5
FEATURE: Send anonymized usage statistics to Discourse if Discourse Hub can't reach the site
2017-03-28 09:07:23 +05:30
Erick Guan
e3e3a04cd2
enable_noscript_support is not used anymore
2017-03-27 11:09:50 +02:00
Guo Xiang Tan
3ef82bb32c
SECURITY: CSRF vulnerabilities in `Admin::BackupsController`.
2017-03-23 10:29:35 +08:00
Neil Lalonde
11ce73b8ed
FEATURE: category setting for default top period
2017-03-22 16:54:18 -04:00
Arpit Jalan
786fd6bbd2
Merge pull request #4774 from techAPJ/email-prefix
...
FIX: use email prefix only in subject
2017-03-22 14:18:50 +05:30
Arpit Jalan
295cf8839e
FIX: better error message when invited user already exists
2017-03-22 13:55:28 +05:30
Robin Ward
874e8900af
Display email address in SSO error message.
2017-03-21 15:37:46 -04:00
Robin Ward
aeaf5075bf
Custom errors for when Email is invalid via SSO
2017-03-21 15:23:38 -04:00
Arpit Jalan
1853a4852c
FIX: use email prefix only in subject
2017-03-21 20:29:57 +05:30
Sam
c106ca6778
FEATURE: fallback asset path for multi host setups
2017-03-20 15:59:17 -04:00
Sam
2640b4e173
FEATURE: add hook and asset path variable
2017-03-20 12:12:22 -04:00
Neil Lalonde
8b1bfeb4c6
Update translations
2017-03-20 11:04:34 -04:00
ElTipejoLoco
e234a7821d
Add "Show tracked topics" to User Preferences
...
Does what it says on the tin. Minor clean-up.
2017-03-17 08:05:21 -05:00
Neil Lalonde
ad8a579c79
UX: banner enabled/disabled posts should be small posts, not full-size posts
2017-03-16 17:31:37 -04:00
Jeff Atwood
63c8b23690
minor copyedits in guidelines
2017-03-16 13:36:27 -07:00
Neil Lalonde
fb96cf3aae
Merge pull request #4761 from joebuhlig/fix-tl3-requirements-route
...
FIX: Add route for user TL3 requirements page
2017-03-16 12:13:08 -04:00
Neil Lalonde
22f197c153
FEATURE: subcategory list style: boxes with featured topics
2017-03-16 11:54:45 -04:00
Joe Buhlig
8d06833e51
FIX: Add route for user TL3 requirements page
2017-03-16 10:05:28 -05:00
Guo Xiang Tan
bf78c228f4
FIX: User created web hook being enqueued before record has been saved.
...
* Improve web hook tests as well.
2017-03-16 14:44:09 +08:00
Guo Xiang Tan
1a7e954e09
FIX: Store custom emojis as uploads.
...
* Depending on a hardcoded directory was a flawed design
which made it impossible to debug when custom emojis go
missing.
2017-03-14 13:07:18 +08:00
Neil Lalonde
6d7e968e30
FEATURE: box-style rendering of sub-categories
2017-03-13 15:25:52 -04:00
Guo Xiang Tan
7ebfa3c901
SECURITY: Only allow users to resend activation email with a valid session.
...
* Improve error when an active user tries to request for an activation email.
2017-03-13 19:35:29 +08:00
Arpit Jalan
848120c098
FEATURE: RSS feed for top page period filters
2017-03-13 15:23:46 +05:30
Sam
16593ae8bf
FEATURE: log reason staff auto blocks a user
2017-03-10 15:45:48 -05:00
Sam
f9f38873a2
FEATURE: add support for SIGTSTP which stops sidekiqs
...
Out of the box this signal "suspends" the process, but
we already use usr1 and usr2 and this is for an edge case
where the end user suspends it by typing "stop"
2017-03-10 11:36:10 -05:00
Arpit Jalan
f7e7ca3937
FEATURE: anonymized site statistics
2017-03-10 18:50:26 +05:30
Guo Xiang Tan
0e41b1181a
UX: Display button to add a group when no group has been selected.
...
https://meta.discourse.org/t/new-button-on-groups/44546
2017-03-10 17:15:49 +08:00
Guo Xiang Tan
b419a5765e
FEATURE: Add seen/unseen filters to advanced search UI.
...
https://meta.discourse.org/t/advanced-search-posts-that-i-have-seen/57966
2017-03-09 10:46:06 +08:00
Régis Hanol
00380d84c5
UX: display text & html parts alongside raw email in incoming email modal
2017-03-08 23:15:42 +01:00
Neil Lalonde
4271aa0b48
Update translations
2017-03-08 11:54:01 -05:00
Neil Lalonde
0f1495e64e
FIX: also add Discourse-Visible to allowed headers for message bus
2017-03-06 16:00:37 -05:00
Neil Lalonde
f9aae7af6a
FIX: add Discourse-Visible to CORS allowed headers for sites that use a proxy
2017-03-06 14:41:57 -05:00
Neil Lalonde
954d75f81c
FIX: CORS middleware needs to happen earlier than AnonymousCache middleware
2017-03-06 12:25:12 -05:00
Rafael dos Santos Silva
c3477cd40d
Merge pull request #4716 from discourse/bounced_emails_details
...
FEATURE: Allow checking the raw response of a bounced email
2017-03-06 13:30:19 -03:00
Arpit Jalan
b2cfad5f47
Minimum password length should be 8
2017-03-05 14:38:37 +05:30
Sam
c99f4260c0
Merge pull request #4729 from tgxworld/dont_mark_user_as_valid
...
FIX: Don't mark user as `active` if verified email is different.
2017-03-03 15:57:30 -05:00
Neil Lalonde
6aab8cb331
FEATURE: new category setting for whether to show latest topics or top topics by default
2017-03-03 11:30:44 -05:00
Guo Xiang Tan
bcf634ca85
Merge pull request #4728 from nbianca/username-regex
...
Add support for username regex.
2017-03-03 22:59:23 +08:00
Neil Lalonde
797313a28d
FIX: subcategories need the num featured topics setting too
2017-03-02 11:31:28 -05:00
Jeff Atwood
3be01c9678
minor copyedit
2017-03-02 04:25:01 -08:00
Bianca Nenciu
30909ec54e
Add support for username regex.
2017-03-02 13:53:45 +02:00
Guo Xiang Tan
3d347fb9c4
FIX: Don't mark user as `active` if verified email is different.
2017-03-02 14:24:30 +08:00
Brahn Partridge
f79a7b0d7f
fix typo in rate_limiter edit_post message
2017-03-02 12:49:48 +11:00
Jeff Atwood
0e6c99859f
improve setup wizard copy slightly
2017-03-01 16:27:21 -08:00
Jeff Atwood
e4f38fd795
copyedit on wizard site banner
2017-03-01 16:09:09 -08:00
Jeff Atwood
ea9929cf58
add stronger backup download language
2017-03-01 15:16:05 -08:00
Neil Lalonde
d848916357
FEATURE: Greek language support, thanks to Vasilis Vlachokyriakos
2017-03-01 15:52:55 -05:00
Neil Lalonde
262016604d
FEATURE: each category can control how many topics to show on categories page
2017-03-01 15:12:57 -05:00
Blake Erickson
80858bae2c
FEATURE: further restrict downloading of backups
...
- send email to logged in admin when they press the "download" button
- show pop-up that email was sent
- create email template
- require a valid token to download backup
2017-03-01 08:28:34 -07:00
Arpit Jalan
ddcd060552
Update Translations
2017-03-01 11:03:44 +05:30
Neil Lalonde
292dd8623c
Merge pull request #4622 from dmacjam/master
...
FEATURE: Append tags bulk action for topics
2017-02-28 11:36:58 -05:00
Arpit Jalan
877957ae88
Merge pull request #4715 from techAPJ/login-per-ip
...
FEATURE: new site setting for max logins per ip per hour/minute
2017-02-27 18:24:53 +05:30
Arpit Jalan
cba51e1c38
FEATURE: new site setting for max logins per ip per hour/minute
2017-02-27 16:58:03 +05:30
Guo Xiang Tan
d2b83a9682
Merge pull request #4720 from rizka10/patch-3
...
Fix a minor typo on a mailer template
2017-02-27 11:51:38 +08:00
Blake Erickson
5ba8f8d1a6
FIX: typo in a routes.rb comment
...
sidekiq was spelled wrong
2017-02-25 10:03:19 -07:00
rizka10
e651faa397
Fix a minor typo on a mailer template
...
"with" is supposed to be "wish" on 'unsubscribe_mailer.text_body_template'
2017-02-24 16:13:47 +02:00
Régis Hanol
ecdae9f863
FIX: i18n integrity specs
...
FIX: check all .yml files in the project for integrity
FIX: ensure localized yamls are compatible with english
2017-02-24 11:35:33 +01:00
Sam Saffron
ef08462b33
spaces matter
2017-02-23 17:37:53 -05:00
Sam
eee22bf037
FEATURE: Add immutable cache for assets that do not update
...
This will eliminate revalidation of avatars, css, js and uploads on reloads on supporting browsers (at the moment firefox)
2017-02-23 12:24:47 -05:00
Sam
ea1007e954
FEATURE: add support for same site cookies
...
Defaults to Lax, can be disabled or set to Strict.
Strict will only work if you require login and use SSO. Otherwise when clicking on links to your site you will appear logged out till you refresh the page.
2017-02-23 12:01:28 -05:00
Rafael dos Santos Silva
5296f00c28
FEATURE: Allow checking the raw response of a bounced email
2017-02-22 14:51:33 -03:00