Gerhard Schlager
6d77156a94
FIX: Don't try to delete inactive admins
2019-04-25 11:59:50 +02:00
Gerhard Schlager
aadb7da7d3
FIX: Use first grapheme cluster for letter avatar
2019-04-24 23:20:46 +02:00
Gerhard Schlager
03f9564804
FIX: Handle missing letter avatar
2019-04-24 23:20:46 +02:00
Gerhard Schlager
dacdb5d90d
Remove invalid Persian translations
2019-04-24 15:37:40 +02:00
Gerhard Schlager
01a3311ffb
SECURITY: Update nokogiri
2019-04-24 10:42:24 +02:00
Gerhard Schlager and Joffrey JAFFEUX
a7bc1ecbae
FEATURE: Add support for Unicode usernames and group names
...
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com >
2019-04-23 13:00:27 +02:00
Gerhard Schlager
72a7f9af87
FIX: Add the last missing translation for push notifications
...
and sync the message for "custom" with the message of regular notifications
2019-04-16 18:04:46 +02:00
Gerhard Schlager
7e8579b8aa
UX: Add translations for lightbox
2019-04-16 17:03:01 +02:00
Gerhard Schlager
3aca070311
FIX: Restoring backup shouldn't change disable_emails from "yes" to "non-staff"
2019-04-16 11:48:07 +02:00
Gerhard Schlager
ac27bdce14
DEV: Prevent warnings in specs
2019-04-16 11:41:27 +02:00
Gerhard Schlager
66aa871c24
Remove unused translation
...
It isn't used anymore since 9bf87f3665
2019-04-03 11:51:27 +02:00
Gerhard Schlager
cadd1d670f
DEV: Add simplecov as test dependency ( #7271 )
2019-04-01 16:00:11 +11:00
Gerhard Schlager
aacbb93b21
FIX: moment.js uses a more specific language code for Armenian
2019-03-28 14:47:37 +01:00
Gerhard Schlager
d43f4206c7
FEATURE: Add Armenian language
2019-03-28 14:24:14 +01:00
Gerhard Schlager
4f04ae5692
FIX: Failed to show details about some bounced emails
...
Bounces sent to reply_by_email_address could not be found.
2019-03-26 18:00:27 +01:00
Gerhard Schlager
de011b53b5
UX: Hide link to incoming email when there is no bounce key
...
For example, webhooks mark email log entries as bounced without there ever being an incoming email.
2019-03-26 18:00:27 +01:00
Gerhard Schlager
dc90133d29
FIX: Forcing permissions of seeded categories shouldn't fail
...
Less restrictive permissions of subcategories could make the seeding of categories fail.
2019-03-26 10:39:07 +01:00
Gerhard Schlager
cb70a328f5
FIX: Remove duplicate site settings and add unique index
2019-03-25 17:30:53 +01:00
Gerhard Schlager
cd4fd447ca
Make Rubocop happy
2019-03-25 17:04:45 +01:00
Gerhard Schlager
467c17da53
FIX: Make migration resilient against duplicate site settings
2019-03-25 16:57:23 +01:00
Gerhard Schlager
60e6070c27
UX: Show spinner during text replacement
2019-03-25 16:47:55 +01:00
Gerhard Schlager
453ba2da7b
Make Google Groups scraper work with latest chromedriver
2019-03-25 16:11:22 +01:00
Gerhard Schlager
2349ba3bc4
Improve Google Groups scraper
...
* Better error detection during login phase
* Experimental support for 2FA and SMS codes
* Detect missing permissions to scrape email addresses
2019-03-24 23:15:13 +01:00
Gerhard Schlager
41c7423985
UX: Use a less technical term ("replace") for reseeding ( #7223 )
2019-03-21 16:22:07 +11:00
Gerhard Schlager
64bf4d4483
DEV: Add spec for reusing category permalink
...
Follow-up to f3c76ad482
2019-03-20 23:38:59 +01:00
Gerhard Schlager
c7bd96ae11
DEV: Increase timeout for JS tests on Travis
2019-03-18 23:55:50 +01:00
Gerhard Schlager
8a99d59422
FIX: seed data classes couldn't always be found
2019-03-18 23:13:47 +01:00
Gerhard Schlager
3fd04df781
FEATURE: Locale support for seeded categories and topics ( #7110 )
2019-03-18 21:09:13 +01:00
Gerhard Schlager
81108ee783
DEV: Increase timeout for JS tests and add env variable
2019-03-18 17:39:53 +01:00
Gerhard Schlager
c0a7b06777
Make eslint happy
2019-03-18 16:48:09 +01:00
Gerhard Schlager
f3c76ad482
FIX: Failed to detect existing category permalink
2019-03-14 13:42:05 +01:00
Gerhard Schlager
c34a6ba674
REFACTOR: Rename site settings to make them less confusing
2019-03-14 13:40:14 +01:00
Gerhard Schlager
92df6890df
FIX: GET request didn't use headers
2019-03-08 21:36:49 +01:00
Gerhard Schlager
f6ef4f8c3f
FEATURE: Add missing S3 regions
2019-03-07 22:42:20 +01:00
Gerhard Schlager
78f8114989
FEATURE: Allow discourse script to skip disabling of emails after restore
2019-03-07 21:49:33 +01:00
Gerhard Schlager
941e096df4
Fix error in base import script
...
Follow-up to 655a08dbbd
2019-03-06 21:58:25 +01:00
Gerhard Schlager
1121514799
UX: Localize date format in "new user of the month" message
2019-03-06 21:58:25 +01:00
Gerhard Schlager
4000978452
FIX: Failed to save email template with pluralized subject
2019-03-06 16:51:04 +01:00
Gerhard Schlager
33129efdb5
Revert "Bump onebox version"
...
This reverts commit 345f6237cb .
2019-03-05 22:51:02 +01:00
Gerhard Schlager
345f6237cb
Bump onebox version
...
https://github.com/discourse/onebox/commit/f2b361fc286844dd83df74443259e3b760ff29c9
2019-03-05 22:18:49 +01:00
Gerhard Schlager
671cec4bd2
DEV: Use Discourse.getURL for creating URL
...
follow-up to ccb48bef75
2019-03-05 17:52:18 +01:00
Gerhard Schlager
9e09224eb4
Correct interpolation key
2019-03-05 15:30:35 +01:00
Gerhard Schlager
ccb48bef75
UX: Make Uncategorized category less confusing
...
* Adds warnings to the "Edit Category" dialog
* Doesn't hide the "Security" tab on the "Edit Category" dialog anymore. Instead, it shows an explanation why permissions can't be changed.
* Makes the category name translatable
* Hides the category name from the edit dialog (it can be customized by overriding the translation)
* Creates a translation override if the category has been renamed in the past
2019-03-05 14:42:41 +01:00
Gerhard Schlager
68e4aba369
UX: Don't concatenate title on "Edit Category" dialog
2019-03-05 14:42:41 +01:00
Gerhard Schlager
14f9e55977
FIX: Error when filtering site settings
...
Happened only when none of the logo settings had an image assigned.
2019-03-03 20:43:22 +01:00
Gerhard Schlager
c36c9c2ee5
FEATURE: Import script for AnswerBase
...
Improves the generic database used by some import scripts:
* Adds additional columns for users
* Adds support for attachments
* Allows setting the data type for keys (numeric or string) to ensure correct sorting
2019-02-28 22:08:12 +01:00
Gerhard Schlager
ff26b4ed9b
DEV: Prevent warning about already initialized constant
2019-02-28 21:57:20 +01:00
Gerhard Schlager
dc961fecb9
FIX: Outgoing emails were not disabled after restoring backup
2019-02-25 16:07:24 +01:00
Gerhard Schlager
f8e498f6ad
DEV: Fix random build error
2019-02-21 14:53:29 +01:00
Gerhard Schlager
964e7edcaf
UX: Make "Category" in topic validation errors translatable
2019-02-20 16:52:45 +01:00
Gerhard Schlager
66901f67f6
UX: Moderator post wasn't completely translatable
2019-02-20 16:37:47 +01:00
Gerhard Schlager
6a8007e5fb
FEATURE: Improve handling of backup storage errors
2019-02-20 15:16:49 +01:00
Gerhard Schlager
5d75bd4831
FIX: Don't try to rename group when username is taken
...
FIX: Always rename groups with the default locale instead of using the user's locale
2019-02-19 22:31:03 +01:00
Gerhard Schlager
b3ab0e5753
FIX: moment_js locale files for zh_CN and zh_TW were not found
...
moment_js uses a different format for locale names in plugins and files in core. Follow-up to 4799cf2811
2019-02-19 16:08:06 +01:00
Gerhard Schlager
4799cf2811
FIX: moment_js locale files provided by plugins were ignored
2019-02-19 15:28:47 +01:00
Gerhard Schlager
84c56e16f9
REFACTOR: Use keyword argument for fallback_to_english flag
2019-02-19 15:28:47 +01:00
Gerhard Schlager
08ae73f868
Fix typo
2019-02-18 16:51:57 +01:00
Gerhard Schlager
99ad61afb7
FEATURE: Trigger an event after a backup restore
2019-02-18 11:48:03 +01:00
Gerhard Schlager
24369a8166
Improve phpBB3 importer
...
* Log errors when mapping of posts, messages, etc. fails
* Allow permalink normalizations for old subfolder installation
* Disable importing of polls for now. It's broken.
2019-02-17 23:20:20 +01:00
Gerhard Schlager
8d5dfe1e01
FIX: Don't import parts of the email address as name
2019-02-17 22:59:18 +01:00
Gerhard Schlager
b0862bd15d
FIX: Push notifications could fail with UnauthorizedRegistration
...
The webpush gem by default sets the expiration date of the JWT token to exactly 24 hours in the future. That's not really needed because the token isn't reused. And it might cause UnauthorizedRegistration if the server's clock isn't 100% correct, because the maximum allowed value is 24 hours.
2019-02-15 21:12:09 +01:00
Gerhard Schlager
17f1a76570
FIX: Delete push subscription on MismatchSenderId error
...
This should prevent repeated MismatchSenderId warnings when the VAPID keys have changed.
2019-02-15 21:12:09 +01:00
Gerhard Schlager
b087719340
FEATURE: Setting for excluding optimized images from backups
2019-02-13 11:10:51 +01:00
Gerhard Schlager
9eb7dea0f1
FEATURE: Setting for compression level of upload in backups
2019-02-12 15:50:31 +01:00
Gerhard Schlager
220944a38a
FIX: Unpause sidekiq before adding uploads to backup
...
tar exits with status 1 when uploads are modified or deleted by a sidekiq job, so we need to treat it like status 0.
According to the documentation it should be safe to ignore status 1 ("Some files differ"):
> If tar was given `--create', `--append' or `--update' option, this exit code means that some files were changed while being archived and so the resulting archive does not contain the exact copy of the file set.
Status 2 ("Fatal error") still results in an exception.
2019-02-12 13:50:50 +01:00
Gerhard Schlager
84a10f8212
Fix failing spec
...
The Report class created its own BackupStore without a stubbed S3 client
2019-02-08 21:38:10 +01:00
Gerhard Schlager
5bb955dcb7
FIX: Allow restore when latest migration is a post_migration
2019-02-08 17:37:05 +01:00
Gerhard Schlager
d96d561180
Fix defect db migration
...
Follow-up to fc999c04b3
2019-02-08 16:02:33 +01:00
Gerhard Schlager
e9ec5238fc
DEV: Remove ignored columns
2019-02-08 12:12:38 +01:00
Gerhard Schlager
cbedb6a1ac
FEATURE: Hidden site setting to always include topic excerpt
2019-02-07 22:45:21 +01:00
Gerhard Schlager
bdbf77dc38
FIX: Unpause Sidekiq before uploading backup to S3
...
No need to pause Sidekiq longer than really needed. Uploads to S3 can take a long time.
2019-02-05 21:22:25 +01:00
Gerhard Schlager
ba724d7f25
FIX: S3 endpoint broke bucket creation in non-default region
2019-02-05 18:17:02 +01:00
Gerhard Schlager
ec7f418a22
REFACTOR: Simplify finding the opengraph image
...
* removes deprecation warnings for "logo url"
* adds the "large icon" as fallback before the "apple touch icon"
2019-01-31 20:46:15 +01:00
Gerhard Schlager
1e98929501
FIX: Email domain whitelist prevented user anonymizing
...
FIX: Secondary email addresses were not deleted during anonymizing
2019-01-30 15:14:36 +01:00
Gerhard Schlager
0947fa2bad
Fix specs
...
Follow-up to 7e9da812ea
2019-01-24 22:54:03 +01:00
Gerhard Schlager
45b056b615
FIX: Do not show backups stored in subfolder of bucket
2019-01-24 22:28:03 +01:00
Gerhard Schlager
7e9da812ea
DEV: Multisite tests didn't fail anymore
...
The change in 9ba8bfb1aa swallowed all exceptions (even syntax errors) which made them appear to pass even if they failed.
2019-01-24 22:28:00 +01:00
Gerhard Schlager
c94a2bc69b
FIX: Raise or log error when deleting of backup fails
2019-01-24 22:26:50 +01:00
Gerhard Schlager
a123aafdad
Fix random build error
...
Follow-up to b95165b838
2019-01-21 22:00:45 +01:00
Gerhard Schlager
d82628987a
FIX: Badges appeared in wrong badge group
...
Some badges always appeared in the "Other" group (the default group) and some badges were always moved back into the original group during seeding.
Now badges are either in the correct, seeded group or stay in a custom group if the admin moved the badge into a custom group.
2019-01-21 21:09:33 +01:00
Gerhard Schlager
90823eaca6
Update translations
2019-01-19 23:41:52 +01:00
Gerhard Schlager
f8ded9cec9
FIX: Changing owner of small action post failed
...
Small action posts for invites (CC from email) have a blank raw and revising of posts with blank raw didn't work anymore.
2019-01-19 13:38:45 +01:00
Gerhard Schlager
457e6c7b37
FIX: Mods weren't able to see emails in admin user list
2019-01-18 15:37:30 +01:00
Gerhard Schlager
197e3fd722
FIX: Keep original subject in emails to staged users
...
Renaming a topic shouldn't be visibile to staged users when the topic was created via email.
2019-01-18 11:07:54 +01:00
Gerhard Schlager
15d1e981c8
DEV: Improve specs
...
* notifications were created for the wrong user
* notifications didn't have a correct data attribute
2019-01-18 11:07:53 +01:00
Gerhard Schlager
1d0ee6fa8d
UX: Remove unused translations ( #6885 )
...
These messages aren't needed any more since bb93a345eb
2019-01-18 12:09:20 +08:00
Gerhard Schlager
e180e14a55
DEV: Reload current client locale file in development mode
2019-01-15 22:55:51 +01:00
Gerhard Schlager
70cdb42173
FIX: Tooltip for unlisted topics wasn't shown in topic list
...
The locale key had to be renamed, because this key is also used as CSS class.
The "invisible" CSS class makes the icon invisible. "unlisted" doesn't have that effect.
2019-01-15 16:13:06 +01:00
Gerhard Schlager
f43345b75a
FIX: Remove google+ from share_links site setting
...
Follow-up to 2748822576
2019-01-10 21:31:20 +01:00
Gerhard Schlager
978cc0cfca
FIX: Remove expired subscription for push notifications
...
All other errors get logged, but do not stop the system from sending further push notifications.
2019-01-10 15:41:04 +01:00
Gerhard Schlager
6f867660bc
FIX: Push notifications didn't work anymore
2019-01-09 22:47:38 +01:00
Gerhard Schlager
858a456aaf
FEATURE: Use email_site_title in From of digest emails
2019-01-04 17:06:19 +01:00
Gerhard Schlager
c0a8bb9a91
FEATURE: Include "via <site_name>" in email From header
2019-01-04 17:06:19 +01:00
Gerhard Schlager
b089ac1537
FIX: Posting without bump raised an error for TL4
2019-01-03 14:14:02 +01:00
Gerhard Schlager
4aa3992757
Fix Travis build
...
Travis doesn't provide the latest Rubygems yet and it doesn't make sense to use Bundler 2 until we've upgraded anyway.
2019-01-03 13:46:21 +01:00
Gerhard Schlager
dc477d1228
FIX: "Toggle topic bump" wasn't visible for TL4 users
2019-01-02 20:16:55 +01:00
Gerhard Schlager
cb9bee4153
Fix Travis build
2019-01-02 19:40:59 +01:00
Gerhard Schlager
8cb5ed3a7c
DEV: Fix random build error
2019-01-02 17:27:08 +01:00
Gerhard Schlager
c30996129f
FEATURE: Allow TL4 users to reset bump date
2019-01-02 16:57:05 +01:00
Gerhard Schlager
e8053d6e7d
FIX: Polls didn't work in imported posts
...
Imports skip validation of posts, but polls are only created during the validation phase.
2019-01-02 15:26:57 +01:00