Vinoth Kannan
87cd4701b8
FEATURE: option to skip posts with ignored missing uploads
2019-05-09 05:11:15 +05:30
romanrizzi
7c0cb59741
DEV: Skip new JS flaky tests
2019-05-08 18:17:49 -03:00
Blake Erickson
9c606dd99a
FIX: Return error if new topic category not found
...
If creating a topic via the api as an admin and the category you specify
cannot be found an error will now be returned instead of just creating
the topic with no category. This will prevent accidental public topic
creation originally intended for a private category.
2019-05-08 15:02:00 -06:00
Penar Musaraj
a92c925378
Use faster Brotli compression for non-default locale files
2019-05-08 14:55:24 -04:00
Penar Musaraj
d9ab722d05
Revert "Revert "PERF: Skip compressing locales for faster rebuilds ( #7501 )" ( #7502 )"
...
This reverts commit 6ea811c923
.
2019-05-08 14:55:06 -04:00
Joffrey JAFFEUX
e6cfc584d0
Revert "FIX: frozen string exception ( #7506 )"
...
This reverts commit c4b7fb2754
.
2019-05-08 17:27:09 +02:00
Joffrey JAFFEUX
497c0ba418
Revert "FIX: frozen string exception ( #7505 )"
...
This reverts commit 2938e3f033
.
2019-05-08 17:27:03 +02:00
Maja Komel
24ca074f3f
FIX: short description title on client side when empty description
...
follow-up 77af097c
2019-05-08 17:07:12 +02:00
David Taylor
e84531a6a6
FIX: Correctly clear theme stylesheet cache when changing color scheme
2019-05-08 16:02:55 +01:00
Joffrey JAFFEUX
54c2f24ee9
REFACTOR: composer model ( #7499 )
2019-05-08 16:53:12 +02:00
Joffrey JAFFEUX
2938e3f033
FIX: frozen string exception ( #7505 )
...
Initial backtrace:
```
/var/www/discourse/app/mailers/user_notifications.rb:554:in `send_notification_email'
/var/www/discourse/app/mailers/user_notifications.rb:459:in `notification_email'
/var/www/discourse/app/mailers/user_notifications.rb:318:in `user_private_message'
```
* this might fail too
2019-05-08 16:52:38 +02:00
Penar Musaraj
a4eb523af6
Track Discourse user agent pageviews as crawler
...
Since 5bfe051e
, Discourse user agents are marked as non-crawlers (to avoid accidental blacklisting). This makes sure pageviews for these agents are tracked as crawler hits.
2019-05-08 10:38:55 -04:00
Joffrey JAFFEUX
4aaee7ee35
REFACTOR: change-timestamp controller ( #7498 )
2019-05-08 16:26:51 +02:00
Joffrey JAFFEUX
c4b7fb2754
FIX: frozen string exception ( #7506 )
...
Initial backtrace:
```
/var/www/discourse/app/models/incoming_domain.rb:29:in `to_url'
/var/www/discourse/app/models/incoming_link.rb:83:in `referer'
/var/www/discourse/app/models/incoming_link.rb:106:in `referer_valid'
```
2019-05-08 16:25:54 +02:00
Robin Ward
b409dab77f
Rename `flags_default_topics` to `reviewable_default_topics`
...
This functionality regressed with the reviewable update. I took the
opporunity to rename it when fixing it for clarity.
2019-05-08 10:07:10 -04:00
Penar Musaraj
8f2c442435
Fix tests
2019-05-08 09:58:47 -04:00
Penar Musaraj
5bfe051eb9
Mark discourse user-agent as non-crawler
2019-05-08 09:45:25 -04:00
Maja Komel
77af097ce0
FIX: add short description to title on client side
2019-05-08 15:03:33 +02:00
Arpit Jalan
1569cf85df
UX: better permalink feature description/warning.
2019-05-08 18:31:38 +05:30
Daniel Waterworth
ebc5888c95
Prefabricated trust_level_4
2019-05-08 08:57:07 -04:00
Daniel Waterworth
1d0565eca2
Prefabricated admin at the top level
2019-05-08 08:57:07 -04:00
Daniel Waterworth
cef14d81ac
Prefabricated moderator at the top level
2019-05-08 08:57:07 -04:00
Daniel Waterworth
a473a56dc2
Prefabricated user at the top level
2019-05-08 08:57:07 -04:00
Daniel Waterworth
73f25311fa
Prefabricated post by user
2019-05-08 08:54:37 -04:00
Daniel Waterworth
0578809460
Prefabricate trust_level_4
2019-05-08 08:54:37 -04:00
Daniel Waterworth
f984c1740f
Use prefabricated user
2019-05-08 08:54:37 -04:00
Daniel Waterworth
86372a94d5
Prefabricated moderator at the top level
2019-05-08 08:54:37 -04:00
Daniel Waterworth
e3c09c666b
Prefabricated admin
2019-05-08 08:54:37 -04:00
David Taylor
b717e23ceb
FIX: Dynamically adjust scale when rendering wizard canvases
...
This was a typo in fd0de64
2019-05-08 13:14:28 +01:00
Jeff Atwood
24346e4612
strengthen warning around crawler whitelist
2019-05-08 04:10:02 -07:00
Joffrey JAFFEUX
0edf012dd9
Merge branch 'master' of github.com:discourse/discourse
2019-05-08 11:50:50 +02:00
Bianca Nenciu
6efc5dd202
DEV: Fix lint.
2019-05-08 12:07:52 +03:00
Bianca Nenciu
861023f0d6
FIX: Skip attachments in click track.
2019-05-08 11:55:31 +03:00
Guo Xiang Tan
f530048973
Fix broken spec in 405ba00
take 2.
2019-05-08 16:07:14 +08:00
Guo Xiang Tan
f04518fdf9
DEV: Reduce number of jobs enqueued.
...
Apply code review suggestion from
405ba00c08
.
2019-05-08 15:58:08 +08:00
Guo Xiang Tan
ba6904bb27
Fix broken spec in 405ba00c08
.
2019-05-08 15:45:25 +08:00
Guo Xiang Tan
c72f16d927
Follow up to 329969ea20
.
2019-05-08 15:36:12 +08:00
Guo Xiang Tan
405ba00c08
FEATURE: Create notifications on wiki edits for watching users.
...
* Moves creation of notification into background job.
2019-05-08 15:31:10 +08:00
Guo Xiang Tan
46ea69a73c
UX: Initialize client side category model with right search_priority.
...
This is strictly a UX change since the default value of the column is 0.
2019-05-08 14:16:20 +08:00
Joffrey JAFFEUX
d6452963cd
Revert "Revert "FIX: simpler w function check ( #7496 )""
...
This reverts commit 0c0d05e8f2
.
2019-05-08 08:14:09 +02:00
Joffrey JAFFEUX
6ea811c923
Revert "PERF: Skip compressing locales for faster rebuilds ( #7501 )" ( #7502 )
2019-05-08 07:54:21 +02:00
Joffrey JAFFEUX
0c0d05e8f2
Revert "FIX: simpler w function check ( #7496 )"
...
This reverts commit 2570311718
.
2019-05-08 07:19:23 +02:00
Penar Musaraj
22d6203eb7
DEV: Use moment-timezone with 10-year range data
...
We do not need to use the full timezone dataset (it is a 950kb file!), only previous/next 5 years should suffice.
2019-05-07 23:42:49 -04:00
Sam Saffron
5c0bb29461
DEV: re-enable compression for node asset compilation
...
#b9d82818 makes enormous improvements to our bootstrap time, however going
to still keep compress for now despite the cost and watch it for a few weeks
2019-05-08 10:24:57 +10:00
Penar Musaraj
b9d8281818
PERF: Skip compressing locales for faster rebuilds ( #7501 )
...
* Do not brotli all locales in precompile
* Try without gzip
* uglify without compressing, always gzip
* skip uglify for unused locales
* FIX: Uglifier needs harmony for ES6 compatibility
* Use node uglifier if available
* Minor refactor
2019-05-08 10:22:19 +10:00
Sam Saffron
77f9fff41e
DEV: correct flaky test
...
Hardcoding the number 1 into a test means that the test may fail if topic_id
1 is somehow seeded
This ensures we are always talking about a topic that does not exist
2019-05-08 09:31:47 +10:00
Jeff Atwood
d4638ebf69
remove unnecessary cmd line step in cloud setup
2019-05-07 14:53:53 -07:00
Robin Ward
5af7c90bab
FEATURE: Hide Reviewable scores, change score filter to Priority
...
We found score hard to understand. It is still there behind the scenes
for sorting purposes, but it is no longer shown.
You can now filter by minimum priority (low, med, high) instead of
score.
2019-05-07 14:05:23 -04:00
Blake Erickson
5b5b5a5931
FIX: return an error if a user tries to whisper
...
This commit fixes a bug where a user creates a whisper post via the api
but is posted as a regular message because they don't have access to
whisper. Now a 403 unauthorized will be returned instead of the whisper
param just being ignored for regular users. Staff users should not be
affected by this change.
https://meta.discourse.org/t/a-whisper-is-posted-as-a-message-if-the-user-is-not-staff-moderator-admin-when-using-the-api/116601
2019-05-07 11:42:26 -06:00
Joffrey JAFFEUX
1f40258d5c
fix spec ( #7500 )
2019-05-07 19:20:56 +02:00