Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Varnish support for ubiquo 0.9.x #37

Closed
wants to merge 107 commits into from

5 participants

@jondeandres

No description provided.

andreugil and others added some commits
@andreugil andreugil Fixed some versions issues 6a4632f
@andreugil andreugil Fixed appname in template 5ee835f
Jon de Andres Get correct value for checkbox inputs in settings 1c13f27
Jon de Andres ubiquo_design: Use current_locale only if ubiquo_i18n gem is registered 2debb2d
Jon de Andres Create tabs after dom has loaded a78e1f8
Jon de Andres Fix cloning widgets when having has_one relations 9440235
Jon de Andres Use view handler extensions in partials is deprecated 6f91b41
Jon de Andres Merge select filter url_for_options with params e766d90
@andreugil andreugil Fixed checkbox settings value 31a80e5
@bfcapell bfcapell Refactored validate_requirements for i18n conditions in different con…
…nectors
b1b6044
@bfcapell bfcapell Some refactoring in Settings connectors 5a27764
@bfcapell bfcapell Now that bundler is always required on the Rakefile, the rescue appro…
…ach is no longer needed
628797d
David Ruiz Fixed asset paths on authentification, categories, core, design, jobs…
… and menus
ac9ef83
David Ruiz Removed some repeated css with different format (closes #30) 5380b86
@aperea aperea Fixed bug in i18n connectors and some tests (closes #31) 2ed62f4
@bfcapell bfcapell Deleted unnecessary require in test c0f7dd4
@bfcapell bfcapell Added require for lockfile in cron jobs 36bc935
@bfcapell bfcapell Fixed ubiquo_form_builder tests 14a8829
@bfcapell bfcapell ubiquo_core should be able to launch tests without rake d5c9e01
David Ruiz Fixed some errors of i18n: connectors and sidebar translations (closes b1df6a7
@bfcapell bfcapell Require bundler setup on Rakefile 753aa29
@bfcapell bfcapell Ignore by default all the test/dummy directory (now things are instal…
…led there when running tests
25d479f
@bfcapell bfcapell When running tests, install and migrate possible files from other gem…
…s. This avoids having to copy migration files or other needed, installable files between gems just for test purposes
805a83b
@bfcapell bfcapell Add bundler as a requirement for the installer gem 3d88ea3
@bfcapell bfcapell Fixed failing tests about links in categories connectors 0eebd96
@bfcapell bfcapell Deleted two locale-in-url extensions no longer needed (the ubiquo_loc…
…ale routing filter now does this job) that were causing issues in categories tests
27f3ada
@bfcapell bfcapell Deleted test infrastructure no longer needed as now migrations from o…
…ther gems are automatically loaded
b0b2e9f
@aperea aperea Fix for ubiquo_design widgets when rails 3.2.8 5ee9b12
@aperea aperea Rendering ubiquo widgets with proper styles ccfdc62
@aperea aperea Better style for Ajax in place editor for widgets. Now appears the wh…
…ole box. (closes #35)
8b2ba7b
@bfcapell bfcapell Add bundler as a requirement for the installer gem 95c0c07
@bfcapell bfcapell Added first Varnish TTL test d54a149
@bfcapell bfcapell Added rendering of widgets as esi includes b184d9c
@bfcapell bfcapell Added varnish expiration methods on publish 11e0480
@bfcapell bfcapell Only apply varnish modifications in production b561ced
@andreugil andreugil Fixed some versions issues f13c688
@bfcapell bfcapell Added normal page expiration headers and use BAN instead of PURGE ae916f6
@bfcapell bfcapell Respect any possible GET parameter when writing esi uris deefde1
@bfcapell bfcapell Added Varnish CacheManager class and initial integration into the exp…
…iration workflow
6f9f017
@bfcapell bfcapell Use multiple detected Varnish servers instead of a preconfigured one c499d91
@bfcapell bfcapell Correctly escape the ? mark when sending bans to varnish 8552a75
@bfcapell bfcapell Fixed expire condition that was checking only for production environment 3ac3a2b
@bfcapell bfcapell Added render_widget_only possibility for DesignsController#preview cca0d9f
@bfcapell bfcapell Added Widget.published named_scope, refactoring Page's one d821477
@bfcapell bfcapell Removed a spend time calculation since now it's in a very small order…
… of magnitude
8280a43
@bfcapell bfcapell Added some comments, small refactoring in CacheManagers::Base 0a876ad
@bfcapell bfcapell Allow to define policies using expire_widget and expire_widget_set he…
…lper methods
a649274
@bfcapell bfcapell Accept an options hash and changed logged text in varnish expiration 1a2a5c1
@bfcapell bfcapell Added default widget TTL for all widgets when rendering aea7f61
@bfcapell bfcapell Improved varnish expiration support, now works for multiple hosts, si…
…mple BAN methods and in more circumstances
6d6dcf7
@bfcapell bfcapell Ban in varnish using page's absolute url 068aaed
@bfcapell bfcapell Refactored ban and varnish_request method, to make the host parameter…
… explicit
41b5e9b
@bfcapell bfcapell Fixed escaping of special regexp characters for Varnish 3 2d46762
@bfcapell bfcapell Added feature that enables a widget to have a unique, custom url to i…
…mprove caching
052b0bb
@bfcapell bfcapell Added option to allow a widget to be rendered in the main request in …
…Varnish
356f9ba
@bfcapell bfcapell Fixed expired Varnish page url when the widget has a custom url 453f4b6
@bfcapell bfcapell Added convenience method Widget#expire 365dd1e
@bfcapell bfcapell Fixed the way expirations are hooked inside AR lifecycle: in some cir…
…cumstances they could be fired without need, and were not preserving the original returned value
bf50322
@bfcapell bfcapell Avoid sending some expiration bans in certain circumstances when expi…
…ring a widget
90444d3
@bfcapell bfcapell Changed escaping of question mark to the current Varnish expectation.…
… More strict url regexps to avoid coincidences and edge cases.
cecf51a
@bfcapell bfcapell Added :loose option to allow widget expiration with more complex routes 0755a5c
@dlozano dlozano varnish cache_manager should check ESI mode only to render widgets 603c1e7
Juan Hernández Added expire_url to varnish cache manager 97c1acd
Bernat Rafales Fixing StaticPagesController to not call current_locale when i18n plu…
…gin is not present [#706 state:resolved]
0281933
Jordi Beltran Bump version to 0.8.1 368d0c8
Bernat Rafales Fixed a bug where a relation was called without a name and caused a c…
…rash when cloning a widget
ffb4a02
Bernat Rafales Changed merge to reverse_merge in creation of static pages so the par…
…ams can be overriden [fixes #5]
d2c72d3
@dlozano dlozano Added pending widget_request? method 32ee3d3
@dlozano dlozano Added method to cache_manager to expire a page e5a215f
@dlozano dlozano Refactored default widget TTL as a setting 99950d1
@dlozano dlozano Added uhook before executing a widget behaviour 0418de6
@dlozano dlozano Added expiration field to page to store client and server custom expi…
…ration TTL
d3a4f3a
@dlozano dlozano Moved render_widget_only method to a extension 8e79bf8
@dlozano dlozano Refactored widget update_page method e06d0fa
@dlozano dlozano Moved expire_by_model method to the cache_manager so it can be custom…
…ized
87d576f
@dlozano dlozano Improved render_widget method to accept options and stablish proper v…
…iew path
060f55b
@dlozano dlozano Fixed bug delayed_expiration in varnish_cache manager b07a8fb
@dlozano dlozano Fixed bug and added tests for page expiration field c41395d
@bfcapell bfcapell Moved expiration field creation to a migration to allow an easy updat…
…e for existing 0.8 projects
6cbf255
Jon de Andres Fix Page model to not rescue Exception 55dc877
Jon de Andres Fix files to apply ubiquo_design 0.8-stable commits bb67f65
Jon de Andres Add missing point so the commits can be applied 9d30087
@bfcapell bfcapell Show page expiration settings in page form as we have no toggle bundl…
…ed feature
a9b4d84
@bfcapell bfcapell Added expiration options to the interface, finished integration of va…
…rnish cache manager
56cb8d2
@bfcapell bfcapell Clarified help message 1aabae2
@bfcapell bfcapell Added after_filter to set expiration headers in PagesController 03f17f3
@bfcapell bfcapell Added ProxyServer model and controller and ServerStatus middleware 6d80b96
@bfcapell bfcapell Added Page#absolute_url method and basic url building code 4db91f1
@bfcapell bfcapell Updated VarnishServer reference to ProxyServer 93387da
@bfcapell bfcapell Fixed redirection that was causing issues 6e2145d
@bfcapell bfcapell Removing private statement for some public methods 114559b
@bfcapell bfcapell Changed expiration points in page, now just do it after publishing to…
… avoid repeated expirations
e57c88a
@bfcapell bfcapell Use instance variables to allow easier testing or extending b667819
Jon de Andres Fixes for rails3 varnish integration f9d128e
Jon de Andres Add discovery routes and fix ProxyServer model e2189ea
Jon de Andres Fixes for the rails3 and varnish integration 1752ef0
Jon de Andres Fix path for the migrations files f73313b
Jon de Andres Make expiration getters/setters to the accessible attributes d73ed0d
Jon de Andres Fix Page#publish cause conflicts wrong solved f742024
Jon de Andres Fix Page unit test 975e236
Jon de Andres Move expiration tests for Page to another test file 9ceb8d3
Jon de Andres Don't execute any i18n connector tests if ubiquo_i18n is not registered 471f2e4
Jon de Andres Don't require ubiquo_i18n in ubiquo_categories 3327a26
Jon de Andres Fix paths for new rails3 engine system ffe73ef
Jon de Andres Fix the varnish cache manager to get correctly the expirable widgets 7e18029
Jon de Andres Use an string in the :url value for url_for 83bba61
Jon de Andres Call Page#absolute_url with a :scope option 0782081
@bfcapell
Collaborator

458d98f..18d61b7 merged!

@bfcapell bfcapell closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 31, 2012
  1. @andreugil

    Fixed some versions issues

    andreugil authored
  2. @andreugil

    Fixed appname in template

    andreugil authored
Commits on Sep 6, 2012
  1. Get correct value for checkbox inputs in settings

    Jon de Andres authored
  2. Create tabs after dom has loaded

    Jon de Andres authored
Commits on Sep 17, 2012
  1. Fix cloning widgets when having has_one relations

    Jon de Andres authored
  2. Use view handler extensions in partials is deprecated

    Jon de Andres authored
Commits on Sep 18, 2012
  1. Merge select filter url_for_options with params

    Jon de Andres authored
Commits on Sep 19, 2012
  1. @andreugil
Commits on Oct 8, 2012
  1. @bfcapell

    Refactored validate_requirements for i18n conditions in different con…

    bfcapell authored Jon de Andres committed
    …nectors
  2. @bfcapell

    Some refactoring in Settings connectors

    bfcapell authored Jon de Andres committed
  3. @bfcapell

    Now that bundler is always required on the Rakefile, the rescue appro…

    bfcapell authored Jon de Andres committed
    …ach is no longer needed
  4. Fixed asset paths on authentification, categories, core, design, jobs…

    David Ruiz authored Jon de Andres committed
    … and menus
  5. Removed some repeated css with different format (closes #30)

    David Ruiz authored Jon de Andres committed
  6. @aperea

    Fixed bug in i18n connectors and some tests (closes #31)

    aperea authored Jon de Andres committed
  7. @bfcapell

    Deleted unnecessary require in test

    bfcapell authored Jon de Andres committed
  8. @bfcapell

    Added require for lockfile in cron jobs

    bfcapell authored Jon de Andres committed
  9. @bfcapell

    Fixed ubiquo_form_builder tests

    bfcapell authored Jon de Andres committed
  10. @bfcapell

    ubiquo_core should be able to launch tests without rake

    bfcapell authored Jon de Andres committed
  11. Fixed some errors of i18n: connectors and sidebar translations (closes

    David Ruiz authored Jon de Andres committed
  12. @bfcapell

    Require bundler setup on Rakefile

    bfcapell authored Jon de Andres committed
  13. @bfcapell

    Ignore by default all the test/dummy directory (now things are instal…

    bfcapell authored Jon de Andres committed
    …led there when running tests
  14. @bfcapell

    When running tests, install and migrate possible files from other gem…

    bfcapell authored Jon de Andres committed
    …s. This avoids having to copy migration files or other needed, installable files between gems just for test purposes
  15. @bfcapell

    Add bundler as a requirement for the installer gem

    bfcapell authored Jon de Andres committed
  16. @bfcapell

    Fixed failing tests about links in categories connectors

    bfcapell authored Jon de Andres committed
  17. @bfcapell

    Deleted two locale-in-url extensions no longer needed (the ubiquo_loc…

    bfcapell authored Jon de Andres committed
    …ale routing filter now does this job) that were causing issues in categories tests
  18. @bfcapell

    Deleted test infrastructure no longer needed as now migrations from o…

    bfcapell authored Jon de Andres committed
    …ther gems are automatically loaded
  19. @aperea

    Fix for ubiquo_design widgets when rails 3.2.8

    aperea authored Jon de Andres committed
  20. @aperea

    Rendering ubiquo widgets with proper styles

    aperea authored Jon de Andres committed
  21. @aperea

    Better style for Ajax in place editor for widgets. Now appears the wh…

    aperea authored Jon de Andres committed
    …ole box. (closes #35)
Commits on Oct 9, 2012
  1. @bfcapell

    Add bundler as a requirement for the installer gem

    bfcapell authored Jon de Andres committed
  2. @bfcapell

    Added first Varnish TTL test

    bfcapell authored Jon de Andres committed
  3. @bfcapell

    Added rendering of widgets as esi includes

    bfcapell authored Jon de Andres committed
  4. @bfcapell

    Added varnish expiration methods on publish

    bfcapell authored Jon de Andres committed
  5. @bfcapell

    Only apply varnish modifications in production

    bfcapell authored Jon de Andres committed
  6. @andreugil

    Fixed some versions issues

    andreugil authored Jon de Andres committed
  7. @bfcapell

    Added normal page expiration headers and use BAN instead of PURGE

    bfcapell authored Jon de Andres committed
  8. @bfcapell

    Respect any possible GET parameter when writing esi uris

    bfcapell authored Jon de Andres committed
  9. @bfcapell

    Added Varnish CacheManager class and initial integration into the exp…

    bfcapell authored Jon de Andres committed
    …iration workflow
  10. @bfcapell

    Use multiple detected Varnish servers instead of a preconfigured one

    bfcapell authored Jon de Andres committed
  11. @bfcapell

    Correctly escape the ? mark when sending bans to varnish

    bfcapell authored Jon de Andres committed
  12. @bfcapell

    Fixed expire condition that was checking only for production environment

    bfcapell authored Jon de Andres committed
  13. @bfcapell

    Added render_widget_only possibility for DesignsController#preview

    bfcapell authored Jon de Andres committed
  14. @bfcapell

    Added Widget.published named_scope, refactoring Page's one

    bfcapell authored Jon de Andres committed
  15. @bfcapell

    Removed a spend time calculation since now it's in a very small order…

    bfcapell authored Jon de Andres committed
    … of magnitude
  16. @bfcapell

    Added some comments, small refactoring in CacheManagers::Base

    bfcapell authored Jon de Andres committed
  17. @bfcapell

    Allow to define policies using expire_widget and expire_widget_set he…

    bfcapell authored Jon de Andres committed
    …lper methods
  18. @bfcapell

    Accept an options hash and changed logged text in varnish expiration

    bfcapell authored Jon de Andres committed
  19. @bfcapell

    Added default widget TTL for all widgets when rendering

    bfcapell authored Jon de Andres committed
  20. @bfcapell

    Improved varnish expiration support, now works for multiple hosts, si…

    bfcapell authored Jon de Andres committed
    …mple BAN methods and in more circumstances
  21. @bfcapell

    Ban in varnish using page's absolute url

    bfcapell authored Jon de Andres committed
  22. @bfcapell

    Refactored ban and varnish_request method, to make the host parameter…

    bfcapell authored Jon de Andres committed
    … explicit
  23. @bfcapell

    Fixed escaping of special regexp characters for Varnish 3

    bfcapell authored Jon de Andres committed
  24. @bfcapell

    Added feature that enables a widget to have a unique, custom url to i…

    bfcapell authored Jon de Andres committed
    …mprove caching
  25. @bfcapell

    Added option to allow a widget to be rendered in the main request in …

    bfcapell authored Jon de Andres committed
    …Varnish
  26. @bfcapell

    Fixed expired Varnish page url when the widget has a custom url

    bfcapell authored Jon de Andres committed
  27. @bfcapell

    Added convenience method Widget#expire

    bfcapell authored Jon de Andres committed
  28. @bfcapell

    Fixed the way expirations are hooked inside AR lifecycle: in some cir…

    bfcapell authored Jon de Andres committed
    …cumstances they could be fired without need, and were not preserving the original returned value
  29. @bfcapell

    Avoid sending some expiration bans in certain circumstances when expi…

    bfcapell authored Jon de Andres committed
    …ring a widget
  30. @bfcapell

    Changed escaping of question mark to the current Varnish expectation.…

    bfcapell authored Jon de Andres committed
    … More strict url regexps to avoid coincidences and edge cases.
  31. @bfcapell

    Added :loose option to allow widget expiration with more complex routes

    bfcapell authored Jon de Andres committed
  32. @dlozano

    varnish cache_manager should check ESI mode only to render widgets

    dlozano authored Jon de Andres committed
  33. Added expire_url to varnish cache manager

    Juan Hernández authored Jon de Andres committed
  34. Fixing StaticPagesController to not call current_locale when i18n plu…

    Bernat Rafales authored Jon de Andres committed
    …gin is not present [#706 state:resolved]
  35. Bump version to 0.8.1

    Jordi Beltran authored Jon de Andres committed
  36. Fixed a bug where a relation was called without a name and caused a c…

    Bernat Rafales authored Jon de Andres committed
    …rash when cloning a widget
  37. Changed merge to reverse_merge in creation of static pages so the par…

    Bernat Rafales authored Jon de Andres committed
    …ams can be overriden [fixes #5]
  38. @dlozano

    Added pending widget_request? method

    dlozano authored Jon de Andres committed
  39. @dlozano

    Added method to cache_manager to expire a page

    dlozano authored Jon de Andres committed
  40. @dlozano

    Refactored default widget TTL as a setting

    dlozano authored Jon de Andres committed
  41. @dlozano

    Added uhook before executing a widget behaviour

    dlozano authored Jon de Andres committed
  42. @dlozano

    Added expiration field to page to store client and server custom expi…

    dlozano authored Jon de Andres committed
    …ration TTL
  43. @dlozano

    Moved render_widget_only method to a extension

    dlozano authored Jon de Andres committed
  44. @dlozano

    Refactored widget update_page method

    dlozano authored Jon de Andres committed
  45. @dlozano

    Moved expire_by_model method to the cache_manager so it can be custom…

    dlozano authored Jon de Andres committed
    …ized
  46. @dlozano

    Improved render_widget method to accept options and stablish proper v…

    dlozano authored Jon de Andres committed
    …iew path
  47. @dlozano

    Fixed bug delayed_expiration in varnish_cache manager

    dlozano authored Jon de Andres committed
  48. @dlozano

    Fixed bug and added tests for page expiration field

    dlozano authored Jon de Andres committed
  49. @bfcapell

    Moved expiration field creation to a migration to allow an easy updat…

    bfcapell authored Jon de Andres committed
    …e for existing 0.8 projects
  50. Fix Page model to not rescue Exception

    Jon de Andres authored
  51. Fix files to apply ubiquo_design 0.8-stable commits

    Jon de Andres authored
  52. Add missing point so the commits can be applied

    Jon de Andres authored
  53. @bfcapell

    Show page expiration settings in page form as we have no toggle bundl…

    bfcapell authored Jon de Andres committed
    …ed feature
  54. @bfcapell

    Added expiration options to the interface, finished integration of va…

    bfcapell authored Jon de Andres committed
    …rnish cache manager
  55. @bfcapell

    Clarified help message

    bfcapell authored Jon de Andres committed
  56. @bfcapell

    Added after_filter to set expiration headers in PagesController

    bfcapell authored Jon de Andres committed
  57. @bfcapell

    Added ProxyServer model and controller and ServerStatus middleware

    bfcapell authored Jon de Andres committed
  58. @bfcapell

    Added Page#absolute_url method and basic url building code

    bfcapell authored Jon de Andres committed
  59. @bfcapell

    Updated VarnishServer reference to ProxyServer

    bfcapell authored Jon de Andres committed
  60. @bfcapell

    Fixed redirection that was causing issues

    bfcapell authored Jon de Andres committed
  61. @bfcapell

    Removing private statement for some public methods

    bfcapell authored Jon de Andres committed
  62. @bfcapell

    Changed expiration points in page, now just do it after publishing to…

    bfcapell authored Jon de Andres committed
    … avoid repeated expirations
  63. @bfcapell

    Use instance variables to allow easier testing or extending

    bfcapell authored Jon de Andres committed
  64. Fixes for rails3 varnish integration

    Jon de Andres authored
  65. Add discovery routes and fix ProxyServer model

    Jon de Andres authored
  66. Fixes for the rails3 and varnish integration

    Jon de Andres authored
  67. Fix path for the migrations files

    Jon de Andres authored
  68. Fix Page#publish cause conflicts wrong solved

    Jon de Andres authored
  69. Fix Page unit test

    Jon de Andres authored
  70. Move expiration tests for Page to another test file

    Jon de Andres authored
  71. Don't require ubiquo_i18n in ubiquo_categories

    Jon de Andres authored
  72. Fix paths for new rails3 engine system

    Jon de Andres authored
  73. Use an string in the :url value for url_for

    Jon de Andres authored
Commits on Oct 10, 2012
  1. Call Page#absolute_url with a :scope option

    Jon de Andres authored
Something went wrong with that request. Please try again.