This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/lib
Sam 8ec7fd84fd FEATURE: prioritize sidekiq jobs
This commit introduces 3 queues for sidekiq

"critical" for urgent jobs (weighted at 4x weight)
"default" for standard jobs(weighted at 2x weight)
"low" for less important jobs


"critical jobs"

Reset Password emails has been seperated to its own job
Heartbeat which is required to keep sidekiq running
Test email which needs to return real quick


"low priority jobs"

Notify mailing list
Pull hotlinked images
Update gravatar

"default"

All the rest

Note: for people running sidekiq from command line use

bin/sidekiq -q critical,4 -q default,2 -q low
2016-04-07 12:56:43 +10:00
..
active_record/connection_adapters Fix randomly failing test. 2016-03-08 12:51:51 +08:00
auth Update instagram_authenticator.rb 2016-02-26 11:37:48 +10:00
autospec FIX: autospec not monitoring correctly 2015-12-17 13:17:57 +11:00
backup_restore FIX: add support for 'space' in backup's filename 2016-04-04 17:24:02 +02:00
common_passwords fix build & add migration to clear common passwords cache 2016-03-03 19:39:22 +01:00
demon FEATURE: prioritize sidekiq jobs 2016-04-07 12:56:43 +10:00
email FEATURE: properly set 'In-Reply-To' header when sending an email that is a reply to an incoming email 2016-04-06 21:05:10 +02:00
emoji FEATURE: Adds ~200 more emoji 2016-03-04 15:10:14 -05:00
es6_module_transpiler increase es6 transpiler timeout from 5 to 10 sec 2016-03-29 16:43:04 -07:00
file_store FIX: Tests would fail if your test db's optimized image ids were high 2015-10-16 17:08:41 -04:00
freedom_patches FIX: Load Redis patch much earlier. 2016-03-11 17:29:00 +08:00
guardian FIX: allow post editing but do not allow ninja edit for active flagged post 2016-03-31 00:11:08 +05:30
highlight_js Updated highlight.js 2016-03-09 08:58:44 +01:00
i18n/backend FIX: Use fallback locales when searching for translations 2016-02-22 22:48:55 +01:00
import rename export/import in favor of backup/restore for better consistency 2014-10-10 20:04:07 +02:00
import_export FEATURE: Category/topic importer skips objects that it has already imported. 2016-02-23 12:19:08 -05:00
javascripts FIX: add missing MessageFormat files for fa_IR, pl_PL and tr_TR 2016-03-30 14:02:42 -04:00
middleware FIX: Use a cookie to bypass the anon cache 2015-10-28 17:16:56 -04:00
onebox FIX: Replace emoji in local oneboxes 2016-03-14 14:48:48 -04:00
plugin Various Plugin Enhancements and Extension Points 2016-03-11 15:53:37 -05:00
rate_limiter FEATURE: Generous badge 2016-03-15 16:08:29 -04:00
sass DEV: Replace sqrt() implementation with lib 2015-08-20 13:10:54 -07:00
scheduler FIX: disable scheduled jobs when in readonly mode 2016-01-11 18:31:28 +01:00
search FIX: include pinned status in search results 2016-03-18 16:26:20 +11:00
sidekiq FIX: disable scheduled jobs when in readonly mode 2016-01-11 18:31:28 +01:00
site_settings fix the build 2015-09-09 15:34:53 +02:00
tasks annotate models 2016-02-23 10:33:53 +11:00
validators FEATURE: new 'manual_polling_enabled' site setting 2016-03-16 22:28:01 +01:00
admin_constraint.rb FEATURE: only allow sidekiq in master site when hosted on multisite 2016-03-17 00:26:07 +11:00
admin_user_index_query.rb Tweak suspect list to make sure any accounts listed are older than 1 2014-12-03 12:21:43 -05:00
age_words.rb reused value of Time.now in a method 2015-12-01 21:06:37 +00:00
archetype.rb add banner archetype 2014-06-18 20:05:18 +02:00
auth.rb Added Instagram login method 2016-02-25 12:13:59 +10:00
avatar_lookup.rb FIX: don't overwrite custom uploaded avatar when selecting gravatar 2015-09-11 15:10:56 +02:00
badge_queries.rb Remove UserFirst for mention since it can be retrieved elsewhere 2016-04-06 14:01:37 -04:00
cache.rb FIX: emoji cache could get corrupt 2015-02-19 16:58:22 +11:00
canonical_url.rb FIX: absolute canonical link on topic pages 2013-12-12 17:24:00 +01:00
category_badge.rb Fix for category stripe misalignment 2016-03-23 14:45:22 +13:00
comment_migration.rb FEATURE: Add CommentMigration for db column comments 2015-07-28 13:14:07 -07:00
composer_messages_finder.rb FIX: disable avatar education message when 'allow_uploaded_avatars' is 2015-12-14 22:47:35 +05:30
configurable_urls.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
content_buffer.rb various typos in comments 2013-03-06 08:52:24 +01:00
cooked_post_processor.rb Remove UserFirst for mention since it can be retrieved elsewhere 2016-04-06 14:01:37 -04:00
crawler_detection.rb add Swiftbot to crawler regex 2015-05-02 03:18:58 -07:00
current_user.rb FEATURE: logging out logs you out everywhere 2015-01-28 12:56:41 +11:00
custom_renderer.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
db_helper.rb FEATURE: move migrate_to_new_scheme into a background job 2015-06-12 12:07:57 +02:00
directory_helper.rb Refactor temp directory methods into helper module 2013-07-09 13:59:31 -05:00
discourse_diff.rb SECURITY: fix XSS 2014-06-16 10:24:54 +10:00
discourse_event.rb NewPostManager determines whether to queue a post or not 2015-04-15 14:54:36 -04:00
discourse_hub.rb Hub must be called with https 2016-03-02 17:51:13 -05:00
discourse_iife.rb Don't include code in files for jshint anymore, eslint is run on command 2015-08-13 15:19:27 -04:00
discourse_plugin_registry.rb FIX: better plugin emojis API 2015-11-06 15:02:40 +01:00
discourse_plugin.rb Move discourse_plugin to lib 2014-07-23 00:03:48 -04:00
discourse_redis.rb Add more logging so that we know what is happening with Redis fallback. 2016-04-01 14:24:09 +08:00
discourse_updates.rb FEATURE: Use git describe for dashboard version 2015-02-23 16:07:08 -08:00
discourse.rb add support for 1.5 pixel ratio 2016-04-06 10:57:59 +02:00
disk_space.rb FIX: Allow for large free disk space 2016-01-25 13:22:36 +11:00
distributed_cache.rb FIX: DistributedCache would fail serialization in some cases 2016-01-30 09:01:15 +11:00
distributed_memoizer.rb FIX: select appropriate period when redirecting to top 2015-09-21 20:28:20 +02:00
distributed_mutex.rb FIX: eliminate race condition creating posts 2014-07-30 14:18:01 +10:00
edit_rate_limiter.rb Add better error messages for rate limits. 2015-09-24 13:52:46 -04:00
email_cook.rb FIX: typo 2015-10-29 16:07:45 -04:00
email_updater.rb improve error message when trying to change email address to one used by a staged user 2016-03-21 19:36:26 +01:00
email.rb FEATURE: upgrade to Rails 4.2.4 2015-09-23 15:24:30 +10:00
enum_site_setting.rb Enum site settings can have translatable names in dropdown. Add setting for how often users get digest emails by default: default_digest_email_frequency. 2013-08-23 17:36:25 -04:00
enum.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
excerpt_parser.rb FIX: Emoji in Discourse onebox is wrapped in square brackets. 2016-01-13 19:00:11 +08:00
file_helper.rb FIX: increase read_timeout when downloading avatar 2016-03-24 17:40:03 +05:30
filter_best_posts.rb Refactor TopicView - extract filter method to FilterBestPosts 2013-07-12 15:54:54 +02:00
flag_query.rb FEATURE: allow moderators to see flagged private messages 2015-02-16 13:03:04 +01:00
gaps.rb Show Gaps in the post stream when filters are active 2013-12-05 16:46:59 -05:00
global_path.rb FIX: when CDN assets are not in root path source maps fail 2016-02-05 13:05:47 +11:00
guardian.rb FIX: staged user doesn't get notified for replies in topics they created in secured categories 2016-02-24 11:30:17 +01:00
has_errors.rb PostEnqueuer object to handle validation of enqueued posts 2015-04-15 14:54:36 -04:00
headless-ember.js JSHint headless-ember 2014-03-11 03:18:57 -04:00
homepage_constraint.rb add current_user_provider so people can override current_user bevior cleanly, see 2013-10-09 15:11:54 +11:00
html_prettify.rb FEATURE: remove dependency of Redcarpet 2015-09-24 13:37:53 +10:00
image_sizer.rb FIX: crop & optimize user background profile/card images 2015-07-15 17:15:43 +02:00
ip_addr.rb FEATURE: filter screened IP addresses 2015-02-10 19:38:59 +01:00
js_locale_helper.rb JsLocaleHelper should search for moment.js locale files 2016-02-05 21:49:03 +01:00
json_error.rb FIX: editing a post wasn't showing error messages from the server 2015-03-19 12:25:15 +01:00
letter_avatar.rb FIX: show letter avatars even if NGINX is not running in Dev mode 2015-11-25 14:42:46 +11:00
locale_file_walker.rb add missing dependency 2015-11-02 20:40:50 +01:00
markdown_linker.rb FIX: Weird markdown in digest emails 2013-08-21 13:13:19 -04:00
mem_info.rb do not pull hotlinked images when max_image_size_kb == 0 2013-11-13 17:30:48 +01:00
memory_diagnostics.rb compact! only returns array if changes were made 2015-10-27 12:27:37 -04:00
message_bus_diags.rb MessageBus handles readonly redis now, no need to wrap it 2015-05-04 12:21:00 +10:00
mobile_detection.rb radically simplify our mobile user agent detection 2016-03-26 02:02:23 -07:00
new_post_manager.rb FIX: user 'UserBlocker' when blocking a new user 2016-03-18 12:16:37 +01:00
new_post_result.rb Support for custom reasons for things being queued for approval 2015-04-28 15:06:47 -04:00
oneboxer.rb FIX: onebox links should respect nofollow settings 2015-12-04 01:59:12 +05:30
onpdiff.rb add onpdiff tests 2013-12-16 18:39:49 +01:00
pbkdf2.rb FIX: Digest::Digest deprecation 2014-01-20 18:33:40 +01:00
permalink_constraint.rb FIX: permalink normalization not applied at constraint 2015-07-22 13:40:45 +10:00
pinned_check.rb FEATURE: display unpinned state, allow unpinning by clicking on pin 2014-04-10 10:59:02 +10:00
post_action_creator.rb Add specs for post action guardian 2015-12-30 20:52:36 +01:00
post_creator.rb FEATURE: automatically sync "move to inbox" / "archive" state on messages 2016-02-07 23:39:07 +11:00
post_destroyer.rb FIX: unread and new count not removing deleted topics on the fly 2016-03-30 11:18:07 +11:00
post_enqueuer.rb FIX: When approving/rejecting a post it should delete the user action 2015-04-24 15:25:47 -04:00
post_jobs_enqueuer.rb new hidden 'allow_staged_accounts' setting 2015-11-26 18:31:23 +01:00
post_revisor.rb FIX: allow post editing but do not allow ninja edit for active flagged post 2016-03-31 00:11:08 +05:30
pretty_text.rb increase es6 transpiler timeout from 5 to 10 sec 2016-03-29 16:43:04 -07:00
promotion.rb Promotion fails if the user account isn't old enough yet. 2015-04-14 12:14:59 -04:00
rate_limiter.rb FEATURE: Warn a user when they have few likes remaining 2016-03-18 11:30:29 -04:00
s3_helper.rb FIX: crop avatars on the server instead of the client 2015-05-26 15:54:25 +02:00
score_calculator.rb Replace Hash#keys.each with Hash#each_key for some perf boost 2015-04-18 21:53:53 +10:00
screening_model.rb FEATURE: restrict admin access based on IP address 2014-09-05 12:06:01 -04:00
search.rb FEATURE: in:pinned and in:unpinned search filters 2016-03-18 16:26:54 +11:00
single_sign_on.rb Correctly parse require_activation field of SSO 2015-05-21 16:50:54 -05:00
site_setting_extension.rb FIX: nil and blank string should not override a site setting 2016-04-04 16:36:32 +10:00
site_setting_validations.rb FIX: ensure we have a bucket before enabling backups to S3 2015-09-16 15:55:26 +02:00
slug.rb FIX: category custom slug can't be set when generation method is none 2015-05-13 16:54:19 +08:00
source_url.rb fix sourceURL so it works on ie11 and latest chrome 2015-05-28 14:43:12 +10:00
spam_handler.rb FIX: do not block registration for whitelisted IP address 2015-06-02 15:06:45 +05:30
sql_builder.rb PERF: Active Record #pluck is twice faster 2015-05-13 16:46:17 +10:00
staff_constraint.rb add current_user_provider so people can override current_user bevior cleanly, see 2013-10-09 15:11:54 +11:00
suggested_topics_builder.rb FEATURE: Re-prioritize related so unread is always first 2014-12-04 10:04:23 +11:00
system_message.rb oops (tests were running in other window but was trigger happy) 2016-01-19 18:22:59 +11:00
text_cleaner.rb FIX: stop stripping zero-width-whitespace 2015-03-27 13:03:24 +11:00
text_sentinel.rb FEATURE: New setting to allow all caps posts 2015-11-18 09:50:50 -08:00
topic_creator.rb correct tracking logic 2016-01-27 23:20:29 +11:00
topic_list_responder.rb Minor refactoring to help with Tags RSS 2015-02-12 11:53:21 -05:00
topic_query_sql.rb Improve vBulletin importer 2015-01-19 15:00:55 +01:00
topic_query.rb Added ability to create topic sorts in plugins with custom_fields 2016-03-04 11:07:39 -06:00
topic_retriever.rb FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
topic_subtype.rb FIX: don't send repeated notifications that there are pending users who need to be approved to moderators who haven't read the previous notification 2014-07-16 17:53:51 -04:00
topic_view.rb Various Plugin Enhancements and Extension Points 2016-03-11 15:53:37 -05:00
topics_bulk_action.rb FEATURE: automatically sync "move to inbox" / "archive" state on messages 2016-02-07 23:39:07 +11:00
trust_level.rb FIX: admin trust level user list URL should be consistent with new naming 2015-11-23 14:28:56 +05:30
twitter_api.rb Add twitter to Onebox.options 2014-01-29 14:14:07 -05:00
unread.rb FIX: "Dismiss Posts" corrupting read state 2014-10-31 09:40:35 +11:00
url_helper.rb FIX: properly support HTTPS CDN on HTTP site 2015-07-24 14:08:32 +10:00
user_name_suggester.rb FIX: Don't suggest invalid username 2016-02-21 23:28:57 +01:00
version.rb Version bump to v1.6.0.beta1 2016-03-31 17:55:23 -04:00