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
4aaee7ee35
REFACTOR: change-timestamp controller ( #7498 )
2019-05-08 16:26:51 +02:00
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
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
8f2c442435
Fix tests
2019-05-08 09:58:47 -04:00
5bfe051eb9
Mark discourse user-agent as non-crawler
2019-05-08 09:45:25 -04:00
77af097ce0
FIX: add short description to title on client side
2019-05-08 15:03:33 +02:00
1569cf85df
UX: better permalink feature description/warning.
2019-05-08 18:31:38 +05:30
ebc5888c95
Prefabricated trust_level_4
2019-05-08 08:57:07 -04:00
1d0565eca2
Prefabricated admin at the top level
2019-05-08 08:57:07 -04:00
cef14d81ac
Prefabricated moderator at the top level
2019-05-08 08:57:07 -04:00
a473a56dc2
Prefabricated user at the top level
2019-05-08 08:57:07 -04:00
73f25311fa
Prefabricated post by user
2019-05-08 08:54:37 -04:00
0578809460
Prefabricate trust_level_4
2019-05-08 08:54:37 -04:00
f984c1740f
Use prefabricated user
2019-05-08 08:54:37 -04:00
86372a94d5
Prefabricated moderator at the top level
2019-05-08 08:54:37 -04:00
e3c09c666b
Prefabricated admin
2019-05-08 08:54:37 -04:00
b717e23ceb
FIX: Dynamically adjust scale when rendering wizard canvases
...
This was a typo in fd0de64
2019-05-08 13:14:28 +01:00
24346e4612
strengthen warning around crawler whitelist
2019-05-08 04:10:02 -07:00
0edf012dd9
Merge branch 'master' of github.com:discourse/discourse
2019-05-08 11:50:50 +02:00
6efc5dd202
DEV: Fix lint.
2019-05-08 12:07:52 +03:00
861023f0d6
FIX: Skip attachments in click track.
2019-05-08 11:55:31 +03:00
f530048973
Fix broken spec in 405ba00 take 2.
2019-05-08 16:07:14 +08:00
f04518fdf9
DEV: Reduce number of jobs enqueued.
...
Apply code review suggestion from
405ba00c08a86778a7baf28e93388201162a5347.
2019-05-08 15:58:08 +08:00
ba6904bb27
Fix broken spec in 405ba00c08a86778a7baf28e93388201162a5347.
2019-05-08 15:45:25 +08:00
c72f16d927
Follow up to 329969ea20296b74b77e8e568e63f635cefa7b3a.
2019-05-08 15:36:12 +08:00
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
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
d6452963cd
Revert "Revert "FIX: simpler w function check ( #7496 )""
...
This reverts commit 0c0d05e8f2163336dc0306f15f5a942014a13177.
2019-05-08 08:14:09 +02:00
6ea811c923
Revert "PERF: Skip compressing locales for faster rebuilds ( #7501 )" ( #7502 )
2019-05-08 07:54:21 +02:00
0c0d05e8f2
Revert "FIX: simpler w function check ( #7496 )"
...
This reverts commit 25703117188747e4576350961b83247d1a04c1ef.
2019-05-08 07:19:23 +02:00
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
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
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
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
d4638ebf69
remove unnecessary cmd line step in cloud setup
2019-05-07 14:53:53 -07:00
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
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
1f40258d5c
fix spec ( #7500 )
2019-05-07 19:20:56 +02:00
626534ad94
FIX: lighten instead of adding transparency to consolidated pageviews ( #7495 )
2019-05-07 18:14:13 +02:00
2570311718
FIX: simpler w function check ( #7496 )
2019-05-07 17:57:35 +02:00
0a66065774
FIX: Move default options that were in the bufferedRender function. This will fix shortcut navigation for discourse-assign ( #7497 )
2019-05-07 12:25:10 -03:00
c7a0baebc5
DEV: Prefabricate more things in topic_spec.rb ( #7490 )
...
* Moved let to more appropriate scopes
* Refactored tests
It's confusing when let blocks in a parent context depend on other let
blocks from a child context.
* Moved fabrication to top level
* Removed unnecessary user fabrications
* Added a trust level 2 user at the top level
* Factored out category
* Made test use generic user
* Prefabricate topic
* Cut down redundant users
* Prefabricated more things
2019-05-07 17:05:52 +02:00
e20f13ebb7
fix css of prev and next page links, move them to bottom of page ( #7465 )
...
Thanks 👍
2019-05-07 17:04:27 +02:00
73da9c171a
DEV: Upgrade unicorn
...
The gem has minor bug fixes. One of those stopped the RubyMine debugger from working.
2019-05-07 17:03:27 +02:00
1ddd4a44d5
FIX: Wrong color palette after backup restore
2019-05-07 17:02:57 +02:00
2487e01c73
FIX: Optimized site icons were missing after backup restore
2019-05-07 17:02:57 +02:00
446ec1b44a
Set input and textarea font size to 16px on iOS ( #7480 )
2019-05-07 10:44:43 -04:00
98a75906c8
FIX: Close topics deleted by users and ensure topic stubs are destroyed. ( #7430 )
2019-05-07 16:25:52 +03:00
1b7be1500f
Time variable used to be created with users timezone, it has to be UTC in order to pass the test
2019-05-07 08:43:38 -04:00