discourse/lib
Arthur Neves 439d0d2e37
Check Rails.version instead of ENV
Like that we can have code that works on multiple Rails versions, and we
dont need to mix a new method on Kernel.
Also, this makes easier to have multiple versions.
For instance, before master was 4.2, which is not the case anymore, so
on the code we should check versions and not Environment variables
2015-04-28 22:27:47 -04:00
..
assets Instead of .js.handlebars use .hbs for handlebars templates 2014-09-26 15:23:15 -04:00
auth Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
autospec use standard error so its easier to catch 2015-03-23 12:20:50 +11:00
backup_restore Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
common_passwords Use 10k most common passwords instead of 5k 2014-05-02 12:01:21 -04:00
demon cleanup out-of-memory detection and correction code 2015-03-27 15:44:52 +11:00
email FIX: Post Mannager wasn't being used for email replies 2015-04-28 13:04:34 -04:00
emoji FEATURE: custom emojis 2014-12-23 01:12:26 +01:00
es6_module_transpiler Update SourceURL to work better 2015-04-16 16:51:49 -04:00
file_store FEATURE: use original filename when clicking the download link in the lightbox 2014-10-15 19:20:04 +02:00
freedom_patches Check Rails.version instead of ENV 2015-04-28 22:27:47 -04:00
guardian - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
highlight_js update highlightjs 2015-04-22 23:34:29 +10:00
import rename export/import in favor of backup/restore for better consistency 2014-10-10 20:04:07 +02:00
javascripts Update RU pluralization to use 3 keys: one, few, other (as by Transifex) 2014-08-23 15:28:14 +03:00
middleware FEATURE: add clean support for running Discourse in a subfolder 2015-03-09 13:14:29 +11:00
onebox FIX: Whoops, DiscourseLocalOnebox became DiscourseGlobalOnebox 2015-04-24 01:09:38 -07:00
plugin Allow plugins to specify a minimum requires version 2015-04-27 13:07:12 -04:00
rate_limiter FIX: Ruby 2.2 has include as private 2015-04-21 13:35:00 -04:00
sass Fix if defined? conditional for R2 2015-04-14 20:14:04 -07:00
scheduler Merge pull request #3190 from riking/thrown_logging 2015-02-23 14:19:16 +11:00
search FIX: highlight in yellow, not blue 2014-09-04 15:01:13 +10:00
sidekiq FIX: hanging specs 2014-08-19 20:56:25 +10:00
site_settings Replace Hash#keys.each with Hash#each_key for some perf boost 2015-04-18 21:53:53 +10:00
tasks disable edit notifications when using the rebake rake task 2015-04-01 23:08:29 +02:00
validators PostEnqueuer object to handle validation of enqueued posts 2015-04-15 14:54:36 -04:00
admin_constraint.rb
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
archetype.rb add banner archetype 2014-06-18 20:05:18 +02:00
auth.rb 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
avatar_lookup.rb Work in progress, keeping avatars locally 2014-05-27 10:08:03 +10:00
avatar_upload_service.rb small upload code refactor 2015-02-03 18:44:18 +01: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 UX: When oneboxing a topic, use the stripe category badge 2015-01-23 15:12:42 -05:00
composer_messages_finder.rb clean up 'checked_for_custom_avatars' user history entries 2015-01-02 12:37:17 +01:00
configurable_urls.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
content_buffer.rb
cooked_post_processor.rb - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
crawler_detection.rb FEATURE: add 360Spider UA to allow 360 crawl Discourse sites 2015-03-16 22:58:33 +08:00
current_user.rb FEATURE: logging out logs you out everywhere 2015-01-28 12:56:41 +11:00
custom_renderer.rb
directory_helper.rb
discourse.rb Allow plugins to specify a minimum requires version 2015-04-27 13:07:12 -04:00
discourse_bus.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04: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 Version checks include the branch 2014-09-09 17:35:51 -04:00
discourse_iife.rb Update SourceURL to work better 2015-04-16 16:51:49 -04:00
discourse_plugin.rb Move discourse_plugin to lib 2014-07-23 00:03:48 -04:00
discourse_plugin_registry.rb When using automatic file includes (es6, hbs) from plugins, allow the 2014-12-09 15:23:14 -05:00
discourse_redis.rb Allow ReadOnly to propogate up to the Ember app via Response Header 2015-04-24 14:37:16 -04:00
discourse_updates.rb FEATURE: Use git describe for dashboard version 2015-02-23 16:07:08 -08:00
disk_space.rb oops 2015-02-04 21:37:02 +11:00
distributed_cache.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
distributed_memoizer.rb
distributed_mutex.rb FIX: eliminate race condition creating posts 2014-07-30 14:18:01 +10:00
edit_rate_limiter.rb Avoid using to_s when performing String Interpolation 2014-08-14 23:55:27 +05:30
email.rb FIX: cleanup commas in email From and Reply-to fields 2014-11-24 19:55:20 +05:30
enum.rb
enum_site_setting.rb
excerpt_parser.rb allow to translate image's exceprt 2015-01-23 17:58:14 +08:00
file_helper.rb FIX: proper hack to support underscores in URLs 2014-11-12 18:15:50 +01:00
filter_best_posts.rb
flag_query.rb FEATURE: allow moderators to see flagged private messages 2015-02-16 13:03:04 +01:00
gaps.rb
global_path.rb Use a mixin for the path function to DRY it up 2015-03-09 15:24:16 -04:00
guardian.rb FEATURE: invite existing users to private topic 2015-04-16 00:52:54 +05:30
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
image_sizer.rb
ip_addr.rb FEATURE: filter screened IP addresses 2015-02-10 19:38:59 +01:00
js_locale_helper.rb FEATURE: support for emoji sets 2014-12-11 17:08:47 +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: generate pngout-compatible letter avatars 2015-04-15 11:31:27 +02:00
markdown_linker.rb
mem_info.rb
memory_diagnostics.rb move memory diagnostics into lib, so it can be reused elsewhere 2015-03-30 10:14:42 +11:00
message_bus_diags.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
mobile_detection.rb Detect Googlebot from user agent and use a different layout that doesn't load javascript 2014-02-15 17:54:34 -05:00
new_post_manager.rb FIX: :fired: @eviltrout 2015-04-28 16:30:14 -04: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 Rename handle_exception to handle_job_exception 2015-02-09 12:47:46 -08:00
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 add permalinks route constraint 2014-08-29 11:28:16 -04:00
pinned_check.rb FEATURE: display unpinned state, allow unpinning by clicking on pin 2014-04-10 10:59:02 +10:00
post_creator.rb - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
post_destroyer.rb - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02: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 PERF: Move post alerting into async 2015-04-20 13:34:57 -04:00
post_revisor.rb - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
pretty_text.rb - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02: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: scale up likes per day as users increase trust level 2015-04-16 09:44:30 +10:00
remote_ip_improved.rb
s3_helper.rb FIX: automatic backup uploads to S3 when using a region 2014-09-24 22:52:09 +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 FIX: allow searching in PMs when "search this topic" is selected 2015-02-19 12:56:49 +11:00
single_sign_on.rb Add an sso option to suppress welcome emails 2015-03-20 17:04:52 +00:00
site_setting_extension.rb Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
site_text_class_methods.rb Revert "Revert "PERF: use distributed cache for site text and category slugs"" 2014-11-12 10:01:41 +11:00
slug.rb FEATURE: Adds transliteration of German umlauts in slugs 2015-02-27 23:53:58 +01:00
source_url.rb Update SourceURL to work better 2015-04-16 16:51:49 -04:00
spam_handler.rb FIX: when adding an IP to the spammer list, check the broader ban list 2014-11-21 18:16:06 +01:00
sql_builder.rb Check Rails.version instead of ENV 2015-04-28 22:27:47 -04:00
staff_constraint.rb
suggested_topics_builder.rb FEATURE: Re-prioritize related so unread is always first 2014-12-04 10:04:23 +11:00
system_message.rb FIX: set base_url for usage_tips 2015-02-10 23:04:00 +05:30
text_cleaner.rb FIX: stop stripping zero-width-whitespace 2015-03-27 13:03:24 +11:00
text_sentinel.rb rename max_word_length to title_max_word_length 2015-04-02 16:46:53 +11:00
topic_creator.rb FIX: Topic creation validation should be skipped properly 2015-04-28 11:08:41 -04:00
topic_list_responder.rb Minor refactoring to help with Tags RSS 2015-02-12 11:53:21 -05:00
topic_query.rb work-in-progress full page search 2015-04-02 16:02:07 +11:00
topic_query_sql.rb Improve vBulletin importer 2015-01-19 15:00:55 +01:00
topic_retriever.rb Add custom embed_by_username feature 2014-06-09 12:35:38 -07: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 - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
topics_bulk_action.rb fix my git foo 2015-03-07 02:36:35 +01:00
trust_level.rb Automatically include all .hbs files from plugins 2014-12-09 12:16:47 -05:00
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: clicks counter on attachments wasn't always working 2015-02-22 20:47:18 +01:00
user_name_suggester.rb more username cycling avoidance 2015-03-27 10:10:53 +11:00
version.rb Allow plugins to specify a minimum requires version 2015-04-27 13:07:12 -04:00