Permalink
Commits on Sep 17, 2017
  1. AO3-5171 Make session last 2 weeks (#3059)

    sarken authored and zz9pzza committed Sep 17, 2017
    * AO3-5171 Make session cookie last 2 weeks
    
    * AO3-5171 Make 'remember me for two weeks' the default behavior for the user_credentials cookie
    
    * AO3-5171 Remember me should make a session last 3 months instead of 2 weeks
    
    * AO3-5171 Fix the spacing in the _passwd view
    
    * AO3-5171 If we reset remember_me_for in the right place, we don't need all this extra code
    
    * AO3-5171 Remove @remember_me instance variable I temporarily added
    
    * AO3-5171 Make session length configurable and add flash message warning users to log out if they are using a public or shared computer
    
    * AO3-5171 Change constant names to include units
Commits on Sep 13, 2017
  1. AO3-5170 Update image address in Deviant Art import test (#3058)

    sarken authored and ariana-paris committed Sep 13, 2017
Commits on Sep 12, 2017
  1. AO3-5169: Improve auth error handling for kudos (#3056)

    elzj authored and sarken committed Sep 12, 2017
Commits on Sep 11, 2017
  1. AO3-5160: Add auth error page (#3046)

    elzj authored and sarken committed Sep 11, 2017
    * AO3-5160: Add auth error page
    
    * AO3-5160: Add link to auth error page
  2. AO3-5164: Ensure admin settings are loaded for invites js request whi…

    elzj authored and zz9pzza committed Sep 11, 2017
    …ch depends on them (#3049)
  3. AO3-5163: Revert work complete-setting method to old code (#3048)

    elzj authored and zz9pzza committed Sep 11, 2017
    * AO3-5163: Revert work complete-setting method to old code
    
    * AO3-5163: Add specs and tweak change check
  4. AO3-5166 Stop logging the token in the JavaScript console (#3051)

    sarken authored and zz9pzza committed Sep 11, 2017
Commits on Sep 10, 2017
  1. AO3-5158 Forced logout ?? (#3043)

    zz9pzza authored and elzj committed Sep 10, 2017
    * I think we need this
    
    * Remove comments
  2. AO3-5157: Update log levels after Rails default change (#3044)

    elzj authored and sarken committed Sep 10, 2017
  3. AO3-5167 Update lograge (#3042)

    zz9pzza authored and sarken committed Sep 10, 2017
  4. AO3-5156 Misplaced loop end in add_filter_taggings. (#3041)

    tickinginstant authored and sarken committed Sep 10, 2017
  5. AO3-5153: New approach to fixing auth tokens dynamically (#3039)

    elzj authored and sarken committed Sep 10, 2017
  6. AO3-5155: Skip default before_actions for non-html requests (#3040)

    elzj authored and sarken committed Sep 10, 2017
    * AO3-5155: Skip default before_actions for non-html requests
    
    * AO3-5155: Limit scope to js requests for now
    
    * AO3-5155: Flip the condition the right way around
Commits on Sep 9, 2017
  1. AO3-5153: Revert unsuccessful attempts to get around caching (#3038)

    elzj committed Sep 9, 2017
    * Revert "Ao3 5153 js login (#3035)"
    
    This reverts commit 2acdc57.
    
    * Revert "AO3-5153: Load header login form dynamically (#3034)"
    
    This reverts commit bfdd38a.
  2. Ao3 5153 js login (#3035)

    elzj authored and zz9pzza committed Sep 9, 2017
    * AO3-5153: Load header login form dynamically
    
    * AO3-5153: Make capitalization consistent so tests work with or without js
    
    * AO3-5153: More test fixes
    
    * AO3-5153: Update css
    
    * AO3-5153: Use correct format for login page
    
    * AO3-5153: Use ESI to avoid caching CSRF tokens
    
    * AO3-5153: Use SSI instead of ESI
    
    * AO3-5153: Comment out test under construction
  3. AO3-5153: Load header login form dynamically (#3034)

    elzj authored and sarken committed Sep 9, 2017
    * AO3-5153: Load header login form dynamically
    
    * AO3-5153: Make capitalization consistent so tests work with or without js
    
    * AO3-5153: More test fixes
    
    * AO3-5153: Update css
Commits on Sep 8, 2017
  1. AO3-5149 Table of contents file templates for epub need to indicate t…

    sarken authored and elzj committed Sep 8, 2017
    …hey have Ruby, so the Ruby gets evaluated when we make the epub (#3033)
  2. AO3-5148: Fix broken redirect when replying from inbox (#3032)

    elzj authored and sarken committed Sep 8, 2017
    * AO3-5148: Fix broken redirect when reply to comment from filtered inbox or reviewing comment from filtered inbox
    
    * AO3-5148: On second thought, don't actually require that
    
    * AO3-5148: Flesh out specs
Commits on Sep 7, 2017
  1. AO3-5147 Can't load site skins via rake task due to a period in the p…

    sarken authored and elzj committed Sep 7, 2017
    …ath (#3031)
Commits on Sep 3, 2017
  1. AO3-5142 Add test to check that API works with forgery protection on (#…

    ariana-paris authored and sarken committed Sep 3, 2017
Commits on Sep 2, 2017
  1. AO3-5142 Fix invalid authenticity token error in API (#3026)

    ariana-paris authored and elzj committed Sep 2, 2017
Commits on Sep 1, 2017
  1. AO3-5129: Remember me tweak (#3025)

    elzj authored and sarken committed Sep 1, 2017
    * AO3-5129: Fix issue with remember_me amnesia
    
    * AO3-5129: Fix typo, switch to symbols
    
    * AO3-5129: Found a neater way to fix remember_me
  2. AO3-5133 Rails BOT: Use first_chapter when posting a work and its fir…

    sarken committed Sep 1, 2017
    …st chapter (#3022)
    
    * AO3-5133 Test importing multi-chapter works and posting from drafts page
    
    * AO3-5133 Make 'Post Draft' button post all chapters of multi-chapter works
    
    * AO3-5133 Undo hack-y fix in the controller
    
    * AO3-5133 Use first_chapter rather than chapters.first in post_first_chapter -- and important distinction because first_chapter looks at the chapter position on works that are not new records (i.e. drafts)
    
    * AO3-5133 Fix spec failures I believe are the result of the chapter not being explicitly posted on a posted work
    
    * AO3-5133 Make sure posted works have posted first chapters
    
    * AO3-5133 Restore the posted_work factory to its old form
    
    * AO3-5133 work_import.feature needs a newline at the end
    
    * AO3-5133 Add a feature test to make sure the Post Draft option on a user's Drafts page continues to post only the first chapter of non-imported works
    
    * AO3-5133 Add some chapter specs to make sure chapters are created correctly, and add work specs to make sure the posted_work factory is producing a posted chapter
    
    * AO3-5133 Assign self.first_chapter to a variable
  3. AO3-5129: Fix issue with remember_me amnesia (#3024)

    elzj authored and sarken committed Sep 1, 2017
    * AO3-5129: Fix issue with remember_me amnesia
    
    * AO3-5129: Fix typo, switch to symbols
Commits on Aug 31, 2017
  1. AO3-5130 Rails BOT: Fix co-creator notification for chapter (#3023)

    redsummernight authored and sarken committed Aug 31, 2017
    * AO3-5130 Fix co-creator notification for chapter
    
    The Rails 5.0 upgrade introduced co-creator notification, however
    the email template doesn't handle chapters. If the creatable is
    a chapter, we'll use the parent work in the notification instead.
    
    * AO3-5130 Test the co-creator email
Commits on Aug 30, 2017
  1. AO3-5138 Prevent 500 error when admin post's translated_post_id is in…

    sarken authored and elzj committed Aug 30, 2017
    …valid (#3021)
    
    * AO3-5138 Prevent 500 error related to languages when admin post translation of is wrong
    
    This loads languages as a before_action for all the admin post actions that need it, including create and edit. create and edit did not previously load the languages, which caused a 500 error if you entered a non-existent post in the 'translation of' field
    
    * AO3-5138 RSpec for admin_posts_controller
    
    * AO3-5138 Test that new page renders when selecting a language and a non-existent translated_post_id for an admin post translation
  2. AO3-5139 Tell Hound to prefer template tokens (#3020)

    redsummernight authored and sarken committed Aug 30, 2017
  3. AO3-5137: Add catchall route to fix autocomplete errors (#3019)

    elzj authored and sarken committed Aug 30, 2017
  4. AO3-3958 Test unescaped HTML in title field when editing work/series (#…

    redsummernight authored and sarken committed Aug 30, 2017
Commits on Aug 29, 2017
  1. AO3-5119 Rails BOT Don't send deleted sign up email (#3012)

    sarken authored and ariana-paris committed Aug 29, 2017
Commits on Aug 27, 2017
  1. AO3-5124 Add codeclimate config file (#3015)

    elzj authored and sarken committed Aug 27, 2017
Commits on Aug 26, 2017
  1. AO3-5117: Fix bug in collection creation when no pseud was selected. …

    elzj authored and sarken committed Aug 26, 2017
    …Also fix auto-selection of default pseud on the form. (#3011)
Commits on Aug 25, 2017
  1. AO3-5112: Update protect from forgery to fix devise login issue for a…

    elzj authored and sarken committed Aug 25, 2017
    …dmins (#3010)
  2. AO3-5110 Rails BOT: Don't try to autoload observers that no longer ex…

    sarken authored and elzj committed Aug 25, 2017
    …ist (#3005)
    
    * AO3-5110 Don't try to autoload files that no longer exist
    
    * AO3-5110 Update a code comment that refered to the creation observer
Commits on Aug 24, 2017
  1. AO3-5108 Rails BOT: Fix params issue with inbox filtering (#3006)

    elzj authored and sarken committed Aug 24, 2017
    * AO3-5108: Fix params issue with inbox filtering
    
    * AO3-5108: Update specs to reflect variable changes