Neil Lalonde
2672857aee
FIX: public_user_custom_fields are returned by UserSerializer
2014-08-19 11:05:44 -04:00
Régis Hanol
f2b0228164
FIX: unhide post when a moderator undos the flag on which s/he took action
2014-08-19 16:14:17 +02:00
Sam
85317e7658
unhack spec
2014-08-19 20:57:34 +10:00
Sam
76e74f6a3b
Workaround: Make sure this spec can not hang our spec suite
2014-08-19 17:44:20 +10:00
Sam
cb686792df
FIX: add safety so sidekiq can no longer be paused indefinitely
...
If the process pausing sidekiq dies sidekiq will come out of pause mode
2014-08-19 14:04:58 +10:00
Neil Lalonde
d273374f1a
FIX: before nuking a user, do a real count of posts instead of relying on user_stat record
2014-08-18 12:07:29 -04:00
Neil Lalonde
1445ad61da
FIX: case-insensitive category lookup when creating topics
2014-08-18 11:07:49 -04:00
Régis Hanol
d7b1313d5e
FEATURE: acting on a flag should not post an automated status message if you already replied to it
2014-08-18 17:00:14 +02:00
Akshay
fa8d18fb97
updated test with proper change of Rails.env during test
2014-08-18 15:38:25 +05:30
Sam
5193c9fd16
FIX: ensure consistency on topic featured users
2014-08-18 17:13:32 +10:00
Sam
e0a82d3088
FIX: rate limit password reset email
2014-08-18 10:55:30 +10:00
Robin Ward
0ce2df36e0
Merge pull request #2662 from techAPJ/patch-3
...
FEATURE: add additional fields in user list export
2014-08-15 16:03:16 -04:00
Arpit Jalan
8d7f4c1944
FEATURE: add additional fields in user list export
2014-08-16 00:39:28 +05:30
Neil Lalonde
2f32af3941
FIX: staff should be able to edit topics that have been archived
2014-08-15 12:45:05 -04:00
Sam
347aa343b0
fix spec, I don't agree with allowing mods and staff to edit this
2014-08-15 12:56:03 +10:00
Robin Ward
167f393a03
Merge pull request #2655 from techAPJ/patch-3
...
FEATURE: export user list
2014-08-14 17:19:49 -04:00
Robin Ward
6e67fab9aa
Merge pull request #2656 from akshaymohite/optimization-fixes
...
Avoid using to_s when performing String Interpolation
2014-08-14 17:17:57 -04:00
Arpit Jalan
d0736a06b6
FEATURE: export user list
2014-08-15 01:46:57 +05:30
Neil Lalonde
658cdd2c9e
FIX: PostDestroyer needs to update user stats. Delete All Posts button was broken, making it impossible to delete users.
2014-08-14 15:21:16 -04:00
Akshay
7ef61144e7
Avoid using to_s when performing String Interpolation
2014-08-14 23:55:27 +05:30
Neil Lalonde
5caf72510c
Prevent deleting the static page doc topics
2014-08-13 17:03:45 -04:00
Régis Hanol
6201b82a67
FIX: keep the post_number parameter when redirecting to proper slug
2014-08-13 22:19:41 +02:00
Robin Ward
74d9293ca9
FIX: Allow duplicate slugs when the parent category is not the same
2014-08-13 14:45:25 -04:00
riking
90091972b9
Use same reply-to format in all email fixtures
2014-08-13 11:43:49 -07:00
riking
cce8b4720a
Have reciever handle multiple To addresses
2014-08-13 11:43:49 -07:00
Robin Ward
3c6673aceb
Purge inactive accounts that are older than 7 days
2014-08-13 14:13:41 -04:00
Robin Ward
9a1580244a
FIX: Don't show profile pages for inactive users and don't show them in
...
search results.
2014-08-13 13:30:25 -04:00
Sam
1baa55fe45
FIX: preview bust when no params
2014-08-13 12:25:56 +10:00
Robin Ward
c74550fbad
Merge pull request #2644 from xfix/y3k
...
Year 3000 problem while displaying thread pins.
2014-08-12 12:20:10 -04:00
Neil Lalonde
e40e9351f6
FIX: don't allow same category name with different case
2014-08-12 11:40:33 -04:00
Konrad Borowski
3189296e5f
Fix ordering of posts in posts in order unit test.
2014-08-12 10:31:21 +02:00
Konrad Borowski
3e5ff66bed
Add unit tests for testing if infinity as highest_date works.
2014-08-12 09:51:54 +02:00
Jeff Atwood
a51bf08346
change "Sign In" back to "Log In" for now
2014-08-11 16:08:55 -07:00
Régis Hanol
f4208ae83f
FEATURE: normalize whitespaces in topic title/post content
2014-08-12 00:01:58 +02:00
Robin Ward
15c7e01b90
FEATURE: Can bulk delete topics now using the modal.
2014-08-11 15:14:02 -04:00
Régis Hanol
85570ddc77
TRIVIAL: fix grammar on 'deferred' columns
2014-08-11 11:56:54 +02:00
Régis Hanol
e64d3b8a42
FIX: disagree flag should unhide hidden post
2014-08-11 10:48:00 +02:00
Sam
9fc7c145b3
FEATURE: added method for draining idle connections
2014-08-11 15:13:37 +10:00
Sam
22cd259687
FIX: remove faulty "ensure consistency" badge job
2014-08-11 09:21:06 +10:00
Neil Lalonde
50ac4c6336
FIX: cleanup aliases in email From and Reply-to fields to prevent Bad sender address syntax errors
2014-08-08 13:35:47 -04:00
Sam
49f738fe27
FEATURE: allow users to dismiss unread posts
2014-08-08 16:29:51 +10:00
Sam
16b7004767
PERF: optimise and improve topic similarity search
...
FIX: shows up similarity search with blank results
2014-08-08 12:12:53 +10:00
Sam
f20c5a02c7
amend test
2014-08-08 10:02:43 +10:00
Sam
f4b2a83f29
remove broken spec
2014-08-08 09:15:52 +10:00
Régis Hanol
7c65adfd6f
FEATURE: raise an exception when the email is missing in the OpenId callback
2014-08-07 19:28:50 +02:00
Régis Hanol
3ae1ebdfc3
FIX: use PostDestroyer when deleting/recovering a topic
2014-08-07 19:12:35 +02:00
Sam
cd22b6158c
PERF: stop mucking with user stats every 15 minutes
...
(pushed to twice daily)
2014-08-07 14:20:42 +10:00
Arpit Jalan
262d4b2fa6
add test for email parameter fix
2014-08-06 20:36:06 +05:30
Sam
0b01310c84
FIX: system badges where created under id 100
2014-08-06 10:51:39 +10:00
Sam
b11b5cb61b
SECURITY: rebake old user profiles
2014-08-05 16:37:56 +10:00
Sam
3cab3acd60
FIX: stop logging way too much information
2014-08-05 16:14:28 +10:00
Sam
e145e34ebe
fix specs
2014-08-05 13:40:44 +10:00
Régis Hanol
17debbdcda
FIX: make sure no more than one 'status' reply is put in a PM (for multiple flags on the same post)
2014-08-04 19:39:36 +02:00
Régis Hanol
2e134742d4
FIX: only show 'defer flags' when there are active flags on the post
2014-08-04 17:29:01 +02:00
Sam
cb0ecd9ff1
PERF: store topic views in a topic view table
...
* cut down on storage of the work Topic, 3 times per row (in 2 indexes)
* only store one view per user per topic
* only store one view per ip per topic
2014-08-04 19:07:55 +10:00
Sam
03c8f09be8
PERF: finalize porting to new incoming links structure
2014-08-04 16:43:57 +10:00
Sam
0920c4bea6
PERF: reduce storage requirements for incoming links
...
Only store incoming links for topics.
2014-08-04 11:06:48 +10:00
Neil Lalonde
b368667703
FIX: don't validate topic title if it isn't changing. topic stats were failing to update, causing necro topic warnings and other problems.
2014-08-01 17:30:07 -04:00
Robin Ward
6eb478f5fa
Merge pull request #2614 from riking/email-tests
...
Email tests, and include posting error reason
2014-08-01 16:33:00 -04:00
riking
63cdde3d96
Add more tests, undo some changes to fixture files
...
Was causing Email::Reciever tests to fail
2014-08-01 12:40:28 -07:00
Neil Lalonde
443caaa8f7
FIX: don't let admins skip post validations, unless it's faq, tos, or privacy
2014-08-01 14:53:35 -04:00
riking
0faea8ee0b
Attempt at checking throws....
2014-08-01 11:38:44 -07:00
riking
c0b2b9b341
Refactor out handle_failure method in PollMailbox
2014-08-01 11:12:06 -07:00
riking
d7df4e5979
Start making better-written tests for the email job
2014-08-01 11:03:16 -07:00
Neil Lalonde
3b46b5ecbf
FIX: TL3 requirements now only counts agreed flags
2014-07-31 10:43:18 -04:00
Sam
dcc9923e4b
FIX: failed messages posted via email silently ignored
...
also... test suite over mocking
2014-07-31 18:46:02 +10:00
Sam
138d013e56
FIX: Suspended users should not be allowed to post
2014-07-31 13:15:16 +10:00
Sam
e9a1af0113
FIX: Do not suppress reply-to when other posts quoted
2014-07-31 11:40:02 +10:00
Régis Hanol
220f9e21e3
FIX: 'undo flag' marks the flag as disagreed
2014-07-30 23:35:42 +02:00
Sam
84836944e8
FIX: crash on invalid uri component
2014-07-30 17:09:55 +10:00
Sam
e7e70d14da
Merge pull request #2591 from BenLubar/benlubar-edit-history-public
...
add profile option for edit history visibility
2014-07-30 14:09:10 +10:00
Sam
5a3466a6c3
FIX: keep correct ordering on admin badges
2014-07-30 08:46:59 +10:00
Régis Hanol
b196de0821
TRIVIAL: use class instead of id for the 'topic-list'
2014-07-29 23:38:36 +02:00
Robin Ward
2096861d79
FIX: Response is no longer forbidden with JSON errors for changing trust
...
level.
2014-07-29 16:10:04 -04:00
Robin Ward
7cc4a157f6
Merge pull request #2603 from techAPJ/patch-1
...
FEATURE: allow staff to send multiple invites to same email
2014-07-29 14:58:39 -04:00
Arpit Jalan
f571abfaaf
FEATURE: allow staff to send multiple invites to same email
2014-07-30 00:13:11 +05:30
Neil Lalonde
fc22127726
FIX: only admin can edit faq, tos, and privacy policy
2014-07-29 10:40:09 -04:00
Sam
aa7ed0b2ba
FIX: remove broken find topic id feature
2014-07-29 16:36:52 +10:00
Sam
c96a84456d
FIX: broken tests
2014-07-29 16:36:52 +10:00
Ben Lubar
93ea940a4d
add spec for public edit history
2014-07-29 01:00:39 -05:00
Sam
5d9eefbfed
FIX: don't notify on link reflections
2014-07-29 15:40:05 +10:00
Neil Lalonde
e1be478ef4
FIX: admins bypass some post validations. This allows them to edit legal docs even if those docs are longer than max post length, for example.
2014-07-28 16:40:14 -04:00
Régis Hanol
57fef6864d
FIX: update_counters wasn't properly updating topic counters
2014-07-28 22:08:31 +02:00
Régis Hanol
bddffa7f9a
FEATURE: flag dispositions normalization
...
All flags should end up in one of the three dispositions
- Agree
- Disagree
- Defer
In the administration area, the *active* flags section displays 4 buttons
- Agree (hide post + send PM)
- Disagree
- Defer
- Delete
Clicking "Delete" will open a modal that offer to
- Delete Post & Defer Flags
- Delete Post & Agree with Flags
- Delete Spammer (if available)
When the flag has a list associated, the list will now display 1
response and 1 reply and a "show more..." link if there are more in the
conversation. Replying to the conversation will NOT give a disposition.
Moderators must click the buttons that does that.
If someone clicks one buttons, this will add a default moderator message
from that moderator saying what happened.
The *old* flags section now displays the proper dispositions and is
super duper fast (no more N+9999 queries).
FIX: the old list includes deleted topics
FIX: the lists now properly display the topic states (deleted, closed,
archived, hidden, PM)
FIX: flagging a topic that you've already flagged the first post
2014-07-28 19:28:07 +02:00
David McClure
025354f52f
add a low water mark at 90% of variable TL3 requirements
2014-07-27 23:42:38 -07:00
Sam
1a6aa07611
FEATURE: editable badge groups
2014-07-27 18:22:01 +10:00
Régis Hanol
3d6e2713d1
BUGFIX: login was broken when login was required
2014-07-26 23:16:08 +02:00
Neil Lalonde
fcaeb885e5
FIX: don't show the option to notify yourself in the flag dialog
2014-07-25 16:37:03 -04:00
Robin Ward
6ba5f715f3
FIX: There was an error renaming the Uncategorized topic
2014-07-25 16:36:34 -04:00
Robin Ward
b2f2e7b1d2
REFACTOR: Move Markdown tests to Javascript land
2014-07-25 16:08:00 -04:00
Neil Lalonde
5a33e6f00c
Move FAQ, Terms of Service, and Privacy Policy into topics in the Staff category. First post of those topics will be rendered on their respective pages. Site settings and content are not used for these documents anymore. Translations of the default text is moved into the standard YML files.
2014-07-25 14:41:20 -04:00
Robin Ward
be408242bc
Merge pull request #2581 from awesomerobot/master
...
new notification style, poster expansion border, changing media screen to media all...
2014-07-25 10:55:43 -04:00
Sam
354d40a6ea
FIX: system attribute not set correctly on new badges
2014-07-25 15:22:29 +10:00
Sam
6e9f5f5584
SECURITY: fix XSS in excerpt parser
2014-07-25 12:16:00 +10:00
Arpit Jalan
3b2a5f6894
FIX: filter whitelist domain name
2014-07-24 22:02:10 +05:30
Kris Aubuchon
4a1ec20585
adding border to poster expansion, changing media screen to media all, trying new notification style
2014-07-24 12:21:22 -04:00
Robin Ward
c93a7020ec
Merge pull request #2565 from swalkinshaw/move-discourse-plugin
...
Move discourse_plugin to lib
2014-07-23 10:56:12 -04:00
Scott Walkinshaw
7e2aa5acfb
Move discourse_plugin to lib
2014-07-23 00:03:48 -04:00
Sam
0f9678fe49
FIX: faster update of all badges
...
Introduced badge triggers, introduced concept of badge that happens due to a post but has the post hidden
Delta badge grant happens once a minute, backed by redis
2014-07-23 11:46:07 +10:00
Neil Lalonde
b3c149de22
FIX: use email_site_title for emails like reset password and account activation too
2014-07-22 15:52:20 -04:00