Robin Ward
fc3ce934f5
Show categories on the user streams for topics.
2014-05-26 13:49:57 -04:00
Robin Ward
b1d2aba0f3
Clean up notifications if a user can't see a topic
2014-05-26 13:26:46 -04:00
Sam
ff6755f1e5
Merge pull request #2343 from knutaldrin/patch-1
...
Fix suspended scope
2014-05-23 12:56:32 +10:00
Sam
e06da1821d
BUGFIX: notifications were not updated correctly live
...
- missing notifications when multiple replies in topic (till refresh)
- not cleared properly on click
2014-05-23 11:34:34 +10:00
Neil Lalonde
d2c34d17b7
Fix failing spec. Stubbing intermittently does not stub...
2014-05-22 11:06:19 -04:00
Neil Lalonde
867c56d9c7
Add link to google config instructions. Fix dashboard warning for google oauth2.
2014-05-21 19:11:10 -04:00
Sam
7fee3d7f8f
Annotate models
2014-05-22 09:00:38 +10:00
Neil Lalonde
742841ddce
Add Google Oauth2 authenticator. The current Google OpenID authentication has been deprecated by Google and will NOT work for any new websites.
2014-05-21 18:35:10 -04:00
Neil Lalonde
68747c8d2d
FIX: category_list_spec would sometimes fail. It was passing only by luck.
2014-05-21 10:37:37 -04:00
Vikhyat Korrapati
d208e4d517
Multiple grant badges.
2014-05-21 12:54:55 +05:30
Neil Lalonde
27cbc06563
Add fixed_category_positions site setting to handle whether categories are ordered by specified positions or by activity.
2014-05-16 11:33:52 -04:00
Sam
eff8c22638
There is this thing called SQL and it is about 1000x faster
2014-05-16 10:34:06 +10:00
Sam
5914d0e132
Merge pull request #2311 from vikhyat/badge-system
...
Add automatically assigned trust level badges
2014-05-16 09:08:00 +10:00
Knut Aldrin Wikström
579f2bf7b8
Fix suspended scope
...
:non_suspended should check if suspension is <= NOW, else one could end up in neither group.
2014-05-15 15:47:49 +02:00
Sam
198cf851ff
BUGFIX: exact username match not correctly prioritized on search
2014-05-15 12:22:35 +10:00
Robin Ward
3211c60bbe
FEATURE: A new site setting `public_user_custom_fields` which allows you
...
to whitelist custom fields that will be exposed to the Ember client
application.
2014-05-14 14:39:01 -04:00
Vikhyat Korrapati
c07244a4e6
Refactor BadgeGranter.update_trust_level_badges! -> update_badges.
2014-05-14 21:01:41 +05:30
Vikhyat Korrapati
b144b75565
Add automatically assigned trust level badges.
2014-05-14 20:47:21 +05:30
Neil Lalonde
c4d3aa3d47
Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline.
2014-05-14 10:18:12 -04:00
Régis Hanol
08dde3d881
BUGFIX: moderators can notify moderators
2014-05-13 17:47:00 +02:00
Neil Lalonde
6e0eb89697
Don't show suspended users in autocomplete fields unless you are staff
2014-05-13 11:44:15 -04:00
Wojciech Zawistowski
960d64930c
Wiki Post
2014-05-13 08:53:11 -04:00
Neil Lalonde
00390ee739
Add a way to show a custom message at the top of all notification emails. Customize it at /admin/site_contents/notification_email_top
2014-05-12 16:52:06 -04:00
Neil Lalonde
e68e97d986
FIX: moderators can't see private topics that they aren't invited to see.
2014-05-12 15:26:46 -04:00
Régis Hanol
b018b4ad18
BUGFIX: remove N+1 on topic lists
2014-05-12 10:11:05 +02:00
Régis Hanol
bc3de84ebf
FEATURE: remove bookmark button in activity feed
2014-05-12 09:33:26 +02:00
Régis Hanol
9125453628
FEATURE: add the first 3 participants in a private message
2014-05-12 09:32:49 +02:00
Robin Ward
eb0872c5d4
FIX: Topic archetype check should only happen when the topic exists
2014-05-11 15:53:57 -04:00
Robin Ward
2bb63ffb38
FIX: Don't show links to private messages in the gutter
2014-05-11 15:16:28 -04:00
Sam
084ec87850
FEATURE: admins can invite users to groups via the web UI
2014-05-09 18:22:36 +10:00
Sam
3f07c1d0a1
Backend support for group invites
2014-05-09 18:22:35 +10:00
Sam
34d1668f9f
FEATURE: backend for inviting a user to a group
2014-05-09 18:22:35 +10:00
Robin Ward
77d68ccf08
FIX: Robin is fired for the typo
2014-05-08 16:44:32 -04:00
Robin Ward
44ed0d5232
FIX: Even more safety, the topic must exist as well.
2014-05-08 16:41:25 -04:00
Robin Ward
5fb962a65f
FIX: Some extra safety - in the case that an imported post was deleted,
...
don't error out of the PollFeed job
2014-05-08 16:27:17 -04:00
Sam
cec18aba3f
Rails 4 upgrade
2014-05-08 14:47:54 +10:00
Sam
a2e2d0e886
Merge pull request #2316 from mutiny/refactor-where-first
...
Refactor `where(...).first` to `find_by(...)`
2014-05-08 09:10:45 +10:00
Régis Hanol
4b9acd6806
BUGFIX: make sure we do not try to pull images from the CDN
2014-05-07 19:49:16 +02:00
Régis Hanol
21e8ae0eca
BUGFIX: the /top page now shows the first non-empty period
2014-05-07 19:04:39 +02:00
Sam
ee0efab02f
More logging, less problems
2014-05-07 12:37:02 +10:00
Louis Rose
1574485443
Perform the where(...).first to find_by(...) refactoring.
...
This refactoring was automated using the command: bundle exec "ruby refactorings/where_dot_first_to_find_by/app.rb"
2014-05-06 14:41:59 +01:00
Régis Hanol
f20fba041c
BUGFIX: improved top ranking formula (+ filter topics based on their creation date)
2014-05-05 23:05:35 +02:00
Régis Hanol
c21d3f41d0
BUGFIX: only redirect new users to top page once
...
Actually, new users will still be redirected to the top page during the first 30 seconds of their first visit.
2014-05-05 19:00:40 +02:00
Régis Hanol
4642218662
FEATURE: add private messages counters in user activity feed
2014-05-02 22:53:58 +02:00
Régis Hanol
02dd80170a
BUGFIX: revision history was messed up when doing quick edits
2014-04-30 22:42:56 +02:00
Régis Hanol
11af466737
FEATURE: add a specific flag reason when a post has been hidden
2014-04-30 16:58:01 +02:00
Sam
f6c22cc299
Merge pull request #2297 from ligthyear/custom-fields
...
Custom fields for Topic, Category, Post and Group
2014-04-30 13:15:50 +10:00
Benjamin Kampmann
f757706861
Ensure Reload reloads custom_fields, too
2014-04-29 19:34:56 +02:00
Benjamin Kampmann
0cf07d41ae
Move Concern from lib into app/models. refs #2279
2014-04-29 19:26:43 +02:00
Benjamin Kampmann
e502122c51
Add Custom Fields on Topics
2014-04-29 19:26:42 +02:00
Benjamin Kampmann
2450088c03
Add CustomFields to Post, Category and Group
2014-04-29 19:26:42 +02:00
Benjamin Kampmann
e6e03a1a96
move custom fields into its own concern
2014-04-29 19:26:42 +02:00
Robin Ward
359d59242e
If a new user receives a mention, quote or response to their post, allow
...
them to continue posting in a topic.
2014-04-29 12:59:14 -04:00
Sam
0fc4c47927
Merge pull request #2295 from vikhyat/badge-system
...
Titleable badges
2014-04-29 11:26:51 +10:00
Neil Lalonde
340fd303c8
FIX: in multisite setup, links to the current forum are whitelisted when looking for spam hosts
2014-04-28 10:37:28 -04:00
Vikhyat Korrapati
b4e037dfb2
Allow badges to be marked as "titleable".
2014-04-28 10:30:38 +05:30
Sam
e88e43bfb6
Merge pull request #2279 from fantasticfears/concern
...
move concerns to the model/concerns
2014-04-28 09:48:33 +10:00
Robin Ward
89df580560
FIX: Reflected post links were being deleted when they shouldn't and
...
vice versa.
2014-04-25 16:49:48 -04:00
Régis Hanol
f8d9fb7bdc
Revert "Merge pull request #2284 from jaimeiniesta/patch-1"
...
This reverts commit a6b88d1e7e
, reversing
changes made to 9bee0b6e2d
.
2014-04-25 11:40:38 +02:00
Neil Lalonde
feaaf55a0c
Theming: color scheme editing. Unfinished! Doesn't have any effect on css files yet.
2014-04-24 16:49:12 -04:00
riking
b309deef11
Add site setting for domains to never download images from
2014-04-23 22:24:35 -07:00
Sam
a6b88d1e7e
Merge pull request #2284 from jaimeiniesta/patch-1
...
escape gravatar URLs to comply with W3C standards
2014-04-24 12:56:16 +10:00
Sam
05efc8df16
BUGFIX: likes would cause whole post to re-render
2014-04-24 12:42:04 +10:00
Sam
759f4b4fe9
BUGFIX: category name is reserved in multisite
2014-04-24 09:19:59 +10:00
Robin Ward
e48cf06fc9
REFACTOR: Add urls for admin groups, make it more idiomatic ember
2014-04-23 15:15:46 -04:00
Robin Ward
af877781b7
Allow admins to choose if groups are visible or not.
2014-04-22 16:43:46 -04:00
Sam
a3b2b4baca
FEATURE: custom fields on User
2014-04-22 13:52:13 +10:00
Jaime Iniesta
6084cb969d
escape gravatar URLs to comply with W3C standards
...
This fixes an HTML validation error due to & not being properly escaped on the gravatar URLs.
2014-04-21 00:46:00 +02:00
Erick Guan
6d45f71254
move concerns to the model/concerns
2014-04-19 12:00:40 +08:00
Régis Hanol
454f11e597
FEATURE: new title_sanitize site setting
2014-04-18 21:01:21 +02:00
Régis Hanol
b014d66b65
Merge pull request #2277 from vikhyat/fix-title-html
...
Fix HTML tags in topic titles
2014-04-18 11:37:33 +02:00
Vikhyat Korrapati
25a080a8e1
Fix HTML tags in topic titles.
...
We no longer sanitize titles before saving to the database since it
would cause problems like HTML entities showing up when you try to edit
a topic title. It isn't even really necessary since we only render
fancy_title directly and never title.
The escaping logic used here is the same that is used both in lodash and
onebox. See:
1. https://github.com/discourse/onebox/pull/190/files
2. https://github.com/lodash/lodash/blob/2.4.1/dist/lodash.compat.js#L6194
2014-04-18 10:47:00 +05:30
Robin Ward
64faee0935
Break down new topic counts by category if a digest contains many.
2014-04-17 16:42:40 -04:00
Robin Ward
fd4007eefc
FIX: Don't sort the new topics by score since the Top logic is already
...
sorting them by score.
2014-04-17 15:43:24 -04:00
Robin Ward
564b1d86b0
Digest should exclude muted topics.
2014-04-17 15:27:11 -04:00
Robin Ward
89aa2380c6
Use "Top" logic for digest emails. Leave out muted categories.
2014-04-17 15:22:19 -04:00
Régis Hanol
bda47c2bf8
Merge pull request #2274 from vikhyat/badge-system
...
Fix user_badges n+1 query
2014-04-17 21:05:48 +02:00
Neil Lalonde
890e53cd6e
Remove the default_invitee_trust_level+1 privilege from trust level 3.
2014-04-17 15:05:15 -04:00
Vikhyat Korrapati
843023d7c9
Fix user_badges n+1 query.
2014-04-17 21:58:05 +05:30
Vikhyat Korrapati
b62606e7f1
Remove color_hexcode column from badge_types.
2014-04-17 05:36:29 +05:30
Vikhyat Korrapati
89f45901bc
Create notification when badge is granted.
2014-04-17 01:58:01 +05:30
Vikhyat Korrapati
4c0f85650e
Display badge count in the user admin page.
2014-04-16 18:08:10 +05:30
Vikhyat Korrapati
e0a4959dc9
Sort featured badges by badge type first, followed by grant count.
2014-04-16 18:08:10 +05:30
Régis Hanol
9cd8476453
REFACTOR: use an options hash instead of multiple nil-able parameters
2014-04-15 17:17:10 +02:00
Régis Hanol
542d54e6bf
BUGFIX: uploads to S3
2014-04-15 13:04:14 +02:00
Sam
862a6696c0
Correct annotations
...
allow longer usernames (up to 60)
2014-04-15 15:53:48 +10:00
Sam
e5f41b8a21
FEATURE: whitelist and blacklist selectors for embeds
2014-04-15 14:07:30 +10:00
Robin Ward
a49b38ac35
TRIVIAL: Remove irrelevant comment :)
2014-04-14 21:00:52 -04:00
Régis Hanol
2505d18aa9
FEATURE: support email attachments
2014-04-14 22:55:57 +02:00
Robin Ward
b909e26fa4
Also use the body of the post when looking for similar topics
2014-04-14 15:48:58 -04:00
Robin Ward
0d238db43c
Exclude category definition topics from similar search
2014-04-14 15:21:05 -04:00
Sam
b0ed9082b3
FEATURE: Hidden site setting for max username length
2014-04-14 12:55:33 +10:00
Sam
41631311e9
jiggle comment
2014-04-10 16:36:39 +10:00
Sam
b9d4edd91a
FEATURE: display unpinned state, allow unpinning by clicking on pin
2014-04-10 10:59:02 +10:00
Sam
ac097e2d0f
Merge pull request #2244 from vikhyat/css-import
...
Site Customization @import fixes
2014-04-10 07:01:34 +10:00
Robin Ward
ce40a27274
FIX: If there is an invalid URI in the import, don't throw an error
2014-04-09 11:04:45 -04:00
Vikhyat Korrapati
8c129e480a
Always use DiscourseSassImporter, add optional sprockets deps tracking.
2014-04-09 19:17:19 +05:30
Sam
8cdf25532c
Merge pull request #2207 from riking/list-setting
...
UI for list site settings
2014-04-09 09:34:50 +10:00
Sam
b0dc9279ff
Merge pull request #2203 from riking/change-owner
...
Change post owner functionality
2014-04-09 09:31:46 +10:00
riking
9c4dd1cb35
Change comma-delim site settings to pipe-delim
2014-04-08 14:17:55 -07:00
Régis Hanol
6373de550f
update annotations
2014-04-08 17:35:44 +02:00
Vikhyat Korrapati
ce4f87e461
Pass sprockets context and environment to Sass::Engine.
2014-04-08 20:09:11 +05:30
riking
1540a3d5e5
Allow changing ownwership of posts by admins
2014-04-08 01:47:42 -07:00
Sam
d71f62a9f9
Merge pull request #2180 from tomciopp/master
...
More idiomatic approach to finding drafts
2014-04-08 16:46:24 +10:00
Robin Ward
7e3ea5d644
Support for crawling topic links
2014-04-07 14:08:34 -04:00
Régis Hanol
7e7ca43a19
BUGFIX: backup/restore when using multisite
2014-04-07 17:55:38 +02:00
Sam
0372b81d11
FEATURE: allow moderators to globally pin topics
2014-04-07 16:38:51 +10:00
Sam
c6b525bd5c
lets see if travis can give us some better info
2014-04-07 11:34:35 +10:00
Sam
78c844f8d8
BUGFIX: new users not getting correct error messages
2014-04-04 11:08:54 +11:00
Robin Ward
767048cc8d
FIX: Strips spaces from the end of URLs
2014-04-03 15:35:31 -04:00
Robin Ward
10d0320532
FIX: Allow expanding posts when anonymous, add specs
2014-04-03 11:30:43 -04:00
Robin Ward
079123f008
Allow the `content_sha1` column of `topic_embed` to be nullable
2014-04-02 16:18:51 -04:00
Robin Ward
d1e7fa1c47
Minor tweaks to importing first posts
2014-04-02 15:54:21 -04:00
Robin Ward
b250aa36a0
Remote fetching of blog contents
2014-04-02 10:26:46 -04:00
Robin Ward
f5c7ccb4e6
New field: Whether or not to include an expandable first post for
...
embedded content.
2014-04-02 10:26:46 -04:00
Sam
eff8b48da9
Revert "BUGFIX: raise message bus messages after data is committed"
...
This reverts commit d2926424d6
.
2014-04-02 16:24:36 +11:00
Sam
d2926424d6
BUGFIX: raise message bus messages after data is committed
2014-04-02 12:47:28 +11:00
Vikhyat Korrapati
317f9bcd08
Use custom DiscourseSassImporter for site customization SCSS compilation.
2014-04-01 23:05:02 +05:30
Vikhyat Korrapati
ef99ab59a5
Allow importing Discourse styles in custom stylesheets to modify vars.
2014-04-01 23:04:50 +05:30
Régis Hanol
77a8a4083a
Revert "Merge pull request #2125 from vikhyat/css-variables"
...
This reverts commit b537de3ca5
, reversing
changes made to b925827e5b
.
2014-04-01 16:24:29 +02:00
Vikhyat Korrapati
df5ef38085
Use custom DiscourseSassImporter for site customization SCSS compilation.
2014-04-01 17:25:35 +05:30
Vikhyat Korrapati
ddd1dfe896
Allow importing Discourse styles in custom stylesheets to modify vars.
2014-04-01 15:25:43 +05:30
Régis Hanol
ef24a4c71c
FEATURE: add redirect_users_to_top_page site setting (default to true)
2014-03-31 21:53:38 +02:00
Sam
9aec32688b
BUGFIX: when RTT is short likes may not appear to work
...
BUGFIX: site settings db provider not triggering updates
at the correct point
2014-03-31 12:34:13 +11:00
Sam
8fc2549873
Stop using global vars where not needed
...
Simplify local process site setting provider
Stop setting up methods over and over
Centralize cache clearing
2014-03-31 12:34:13 +11:00
Régis Hanol
3ee8b087ca
Merge pull request #2197 from aslakknutsen/feed_url_case
...
Normalize URL from Feed Entry after adding link to original in Topic
2014-03-28 15:09:55 +01:00
Aslak Knutsen
f011fbdca9
Normalize URL from Feed Entry after adding link to original in Topic
...
Since a URL might be case sensitive, adding a link to the original
Feed Entry with changed case to the Topic could end in 404.
2014-03-27 20:48:01 +01:00
Sam
fe80e02b75
Merge pull request #2199 from chancancode/fix_deprecated_finder_methods
...
Remove deprecated finder method calls
2014-03-27 20:14:30 +11:00
Godfrey Chan
b68dbe081c
Remove deprecated finder method calls
2014-03-27 00:00:23 -07:00
Sam
b7ff4173c9
BUGFIX: mitigate unbound table growth on top_topics
2014-03-27 15:43:24 +11:00
Thomas Cioppettini
38882eb1a7
Remove threequals from ruby files
2014-03-26 12:20:41 -07:00
Thomas Cioppettini
2beaeed36d
More idiomatic approach to finding drafts
2014-03-25 15:56:21 -07:00
Sam
4191972afe
Merge pull request #2173 from vikhyat/badge-system
...
Forgot to specify "dependent: destroy" for UserBadges
2014-03-25 08:25:31 +11:00
Neil Lalonde
ea86cfd4ef
FIX: categories with non-ascii names will have broken next page urls
2014-03-24 13:36:23 -04:00
Vikhyat Korrapati
b1e524e9c3
Specify `dependent: destroy` for UserBadges.
2014-03-24 22:39:58 +05:30
Sam
7e7c4efcc0
FEATURE: on initial boot hint users on how to get admin
2014-03-24 18:03:39 +11:00
Sam
1cd32ced33
FEATURE: update likes and flags live.
2014-03-24 13:22:03 +11:00
Sam
090f5c99c2
FEATURE: Live update edits
2014-03-24 12:19:08 +11:00
Robin Ward
9d1855f92f
Always use lower case URLs, fix date formatting and add full date title
2014-03-23 15:22:02 -04:00
Vikhyat Korrapati
dcaa069bb5
Log badge grant/revoke to the staff actions log.
2014-03-21 11:10:07 +05:30
Sam
5c148faeb9
annotations were out of date
2014-03-20 15:35:51 +11:00
Sam
c240fb0d83
BUGFIX: facebook does not always provide username
...
We key on facebook_user_id its the only thing that matters
2014-03-20 15:35:30 +11:00
Robin Ward
faaada6e8a
Consider URLs the same even with a trailing slash
2014-03-19 16:33:21 -04:00
Robin Ward
d3f1eb395d
Updated import for TypePad
2014-03-19 15:02:49 -04:00
Neil Lalonde
a74764c833
Log when facebook doesn't provide an email address
2014-03-19 13:31:17 -04:00
Neil Lalonde
a9a8e649ba
Oops, and these methods too
2014-03-19 10:36:24 -04:00
Neil Lalonde
986f6e9c2a
Oops I meant to delete the old method
2014-03-19 10:35:35 -04:00
Neil Lalonde
3ea477b17d
FIX: performance of CategoryDetailedSerializer and Category.update_stats on large databases
2014-03-19 10:14:15 -04:00
Neil Lalonde
fa4bc90fbb
Remove another N+1 query from categories page
2014-03-18 15:24:29 -04:00
Robin Ward
3cf0adaed0
Merge pull request #2139 from riking/s3-backup-warning
...
Add s3_backup_config_warning
2014-03-18 14:41:42 -04:00
Sam
5c26b3dad1
FIX: broken specs after new link alerting code
2014-03-18 15:22:53 +11:00
Sam
00a46253ae
BUGFIX: Don't resolve oneboxes when cooking
...
Defer to post save job
2014-03-18 15:22:53 +11:00
Sam
24667cedee
FEATURE: notify users when linked
...
Extract out PostAlerter from observer
Track outgoing post links correctly
Notify users they are linked when linked
2014-03-18 15:22:53 +11:00
riking
ffd4f367e3
Add s3_backup_config_warning
...
Note that only one of the two warnings can be shown, because they are checked in the same method.
2014-03-17 12:56:59 -07:00
Sam
02963b03dc
BUGFIX: last_seen_at can be nil
2014-03-17 12:42:51 +11:00
Sam
fe63db7953
Merge pull request #2115 from vikhyat/badge-system
...
Initial badge system implementation
2014-03-17 10:06:37 +11:00
Vikhyat Korrapati
9b26c8584e
Initial badge system implementation.
2014-03-14 21:49:26 +05:30
Robin Ward
e0dee0f10c
Do not include moderator posts in the group area.
2014-03-13 14:06:40 -04:00
Neil Lalonde
5f34a621b5
Revert "Merge pull request #1896 from nickborromeo/category-list"
2014-03-12 16:41:15 -04:00
Robin Ward
085f7997a2
FEATURE: Upload backups to S3 when complete.
2014-03-12 16:24:45 -04:00
Neil Lalonde
9ca516e58d
Rename nickname to username in the code. Use new hub routes. (Old routes still exist as aliases for old Discourse instances.)
2014-03-12 12:39:36 -04:00
Robin Ward
dc1d6decf5
Support for removal of old backups automatically via a site setting
2014-03-12 12:24:35 -04:00
Régis Hanol
bbde2aaa97
Merge pull request #1896 from nickborromeo/category-list
...
Refactor find_relevant_topics and find_categories
2014-03-12 09:44:41 +01:00
Nick Borromeo
5104c7365f
Refactor find_relevant_topics and find_categories
...
This breaks down two private methods into smaller methods for
readability. This also moves logic into the Category model class.
2014-03-11 22:16:13 -07:00
Régis Hanol
aece2b61a9
FIX: revision history UI
2014-03-11 18:51:26 +01:00
Robin Ward
d200e68bab
FIX: Link counter was broken for some https links
2014-03-10 11:16:21 -04:00
Benjamin Kampmann
680197200e
Add support for arrays to PluginStore
2014-03-10 14:59:59 +01:00
Régis Hanol
8214536614
BUGFIX: don't show redirect reason if you aren't redirected
...
Move the redirect to top page logic server-side and make sure the reason
is not shown when top is not in the navigation menu (top_menu).
2014-03-07 18:58:53 +01:00
Régis Hanol
084f51b013
FEATURE: do not show category definition topic on top pages
2014-03-07 12:02:52 +01:00
Régis Hanol
dbb383497c
Merge pull request #2072 from ligthyear/fix-edit-body-too-similar-issue
...
Be more liberal when users wants to change their own body to a previous version
2014-03-07 11:38:59 +01:00
Régis Hanol
f25bcc5067
couple of bugfixes identified while importing from VB
2014-03-07 10:44:04 +01:00
Sam
e9fe8f6063
Revert "BUGFIX: if uploads is in a symlinked directory stuff breaks"
...
This reverts commit 894bb0716c
.
The issue here was that docker was not mounting stuff properly post
reboot, then we had a broken symlink that "exists"
2014-03-07 19:22:40 +11:00
Sam
894bb0716c
BUGFIX: if uploads is in a symlinked directory stuff breaks
2014-03-07 19:17:11 +11:00
Sam
73ef91cf27
junk code removed
2014-03-07 19:00:36 +11:00
Sam
b19400726f
BUGFIX/FEATURE: store topic changes in post revisions
...
History + edit notifications for title and category changes
2014-03-07 19:00:36 +11:00
Benjamin Kampmann
d956ca9cf7
Be more liberal when the similar content of the post to be saved turns out to be the same post
...
- instead of setting a random number, we actually store the post id in redis now
- and when checking for matching recent post and it is the same, we allow it still
Fixes the issue that we prevent a user from reverting to a previous state within the unique_posts_min time window.
2014-03-07 08:23:15 +01:00
Régis Hanol
11d91328ab
Merge pull request #2056 from vikhyat/pm-likes
...
Don't suppress like notifications in private messages
2014-03-06 14:53:27 +01:00
Vikhyat Korrapati
944246f4af
Add test to ensure creation of like notification in a PM.
2014-03-06 19:07:26 +05:30
Régis Hanol
ac99947979
BUGFIX: topic specs were dependent on Time.now
...
which would fail when DST was around
2014-03-06 12:44:52 +01:00
Sam
69b498da24
Merge pull request #2034 from birarda/custom_username_length
...
allow for custom username length via site setting
2014-03-05 12:06:23 +11:00
Stephen Birarda
4a2dab9c5e
allow for custom min_username_length
...
change constant in user to be global range and not default
2014-03-04 16:37:05 -08:00
Sam
ea553202f0
Merge pull request #2033 from birarda/master
...
add option to override user attributes from SSO payload
2014-03-05 11:33:32 +11:00
Robin Ward
aa3f7f764d
You can only reuse email tokens within 24 hours.
2014-03-04 14:03:04 -05:00
Robin Ward
90a1cb5bec
Change email token expiry to 24 hours instead of 1 week
2014-03-04 13:02:48 -05:00
Stephen Birarda
c3eb2025d8
add option to override user attributes from SSO payload
...
add an external_username attribute for username from SSO payload
repair the field name in SingleSignOnRecord migration
move setting of external_username for sso to controller
add settings toggle to override username/email from SSO payload
fix changing of external username after override toggle
complete tests and logic for sso override
add some extra context to username override option
add external_email and external_name to single sign on record
add setting for name override from SSO payload
complete override with stored external_email and external_name
add missing checks to tests
remove an unneeded describe block
break up a monster method for single sign on
fixes for sso attribute override after failed tests
2014-03-04 09:52:21 -08:00
Robin Ward
4b61d6af28
BUGFIX: new date was incorrect
2014-03-03 16:11:59 -05:00
Robin Ward
3abe84941f
FEATURE: Add `new_since` column to `UserStat` so we can reset the "New"
...
date.
2014-03-03 15:47:00 -05:00
Sam
172e517b31
Merge pull request #2012 from ligthyear/incoming-emails
...
Advanced New-Topic via Email Feature
2014-03-03 10:58:10 +11:00
Neil Lalonde
b40313559b
FIX: moderators should not be able to see site setting changes in the staff action logs. Fixes #2027
2014-02-28 16:30:54 -05:00
Régis Hanol
6b83ed0347
OPTIM: change Top Topic's score computation algorithm
...
New algorithm will not wipe the entire table anymore and will only remove
invisible topics and add new visible topics.
2014-02-28 20:33:52 +01:00
Robin Ward
67463af4f4
BUGFIX: Don't include deleted topics in activity. Deleted posts are OK.
2014-02-28 11:15:05 -05:00
Benjamin Kampmann
37cea49459
Add Email-In-Per-Category
...
- allow the configuration of an inbox-email-address per category
- post emails to that email into that category instead of global
- Adds UI for configuration
- Adds Documentation for configuration
- Adds Tests for new feature
2014-02-28 16:53:58 +01:00
Sam
560b5356d5
Revert "Use symbols instead of strings in order clause"
...
Breaks 1.9.3 compat
This reverts commit 09a2d9e12c
.
2014-02-28 15:08:50 +11:00
Robin Ward
fee9870427
FIX: New counts were taking into account muted categories
2014-02-27 12:35:33 -05:00
Nick Borromeo
09a2d9e12c
Use symbols instead of strings in order clause
...
This simply changes the strings in the order clauses in the model. The
reason of the change is because the SQL generated when using symbols
automatically name spaces the column with the table name.
Topic.order(:title).to_sql
=> SELECT "topics".* FROM "topics" ORDER BY "topics"."title" ASC
This also changes the scopes using lamba to use stabby lambas for
consistency with other scopes.
2014-02-26 22:43:03 -08:00
Sam
1992271bf9
FEATURE: white_listed_spam_host_domains for domains that are not blocked for spam
...
BUGFIX: bypass host spam detection for current host
2014-02-27 15:43:57 +11:00
Sam
a4d7942dbd
BUGFIX: Don't blow up on junk referers
2014-02-27 12:03:38 +11:00
Sam
9551f4aeea
PERF: calculate scores for topics/posts faster
...
Only look at topics that changed in last day for 15 minuted schedule
Do a full recalc weekly, just in case
2014-02-27 11:45:40 +11:00
Robin Ward
9267c162a1
FIX: Showing Unread(1) when you weren't tracking the topic. Also
...
includes performance fix when having MANY new or unread topics.
2014-02-26 15:39:45 -05:00
Sam
50a8d3caae
BUGFIX: sso to send welcome emails
2014-02-26 10:28:03 +11:00
Sam
440435f023
FEATURE: SSO to handle return_path automatically
2014-02-26 09:58:30 +11:00
Neil Lalonde
7288bf1f31
Add previous page link for crawlers
2014-02-25 12:15:48 -05:00
Robin Ward
9ebcdfba1f
Merge pull request #2005 from eriko/plugin_store_delete
...
clean up plugin store when removing data instead of setting the value to...
2014-02-25 11:36:05 -05:00
Erik Ordway
dfa6960799
clean up plugin store when removing data instead of setting the value to nil and do it a reasonable way.
2014-02-25 08:26:35 -08:00
Sam
6f31d3f0e5
FEATURE: single sign on support
...
Added support for outsourcing auth to a different website, documentation on meta
2014-02-25 14:31:03 +11:00
Erik Ordway
db411860c2
clean up plugin store when removing data instead of setting the value to nil.
2014-02-24 16:11:31 -08:00
Neil Lalonde
46d1c8c1e0
FIX: n+1 queries in CategoryList
2014-02-24 15:07:46 -05:00
Robin Ward
4cd5ccdf1f
BUGFIX: Don't return child categories if you can't see the parent
...
category.
2014-02-24 14:52:41 -05:00
Robin Ward
3151f59bc9
REFACTOR: We don't cache the json for the Site model anymore, so let's
...
rename and remove the methods leftover from that.
2014-02-24 14:25:37 -05:00
Régis Hanol
68a935c36b
FEATURE: upload backups
2014-02-22 01:41:01 +01:00
Robin Ward
a07e9f7e71
FEATURE: Bulk `reset read` status.
2014-02-21 15:18:45 -05:00
Neil Lalonde
5fd390c600
FIX: nuke spammer from flags page
2014-02-21 14:14:30 -05:00
Neil Lalonde
b696c96a19
Look at the age of a user's first post to determine if the user can be nuked, instead of looking at when the user registered.
2014-02-20 12:29:40 -05:00
Robin Ward
d56b1b1c74
Merge pull request #1975 from orend/simplify_topic_posters_summary
...
simplify TopicPostersSummary
2014-02-19 12:30:10 -05:00
Régis Hanol
d443ddd43d
Merge pull request #1922 from joallard/language-toggle
...
Allow users to toggle interface language in their preferences
2014-02-19 18:28:00 +01:00
Oren Dobzinski
d0fbabeb0b
simplify TopicPostersSummary
2014-02-18 23:53:30 -05:00
Neil Lalonde
997a7c676e
If flagging a topic with only one post, flag the post instead
2014-02-18 15:18:31 -05:00
Jonathan Allard
c513725f26
Allow users to toggle interface language in their preferences
2014-02-18 14:53:59 -05:00
Neil Lalonde
d0ecccb7e4
Translate asterisks in ip addresses to mask format so people can enter things like 127.*.*.* in screened ip addresses form
2014-02-18 13:00:55 -05:00
Neil Lalonde
6c23a1903e
FIX: show ip address with mask again on /admin/logs/screened_ip_addresses
2014-02-18 10:33:08 -05:00
Sam
884346cbea
Merge pull request #1951 from thoughtbot/bb-erb
...
Use ERB to pull conf files into app
2014-02-18 16:23:55 +11:00
Stephan Kaag
f12925887c
Drop Rails3 support
2014-02-17 19:42:08 +01:00
Sam
23af46a66c
Merge pull request #1960 from verg/subcategory-search-links
...
Fix subcategories links from search
2014-02-17 10:33:35 +11:00
verg
f723f11443
Fix subcategories links from search
2014-02-16 12:49:20 -05:00
Britt Ballard
60e1a5aa69
Use ERB when importing conf files into app
2014-02-14 16:14:55 -08:00
Neil Lalonde
35dae76bbd
Log when and why an email was not sent in email_logs
2014-02-14 13:06:39 -05:00
Régis Hanol
c82f7bb6dc
Backup model
2014-02-13 13:31:13 -08:00
Sam
c0686a6dc6
BUGFIX: regression, not handling nil count for recent report
2014-02-14 07:21:19 +11:00
Sam
bf957513ec
correctly handle empty case
2014-02-13 17:27:50 +11:00
Sam
e8aa85d783
FEATURE: unread pms go in front of notification report
...
also refactor fat controller
2014-02-13 17:27:50 +11:00
Sam
4ff6780758
Merge pull request #1935 from eriko/remove_cas
...
Remove cas
2014-02-13 17:26:20 +11:00
Robin Ward
f73a3f252a
FIX: Don't allow parent categories to be deleted. Also, remove
...
duplicated logic and rely on the server response for `can_delete`
status.
2014-02-12 17:24:25 -05:00
Robin Ward
a963dd9081
Support `embeddable_host` values that contain a HTTP/HTTPs protocol
2014-02-12 15:56:06 -05:00
Robin Ward
669247977b
FEATURE: Show the posts count on the groups page. It seems a bit odd
...
that it uses a new AJAX call, but I wanted to keep the count separate
from the group object itself.
2014-02-12 14:01:36 -05:00
Neil Lalonde
6bbc3ec3e0
Add a way to flag a topic
2014-02-12 12:57:55 -05:00
Erik Ordway
8fc5c66c55
this needs to go but did not show up in my tests but did on travis
2014-02-11 18:13:24 -08:00
Robin Ward
b035c050d2
Merge pull request #1920 from nickborromeo/list-controller
...
Extract queries to keep logic in the Categories Model
2014-02-11 15:48:20 -05:00
Sam
e2d2a955dc
BUGFIX: remove hidden posts from a users stream
2014-02-11 17:16:58 +11:00
Robin Ward
b61df08d1b
FEATURE: Admin selector to choose a primary group for a user, display it
...
and apply a CSS class to their posts.
2014-02-10 17:00:15 -05:00
Nick Borromeo
b51bebb200
Extract queries to keep logic in the Categories Model
...
This creates two methods in the Category model. This moves the model
logic to the model and just calls the Category class methods in
ListController.
This also adds tests for the two methods created in the Category
model. The motivation for this refactor is the code climate score of the
this class and readability of the code.
Please enter the commit message for your changes. Lines starting
2014-02-08 14:10:48 -08:00
Robin Ward
350eb82223
Don't include category definitions on Categories page
2014-02-07 17:01:31 -05:00
Neil Lalonde
e0df404d7e
Add site setting tos_accept_required. If enabled, users must check a box saying that they've read and accept the terms of service.
2014-02-07 16:04:13 -05:00
Robin Ward
3b617b04b0
FEATURE: First stab at groups page with member list
2014-02-07 10:44:51 -05:00
Robin Ward
e511e8a80b
Link to groups from user profile
2014-02-07 10:44:51 -05:00
Régis Hanol
e47f462f54
Merge pull request #1916 from vikhyat/pm-dominating
...
Don't notify about dominating private messages
2014-02-07 00:28:27 -08:00
Sam
93434be16d
SECURITY: reduce moderator rights
...
You can now hide particular categories from certain moderators
2014-02-07 14:11:52 +11:00
Vikhyat Korrapati
2f38316bfc
Don't notify about dominating private messages.
2014-02-07 05:49:45 +05:30
Sam
be560d4eb6
Update annotations
2014-02-07 11:07:52 +11:00
Sam
227873df78
FEATURE: proper mailing list mode
...
once enable_mailing_list_mode is enabled any user can elect
to get every post via email unless they opt out of category or topic
2014-02-07 11:07:52 +11:00
Régis Hanol
58202baa62
BUGFIX: show the draft on top page
2014-02-06 11:39:43 +01:00