Blake Erickson
dbb3ddc7a6
FIX: approve invited user
...
This commit fixes the case where invited users who typed in a password
would not be approved by default. Because we moved the user create logic
for an invited user there was a clash with the `save` in the user model
and the `save` in the invite_redeemer class.
- added approve logic into invite_redeemer class.
- added tests to verify that the user is approved
- added a check to see if must_approve_users is on
- added a check to see if the inviter is staff
- go ahead and approve the user if must_approve_users is off
- keep existing User.approve workflow if user exists
- improve if/else logic to remove duplicate code
- use `Time.zone.now`
2017-03-05 06:58:23 -07:00
Arpit Jalan
b2cfad5f47
Minimum password length should be 8
2017-03-05 14:38:37 +05:30
Guo Xiang Tan
08ffbf6c61
Use Time.zone.now
instead.
2017-03-05 11:10:40 +08:00
Neil Lalonde
9c7a02192a
FIX: flag action buttons are missing when visiting flags from the hamburger menu
2017-03-04 11:36:58 -05:00
Sam
3e3fdfc717
FEATURE: plugin can now extend list of classes for topic-post
2017-03-03 16:57:25 -05:00
Sam
31a81d4eee
FEATURE: allow for for empty description in list
2017-03-03 16:13:05 -05:00
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
Guo Xiang Tan
66a0a89591
PERF: Add index to speed up DirectoryItem.refresh_period!
query.
2017-03-03 16:25:06 +08:00
Guo Xiang Tan
89f056203e
Don't load thor
in our Rails processes.
2017-03-03 10:14:35 +08:00
Sam
abc4dff0fe
FEATURE: add bumped_before query param for topic list
2017-03-02 15:11:50 -05:00
Neil Lalonde
ca20cb9941
FEATURE: subcategories can be discovered by web crawlers on page 1 of the parent category topics list
2017-03-02 15:06:56 -05:00
Sam
4dac4c69a6
FEATURE: add before
topic list filter
2017-03-02 14:54:33 -05:00
Sam
872d9eae45
FEATURE: add :all filter for messages
2017-03-02 14:54:33 -05:00
Robin Ward
890f1bde89
FIX: Add thor
to Gemfile. We need it for our CLI tool.
2017-03-02 13:36:06 -05:00
Sam
03a0c4ad34
Merge pull request #4735 from LeoMcA/sidekiq-fix
...
FIX: start sidekiq process for all queues in docker dev
2017-03-02 13:02:00 -05:00
Leo McArdle
a11c4a8078
FIX: start sidekiq process for all queues in docker dev
...
https://meta.discourse.org/t/docker-dev-only-starting-critical-sidekiq-queue/58242
2017-03-02 18:00:24 +00:00
Neil Lalonde
7496f373cd
add headline itemprop to DiscussionForumPosting for crawlers
2017-03-02 12:35:50 -05:00
Neil Lalonde
797313a28d
FIX: subcategories need the num featured topics setting too
2017-03-02 11:31:28 -05:00
Sam
7431c30c1f
Correct test and remove uneeded outlet
2017-03-02 09:17:14 -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
fc0f363973
Run plugin specs as well.
2017-03-02 17:28:35 +08:00
Guo Xiang Tan
03ec1b1ef5
Run tests against 2.3.3.
2017-03-02 17:28:35 +08:00
Guo Xiang Tan
442bef2df9
Merge pull request #4706 from gsambrotta/add-name-search-dropbox
...
FEATURE: Add user name in search results
2017-03-02 15:22:15 +08: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
Guo Xiang Tan
7a232f789c
Merge pull request #4734 from fushnisoft/edit_post_typo
...
FIX: typo in rate_limiter edit_post message
2017-03-02 14:23:50 +08:00
Guo Xiang Tan
2a35abf757
Fix the build.
2017-03-02 12:36:15 +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
Sam
dbfea9b5b0
correct refactor
2017-03-01 18:26:26 -05:00
Jeff Atwood
ea9929cf58
add stronger backup download language
2017-03-01 15:16:05 -08:00
Guo Xiang Tan
f5bf6256a9
Merge pull request #4732 from nbianca/typo
...
Fixed typo.
2017-03-02 06:02:43 +08:00
Sam
c79b146283
FEATURE: make list controller a bit more extensible
2017-03-01 16:41:09 -05:00
Sam
f0b79cf54b
FEATURE: Add outlet for messages nave extension
2017-03-01 16:41:09 -05:00
Bianca Nenciu
2c22a7f78b
Fixed typo.
2017-03-01 23:02:29 +02:00
Neil Lalonde
d848916357
FEATURE: Greek language support, thanks to Vasilis Vlachokyriakos
2017-03-01 15:52:55 -05:00
Sam
7895b71817
move to use let, missed a spot
2017-03-01 15:15:36 -05:00
Neil Lalonde
51d7dc4355
switch contents of embeddable_host_fabricator.rb and category_fabricator.rb
2017-03-01 15:13:31 -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
Sam
ca951f2cf2
FIX: render custom tag extensions even when tags disabled
2017-03-01 13:38:44 -05:00
Sam
89bd538742
add callback priority to tags html
2017-03-01 12:56:45 -05:00
Blake Erickson
0b81a93020
Merge pull request #4718 from oblakeerickson/email_discourse_backups
...
FEATURE: further restrict downloading of backups
2017-03-01 08:57:44 -07:00
Sam
8c8de1c2d4
FEATURE: addUserMenuGlyph extensibility point
2017-03-01 10:32:01 -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
giorgia
d308638a18
create searchResultUserSerializer, display name next to username in search results
2017-03-01 13:11:01 +01:00
Régis Hanol
b20b568039
FIX: allow for empty translated strings
2017-03-01 11:30:44 +01:00
Arpit Jalan
e27b1b98d1
FIX: handle new user when logging name change
2017-03-01 13:43:57 +05:30