discourse/app/models
Sam df535c6346 FEATURE: refresh session cookie at most once an hour
This feature ensures session cookie lifespan is extended
when user is online.

Also decreases session timeout from 90 to 60 days.
Ensures all users (including logged on ones) get expiring sessions.
2016-07-25 12:07:31 +10:00
..
concerns FIX: Fetch stats if it has not been cached. 2016-04-21 14:50:25 +08:00
about.rb Rename `SiteSetting#use_https` to `force_https`. 2016-06-29 15:02:43 +08:00
admin_dashboard_data.rb Bump minimum Ruby version to 2.3. 2016-06-10 11:40:42 +08:00
anon_site_json_cache_observer.rb PERF: introduce full cache for site json when anon 2015-09-28 16:50:24 +10:00
api_key.rb create a new table to maintain csv export log 2014-12-24 16:25:36 +05:30
application_request.rb cut out an exception 2015-08-19 16:57:26 +10:00
auto_track_duration_site_setting.rb fix the build 2015-09-14 10:48:24 +02:00
backup.rb FEATURE: Disable removal of backups from S3 2016-03-01 14:02:10 -05:00
badge.rb FEATURE: new FirstReplyByEmail bronze badge 2016-06-13 15:37:14 +02:00
badge_grouping.rb annotate models 2016-02-23 10:33:53 +11:00
badge_type.rb annotate models 2016-02-23 10:33:53 +11:00
category.rb FIX: category settings shouldn't limit tag input size 2016-07-19 12:30:02 -04:00
category_custom_field.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
category_featured_topic.rb PERF: no need to nest a transaction when featuring topics 2016-07-16 15:36:40 +10:00
category_featured_user.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
category_group.rb FEATURE: Log staff actions for Category changes. 2015-09-18 10:53:08 +08:00
category_list.rb clean up hack 2016-02-19 17:08:08 +11:00
category_search_data.rb FEATURE: Badge progress 2014-07-03 17:29:44 +10:00
category_tag.rb annotate models 2016-06-17 11:28:49 +10:00
category_tag_group.rb annotate models 2016-06-17 11:28:49 +10:00
category_user.rb FEATURE: improved tag and category watching and tracking 2016-07-08 12:58:30 +10:00
color_scheme.rb annotate models 2016-02-23 10:33:53 +11:00
color_scheme_color.rb annotate models 2016-02-23 10:33:53 +11:00
digest_email_site_setting.rb FEATURE: More digest email frequency options. Digests can be sent as often as every 30 minutes. 2016-03-02 15:43:47 -05:00
directory_item.rb annotate models 2016-03-28 15:21:45 +11:00
discourse_single_sign_on.rb FIX: unstage users when using SSO 2016-06-21 11:28:58 +02:00
discourse_version_check.rb FEATURE: Use `git describe` for dashboard version 2015-02-23 16:07:08 -08:00
draft.rb annotate models 2016-02-23 10:33:53 +11:00
draft_sequence.rb annotate models 2016-02-23 10:33:53 +11:00
email_change_request.rb annotate models 2016-03-28 15:21:45 +11:00
email_log.rb annotate models 2016-06-17 11:28:49 +10:00
email_token.rb FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
embeddable_host.rb annotate models 2016-02-23 10:33:53 +11:00
embedding.rb FIX: allow emoji class when crawling embedded content, add rspc-html-matchers 2015-11-05 18:51:26 -08:00
emoji.rb FIX: Plugin Custom emoji weren't working correctly on the server side 2016-07-22 12:59:43 -04:00
emoji_set_site_setting.rb Emoji sets shouldn't be root level keys 2016-07-22 15:27:51 -04:00
facebook_user_info.rb annotate models 2016-02-23 10:33:53 +11:00
github_user_info.rb annotate models 2016-02-23 10:33:53 +11:00
given_daily_like.rb annotate models 2016-03-28 15:21:45 +11:00
global_setting.rb FEATURE: Master-Slave Redis configuration with fallback and switch over. 2016-03-11 12:18:58 +08:00
google_user_info.rb annotate models 2016-02-23 10:33:53 +11:00
group.rb FIX: Allow longer TLDs 2016-04-08 12:15:21 -04:00
group_archived_message.rb FEATURE: automatically sync "move to inbox" / "archive" state on messages 2016-02-07 23:39:07 +11:00
group_custom_field.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
group_manager.rb update annotations 2015-09-18 10:41:10 +10:00
group_mention.rb Update annotate and annotate models 2016-01-11 17:30:56 +11:00
group_user.rb Server side code for Watching First Post Only 2016-07-07 11:21:50 -04:00
incoming_domain.rb FIX: catch specific exception 2014-08-06 10:00:55 +10:00
incoming_email.rb annotate models 2016-05-30 10:45:32 +10:00
incoming_link.rb handle invalid param gracefully 2015-05-07 11:06:42 +10:00
incoming_links_report.rb FIX: broken links on admin dashboard in Top Referrers section 2016-02-22 14:31:13 -05:00
incoming_referer.rb FIX: catch specific exception 2014-08-06 10:00:55 +10:00
instagram_user_info.rb annotate models 2016-03-28 15:21:45 +11:00
invite.rb FEATURE: customize invite email message 2016-06-06 20:15:30 +05:30
invite_redeemer.rb FIX: Redeeming an invitation fails if inviter has been destroyed. 2016-07-13 11:58:31 +08:00
invited_group.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
like_notification_frequency_site_setting.rb FEATURE: like notification frequency of never 2016-03-06 09:12:59 +11:00
locale_site_setting.rb PERF: only load locale files we are using 2015-02-12 12:08:14 +11:00
mailing_list_mode_site_setting.rb FEATURE: More granular mailing list mode (#4068) 2016-05-21 15:17:54 +02:00
muted_user.rb update annotations 2015-09-18 10:41:10 +10:00
new_topic_duration_site_setting.rb fix the build 2015-09-14 10:48:24 +02:00
notification.rb Server side code for Watching First Post Only 2016-07-07 11:21:50 -04:00
oauth2_user_info.rb annotate models 2016-02-23 10:33:53 +11:00
onceoff_log.rb annotate models 2016-05-30 10:45:32 +10:00
optimized_image.rb FEATURE: new 'crop_tall_images' site setting 2016-05-23 16:18:30 +02:00
permalink.rb FIX: permalinks redirect on subfolder installs could add the subfolder to the url twice 2015-10-12 16:54:53 -04:00
plugin_store.rb removed useless assignments at some places 2014-08-19 18:10:23 +05:30
plugin_store_row.rb annotate models 2016-02-23 10:33:53 +11:00
post.rb FEATURE: configure session time via site setting for all the users (#4343) 2016-07-23 02:57:30 +05:30
post_action.rb FEATURE: new users can be blocked from posting if enough TL3 users flag their posts 2016-06-15 10:51:34 -04:00
post_action_type.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
post_alert_observer.rb FIX: if user undos like, and relikes notify 2016-03-04 22:56:27 +11:00
post_analyzer.rb FEATURE: New "First Onebox" badge 2016-04-12 15:31:14 -04:00
post_custom_field.rb update annotations 2015-09-18 10:41:10 +10:00
post_detail.rb annotate models 2016-02-23 10:33:53 +11:00
post_mover.rb FIX: Update post replies when we move posts. (#4324) 2016-07-13 17:34:21 +02:00
post_reply.rb FIX: Update post replies when we move posts. (#4324) 2016-07-13 17:34:21 +02:00
post_revision.rb add allowed_ips to api_keys 2014-11-20 14:53:15 +11:00
post_search_data.rb annotate models 2016-02-23 10:33:53 +11:00
post_stat.rb update annotations 2015-09-18 10:41:10 +10:00
post_timing.rb FEATURE: track user visits on mobile and display on admin dashboard in a new Mobile section 2015-07-07 14:06:42 -04:00
post_upload.rb update annotations 2014-04-08 17:35:44 +02:00
previous_replies_site_setting.rb FEATURE: allow users to control how many previous replies they get 2016-02-19 13:57:07 +11:00
queued_post.rb FIX: better error message when trying to approve post for closed/deleted topic 2016-06-24 15:11:45 +05:30
quoted_post.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
report.rb FIX: remove category filter from page view reports 2016-05-09 13:16:09 +05:30
rtl.rb add persian language to rtl support 2015-04-07 00:36:46 +04:30
s3_region_site_setting.rb New AWS S3 Storage Mumbai region added (#4335) 2016-07-18 09:03:26 +02:00
scheduler_stat.rb FEATURE: store history for scheduled job execution 2016-05-30 11:38:08 +10:00
screened_email.rb annotate models 2016-02-23 10:33:53 +11:00
screened_ip_address.rb SECURITY: Possible SQL injection. 2016-07-18 15:35:41 +08:00
screened_url.rb annotate models 2016-02-23 10:33:53 +11:00
search_observer.rb - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
single_sign_on_record.rb annotate models 2016-02-23 10:33:53 +11:00
site.rb PERF: properly preload all category notification levels 2015-12-20 17:47:02 +11:00
site_customization.rb FEATURE: configure session time via site setting for all the users (#4343) 2016-07-23 02:57:30 +05:30
site_setting.rb Rename `SiteSetting#use_https` to `force_https`. 2016-06-29 15:02:43 +08:00
slug_setting.rb FEATURE: add slug geneartion options 2015-05-05 18:08:30 +08:00
stylesheet_cache.rb annotate models 2016-02-23 10:33:53 +11:00
tag.rb FIX: tag filter dropdown was gone if some tags were restricted to a category. 2016-07-08 17:13:40 -04:00
tag_group.rb annotate models 2016-06-17 11:28:49 +10:00
tag_group_membership.rb annotate models 2016-06-17 11:28:49 +10:00
tag_user.rb FEATURE: improved tag and category watching and tracking 2016-07-08 12:58:30 +10:00
top_lists.rb BUGFIX: show the draft on top page 2014-02-06 11:39:43 +01:00
top_menu_item.rb BUGFIX: proper handling of top_menu_items 2014-02-03 16:08:00 +01:00
top_topic.rb FEATURE: make top criteria formula multipliers controlled by site 2016-01-21 10:30:06 +05:30
topic.rb FEATURE: improved tag and category watching and tracking 2016-07-08 12:58:30 +10:00
topic_allowed_group.rb update annotations 2014-04-08 17:35:44 +02:00
topic_allowed_user.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
topic_converter.rb FEATURE: move a topic from PM to regular topic or vice versa 2016-05-02 21:34:05 +05:30
topic_custom_field.rb annotate models 2016-05-30 10:45:32 +10:00
topic_embed.rb FIX: Don't normalize URLs before fetching them, only for saving them 2015-11-06 16:25:11 -05:00
topic_featured_users.rb FIX: If posts are deleted they should be updated in consistency jobs 2016-06-21 13:05:56 -04:00
topic_invite.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
topic_link.rb PERF: limit maximum number of topic links to 50 2016-07-19 10:55:35 +10:00
topic_link_click.rb FIX: httpshttps ultra secure URLs 2016-06-30 16:55:01 +02:00
topic_list.rb WIP: Tags which are not allowed in a category showing in drop down. 2016-07-08 10:27:56 +08:00
topic_notifier.rb FEATURE: notification_level on a per-group basis 2015-12-14 23:17:09 +01:00
topic_participants_summary.rb FEATURE: add the first 3 participants in a private message 2014-05-12 09:32:49 +02:00
topic_poster.rb topic_poster.rb: Fix formatting of the attributes return value 2013-03-23 19:09:01 +05:30
topic_posters_summary.rb FIX: missing avatar when sizing down window 2014-09-19 12:35:35 +10:00
topic_status_update.rb Replace certain uses of 'gsub' with 'tr' or 'chomp' for a speed 2016-06-10 22:08:37 -05:00
topic_tag.rb annotate models 2016-05-30 10:45:32 +10:00
topic_tracking_state.rb FIX: unread and new count not removing deleted topics on the fly 2016-03-30 11:18:07 +11:00
topic_user.rb FEATURE: improved tag and category watching and tracking 2016-07-08 12:58:30 +10:00
topic_view_item.rb FIX: Use custom date for redis key in `TopicViewItem.add`. 2015-09-14 11:17:28 +08:00
translation_override.rb annotate models 2016-05-30 10:45:32 +10:00
trust_level3_requirements.rb FEATURE: add caps to trust level 3 requirements for posts read and topics viewed, configurable in settings 2016-05-25 14:55:49 -04:00
trust_level_setting.rb fix the build 2015-09-14 10:48:24 +02:00
twitter_user_info.rb annotate models 2016-02-23 10:33:53 +11:00
unsubscribe_key.rb FEATURE: configure session time via site setting for all the users (#4343) 2016-07-23 02:57:30 +05:30
upload.rb FIX: httpshttps ultra secure URLs 2016-06-30 16:55:01 +02:00
user.rb FEATURE: refresh session cookie at most once an hour 2016-07-25 12:07:31 +10:00
user_action.rb Prevent moderators from seeing other users bookmarks 2016-03-20 18:27:28 +00:00
user_action_observer.rb FIX: don't log user action if no user exists for topic 2016-05-02 11:14:37 +10:00
user_archived_message.rb FEATURE: don't move muted messages back into inbox 2016-02-15 10:56:39 +11:00
user_avatar.rb FIX: refreshing gravatar wasn't working 2015-09-17 19:42:44 +02:00
user_badge.rb annotate models 2016-02-23 10:33:53 +11:00
user_badges.rb FEATURE: you can not drill down and see why you have badges 2016-01-18 17:59:20 +11:00
user_custom_field.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
user_email_observer.rb Email support for watching first post 2016-07-07 12:23:19 -04:00
user_export.rb PERF: stream CSV exports so they don't fail when they are too big 2016-05-25 22:20:35 +02:00
user_field.rb annotate models 2016-06-17 11:28:49 +10:00
user_field_option.rb annotate models 2016-02-23 10:33:53 +11:00
user_history.rb show 'revoke_email' in staff action logs 2016-06-06 22:58:09 +02:00
user_open_id.rb annotate models 2016-02-23 10:33:53 +11:00
user_option.rb FEATURE: remove user option for edit history public 2016-07-16 21:30:00 +10:00
user_profile.rb FIX: support 10 characters tld for user profile website 2016-05-25 22:32:57 +05:30
user_profile_view.rb FEATURE: filter admin reports via user group 2016-02-04 11:23:49 +05:30
user_search.rb FEATURE: first class group mentions built in 2015-11-30 17:08:43 +11:00
user_search_data.rb FEATURE: Badge progress 2014-07-03 17:29:44 +10:00
user_stat.rb annotate models 2016-05-30 10:45:32 +10:00
user_summary.rb FIX: most liked queries were leaking info in user summaries 2016-05-30 19:48:46 +02:00
user_visit.rb FEATURE: filter admin reports via user group 2016-02-04 11:23:49 +05:30
username_validator.rb UsernameValidator error messages weren't matching the code 2016-02-18 23:19:14 +01:00
warning.rb add allowed_ips to api_keys 2014-11-20 14:53:15 +11:00