Vinoth Kannan
3358ab6b59
FIX: don't update allow_title column of existing badges in seed. ( #13190 )
...
The default `allow_title` column value is "true" for regular and leader badges. After we disable it in admin side the seed method enabling it again while upgrading. So we shouldn't do it for existing badges.
2021-05-28 00:30:57 +05:30
Vinoth Kannan
10449ff794
UX: return correct error message if reviewable user is deleted already. ( #12977 )
...
Currently, when the target is not available we're returning the error message "`You are not permitted to view the requested resource`" which is not clear.
2021-05-07 22:00:04 +05:30
Vinoth Kannan and Joffrey JAFFEUX
167bbb259f
UX: add CSS classes on body tag based on topic statuses. ( #12729 )
...
This commit will add CSS classes like `unlisted`, `pinned`, and `unpinned` on the body tag.
* DEV: we no longer using the `categoryClass` & `tagClasses` methods.
* Update app/assets/javascripts/discourse/app/components/add-topic-status-classes.js
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com >
2021-05-04 11:07:54 +05:30
Vinoth Kannan
e08432ddde
DEV: Bump discourse_dev to 0.1.0 ( #12722 )
...
And add the "discourse-development-auth" plugin and client locale files.
2021-04-16 06:42:34 +05:30
Vinoth Kannan
5e93730375
DEV: bump discourse_dev gem version to 0.0.9 ( #12660 )
2021-04-09 23:06:33 +05:30
Vinoth Kannan
26d7eedf4c
FEATURE: trigger webhook when a user added/removed in a group. ( #12653 )
...
Whenever a group is added or removed from a group a webhook event will get triggered if it's active.
2021-04-08 21:16:34 +05:30
Vinoth Kannan
72ff9e817c
DEV: Bump discourse_dev to 0.0.8 ( #12639 )
2021-04-08 01:01:06 +05:30
Vinoth Kannan
1c672c97d3
DEV: mount DiscourseDev engine routes at /dev path. ( #12376 )
2021-03-13 00:17:06 +05:30
Vinoth Kannan
c3865659e7
DEV: bump discourse_dev gem to version 0.0.4. ( #12363 )
2021-03-12 07:19:31 +05:30
Vinoth Kannan
e3d8e828b8
FEATURE: allow search engines to index tag pages. ( #12248 )
...
Previously, we blocked search engines in tag pages since they may get marked as a duplicate content.
* DEV: block tag inner pages from search engines crawling.
2021-03-09 23:55:57 +05:30
Vinoth Kannan
8b3b03acd0
DEV: bump discourse_dev gem to version 0.0.3. ( #12295 )
...
Added a commit to fix the issue in `bundle install`.
2021-03-05 08:18:02 +05:30
Vinoth Kannan
8d96713aa0
DEV: add discourse_dev gem in development dependencies. ( #12285 )
...
For more details visit https://github.com/discourse/discourse_dev
2021-03-04 23:04:51 +05:30
Vinoth Kannan
18f0cef72e
DEV: skip topic deletion staff log when user skip new user tips.
...
Previously, every time when a user skipped the "new user tips" it will add a staff action log since the discobot's welcome post is destroyed.
2020-09-23 12:25:39 +05:30
Vinoth Kannan
1504fe7231
DEV: make it possible to enable cdn in development environment.
2020-09-23 11:52:16 +05:30
Vinoth Kannan
6b818fb855
FIX: use normal logo in published pages if small not available.
...
It was returning an error if small logo is not available. If both logos are not available then it will be hidden now.
2020-09-21 09:20:39 +05:30
Vinoth Kannan
9e4ed03b8f
FEATURE: moderators allowed to view groups which members can see.
...
Currently, if a group's visibility is set to "Group owners, members" then the mods can't view those group pages. The same rule is applied for members visibility setting too.
This reverts commit 7fc7090 . And fixed the spec test fails.
2020-09-11 08:20:13 +05:30
Vinoth Kannan
2bf0c4188b
FEATURE: moderators allowed to view groups which members can see.
...
Currently, if a group's visibility is set to "Group owners, members" then the mods can't view those group pages. The same rule is applied for members visibility setting too.
2020-09-11 03:33:44 +05:30
Vinoth Kannan
ba2f3119c0
UX: display moderators group name in the group dropdown menu.
2020-09-11 00:06:40 +05:30
Vinoth Kannan
ea423b471a
FIX: make crawler linkback list compatible with google schema guidelines.
2020-09-04 04:35:32 +05:30
Vinoth Kannan
3b55de90e5
FIX: skip pm view action log while generating webhook payload.
...
Currently, while generating webhook payloads for a topic it's accidentally adding a personal message view log in 'system' user's history.
2020-09-02 05:40:42 +05:30
Vinoth Kannan
618a7ecb35
FIX: default_tags_muted site setting won't have tag ids.
...
Instead it only have list of tag names separated by comma.
89fcb75af2
2020-08-26 23:05:29 +05:30
Vinoth Kannan
62f4fc728d
UX: lowercase tag name before checking it with topic title.
...
Tag names can contain uppercase letters if `force_lowercase_tags` site setting disabled.
2020-08-23 21:09:51 +05:30
Vinoth Kannan
66976baefa
DEV: skip using br tag in header widget rendering.
...
562180dd9a
2020-08-22 13:38:37 +05:30
Vinoth Kannan
0b58fee424
minor copyedit on site setting and user option descriptions
2020-08-22 13:11:57 +05:30
Vinoth Kannan
89fcb75af2
FIX: default_tags_muted setting should work for anonymous users too.
2020-08-20 10:40:03 +05:30
Vinoth Kannan
310952fd6a
FIX: generate topic excerpt when moving posts to new topic.
...
Currently, it's not generating the excerpt by default. We have to trigger the "Rebuild HTML" action to do it.
2020-08-13 11:30:14 +05:30
Vinoth Kannan
6a8562894a
FIX: change the controller method name to match its new name.
...
The controller method `_changeFilters` is now changed to `changeFilters` in the commit 1fc58b5a4e . But it was not modified in the `admin-tools` service script.
2020-08-13 00:58:35 +05:30
Vinoth Kannan
fc5111508f
FIX: allow mods to choose restricted categories as parent category.
...
Currently moderators can't choose a category with only “See” permission as a parent in `edit-category` modal.
2020-08-12 20:58:52 +05:30
Vinoth Kannan
f3154e783f
UX: preload muted categories list to prevent rendering delay.
2020-08-12 00:34:40 +05:30
Vinoth Kannan
aa017f276f
FIX: replace fullPath while rewriting the /my/ URLs.
...
And added the tests. Follow-up to cdca5a2ee4
2020-08-05 23:22:15 +05:30
Vinoth Kannan
cdca5a2ee4
FIX: rewrite of /my/URL should work on sub directory site too.
2020-08-05 00:59:10 +05:30
Vinoth Kannan
691edc16c9
FIX: should allow non-ASCII slugs for category pages.
2020-07-29 19:47:57 +05:30
Vinoth Kannan
ef37460c93
FIX: delete synonyms in topics if target tag is already added.
...
Currently, while adding a synonym tag if both target and synonym tags are already available in a topic then it's returning an error.
2020-07-21 21:02:01 +05:30
Vinoth Kannan
3252cb847c
FIX: : trigger user_updated event only if email changed after user creation.
...
Follow-up to 1460d7957c
2020-07-16 18:21:30 +05:30
Vinoth Kannan
1460d7957c
FEATURE: trigger user_updated event if email changed.
...
It will trigger `user_updated` Discourse event if a user_email record is created or updated or destroyed.
2020-07-16 14:20:41 +05:30
Vinoth Kannan
4f4d8d683f
FIX: add noindex header to user summary page.
2020-07-16 02:32:55 +05:30
Vinoth Kannan
0058a15266
FIX: prevent redirect when image scale btn is inside a link.
...
Currently in composer preview, if the image scale buttons are inside a `<a>` link then it redirects to the `href` location after the image scaling task.
2020-07-15 09:34:54 +05:30
Vinoth Kannan
f3f30edf3f
SPEC: use post number to create canoncial path in mega topics.
...
6d17765924
2020-07-07 12:20:31 +05:30
Vinoth Kannan
6d17765924
PERF: use post number to create canoncial path in mega topics.
...
We don't need page number accuracy in mega topics since it can be expensive.
06d426bd87
2020-07-06 10:31:19 +05:30
Vinoth Kannan
06d426bd87
FIX: skip hidden posts while generating canonical url.
...
Previously, while generating the topic page's canoncial url we used the current post number. It will create invalid canonical path if the topic has whsiper posts. Now we only taking the visible posts for current page index calculation.
2020-07-05 14:04:31 +05:30
Vinoth Kannan
9426d12c1d
FEATURE: trigger user_updated event if username is changed.
2020-07-03 00:14:19 +05:30
Vinoth Kannan
f11363d446
FIX: return cdn url for uploads if available.
...
Currently it is displaying non-cdn urls in the composer preview.
2020-07-02 06:36:14 +05:30
Vinoth Kannan
3ff3e6dc10
minor copyedit on category setting options.
...
`default_list_filter`
3e7f7fdde8
2020-06-10 16:03:57 +05:30
Vinoth Kannan
9a6606dd30
DEV: Add option to keep quoted content in post excerpt.
2020-01-04 18:56:52 +05:30
Vinoth Kannan
cfd1549abe
FIX: allow underscore in file extension while downloading the uploads.
2020-01-03 10:09:07 +05:30
Vinoth Kannan
3b7f5db5ba
FIX: parallel spec system needs a dedicated upload folder for each worker. ( #8547 )
2019-12-18 11:21:57 +05:30
Vinoth Kannan
e51091f199
REFACTOR: do X-Frame-Options header removal in application controller.
...
Co-authored-by: Sam <sam.saffron@gmail.com >
Previous commit: f7084a4339
2019-12-06 18:25:32 +05:30
Vinoth Kannan
da2b0b2882
UX: remove the double-encoding of user titles.
...
`{{}}` in handlebars are already escaping the HTML elements.
2019-12-06 04:07:47 +05:30
Vinoth Kannan
f7084a4339
FEATURE: add site setting to remove X-Frame-Options header.
2019-12-06 03:15:09 +05:30
Vinoth Kannan
aa5d4e9f6e
FIX: keep ruby & rt tags in html to markdown conversion.
2019-12-05 21:18:00 +05:30
Vinoth Kannan
11c4d5eda7
Fix the build - take 3.
...
754e1238b0
2019-12-05 20:35:39 +05:30
Vinoth Kannan
754e1238b0
Fix the build - take 2.
...
b0e3062fdf
2019-12-05 19:36:52 +05:30
Vinoth Kannan
b0e3062fdf
Fix the 'PostMover' spec.
2019-12-05 19:09:50 +05:30
Vinoth Kannan
e6dfcda0bc
DEV: handle all notification consolidations in new 'NotificationConsolidator' class.
...
481c8314f0
2019-12-05 14:36:06 +05:30
Vinoth Kannan
15c2755b7b
Fix the WebHookPostSerializer spec.
...
400f79cffc
2019-12-04 23:30:04 +05:30
Vinoth Kannan
400f79cffc
FEATURE: add topic_filtered_posts_count attribute to web hook post serializer.
2019-12-04 22:52:44 +05:30
Vinoth Kannan
580b289861
UX: skip leading spaces in selection when adding a link.
2019-11-30 20:14:22 +05:30
Vinoth Kannan
42e5176bc3
FIX: parallel spec system needs needs a dedicated upload folder for each worker. ( #8372 )
2019-11-19 13:16:20 +05:30
Vinoth Kannan
88359b0f16
FEATURE: add support for group members visibility level ( #8004 )
...
There are 5 visibility levels (similar to group visibility)
public (default)
logged-in users
members only
staff
owners
Admins & group owners always have visibility to group members.
2019-08-14 19:00:04 +05:30
Vinoth Kannan
a8f410a9c5
FEATURE: Create new helper method 'Discourse.stats' ( #7388 )
2019-04-17 12:45:04 +05:30
Vinoth Kannan
bec3956f7f
FIX: Topic filters persist when navigating to home page ( #7175 )
...
* FIX: Topic filters persist when navigating to home page
* remove the line which no longer needed
2019-03-15 09:45:17 +05:30
Vinoth Kannan
59c66fd226
REFACTOR: Improve the readability of code ( #7076 )
2019-02-26 23:03:49 +05:30
Vinoth Kannan
d1bad881ea
FEATURE: Allow moderators to change topic timestamps ( #7053 )
2019-02-22 14:33:52 +05:30
Vinoth Kannan
da1ff2da2c
FIX: Create and consume temp table inside a transaction ( #7030 )
...
To prevent access issue in pgbouncer which runs in transaction pooling
2019-02-20 13:52:40 +11:00
Vinoth Kannan
b4f713ca52
FEATURE: Use amazon s3 inventory to manage upload stats ( #6867 )
2019-02-01 10:10:48 +05:30
Vinoth Kannan
f94c0283b2
FIX: Use correct version when generating file path for optimized image ( #6871 )
2019-01-11 18:35:38 +05:30