Commit Graph

490 Commits

Author SHA1 Message Date
Bertrand Bordage e63301d763 Switches Travis back to PostgreSQL 9.4 since its docs doesn’t make sense. 2017-06-03 01:46:04 +02:00
Bertrand Bordage 92b4bde8e0 Switches Travis to PostgreSQL 9.5. 2017-06-03 01:42:54 +02:00
Bertrand Bordage bbb2da1c5d Use Trusty in Travis. 2017-06-03 01:40:47 +02:00
Bertrand Bordage 018b6cc936 Fixes the Travis matrix by creating a script to generate it. 2017-06-03 01:36:27 +02:00
Bertrand Bordage 8aeb9f892b Makes Travis CI correctly run on different Python versions. 2017-06-03 01:25:08 +02:00
Bertrand Bordage 86d138c023 Removes Python 3.6 with Django 1.8 & 1.10. 2017-06-02 23:32:08 +02:00
Bertrand Bordage fd5e256a5e Switches to PostgreSQL 9.6. 2017-06-02 23:09:45 +02:00
Bertrand Bordage e9babc6e70 Merge pull request #80 from izimobil/master
Fixed django>=1.11 support.
2017-06-02 23:05:07 +02:00
Bertrand Bordage c9ac4080d2 Partially reverts 2cf0d65 from #68. 2017-06-02 23:03:45 +02:00
Bertrand Bordage 83cee881d2 Merge pull request #68 from eriktelepovsky/master
Fixes cache in CachalotPanel, Version 1.4.2
2017-06-02 23:01:41 +02:00
Bertrand Bordage d7a36def44 Also drops Django 1.9 & Python 3.3. 2017-06-02 22:59:35 +02:00
Bertrand Bordage e6b71a8213 Updates Sphinx requirements. 2017-06-02 22:59:29 +02:00
Bertrand Bordage 60c29e888f Typos in docs. 2017-06-02 22:57:31 +02:00
Bertrand Bordage 5b73e26bfe Merge pull request #76 from slurms/patch-1
Remove version since pylibmc issue has been fixed
2017-06-02 22:36:49 +02:00
David Jean Louis 179d8f2e21 Fixed django>=1.11 support.
Since Django 1.11 the ``query`` argument of the SQLCompiler constructor has always a ``subquery`` property, in fact if the SQL query has no real sub query it is set to False.
As a result, the test done by Django-cachalot in the ``_get_tables`` function is no more accurate and cause a dramatic slow down on 1.11 django installs.
This fix should be backwards compatible with older versions of Django.
2017-06-02 17:29:11 +02:00
Nick Sandford 7af968c4d9 Remove version since pylibmc issue has been fixed 2017-05-06 16:46:05 +01:00
Erik Telepovský 2cf0d65994 Fixes cache in CachalotPanel, Version 1.4.2 2016-11-22 15:09:39 +01:00
Bertrand Bordage a302f6b77a Version 1.4.1. 2016-10-24 20:44:32 +02:00
Bertrand Bordage 2cea2cd891 Fixes issue #62. 2016-10-23 21:22:22 +02:00
Bertrand Bordage eef82f8aaa Reproduces the conditions of issue #62. 2016-10-23 21:21:30 +02:00
Bertrand Bordage f7687b0ac9 Stops checking compatibility for caches other than CACHALOT_CACHE. 2016-10-23 21:10:10 +02:00
Bertrand Bordage 599b65c69d Revert "Fixes a test broken by mysqlclient 1.3.8."
This reverts commit eb64d1ce2b.
2016-10-23 21:04:42 +02:00
Bertrand Bordage 770368b338 Adds a test for the compatibility check. 2016-10-23 20:54:56 +02:00
Bertrand Bordage c1f4be6b6f Adds missing requirements to tox.ini. 2016-10-23 20:11:50 +02:00
Bertrand Bordage 3dd3082575 Creates a test for CachalotPanel. 2016-10-23 20:06:58 +02:00
Bertrand Bordage 5965319688 Version 1.4.0. 2016-09-29 20:28:47 +02:00
Bertrand Bordage b6c1426168 Replaces Slack with gitter. 2016-09-29 19:40:32 +02:00
Bertrand Bordage 8caeab4742 Documentation update on `CACHALOT_CACHE` & some limits. 2016-09-29 19:12:01 +02:00
Bertrand Bordage f6cfeb6226 Stops automatically invalidating other caches than `CACHALOT_CACHE`.
This had a negative impact on performance, and it was not working reliably.
It is clearer to invalidate only `CACHALOT_CACHE`, and to detail what
to do in the docs when we change `CACHALOT_CACHE`.
2016-09-29 19:11:21 +02:00
Bertrand Bordage eb64d1ce2b Fixes a test broken by mysqlclient 1.3.8. 2016-09-29 17:28:27 +02:00
Bertrand Bordage 2b2c662deb Ensures we never send the signal during a transaction. 2016-09-29 13:55:40 +02:00
Bertrand Bordage a42082e05c Adds a test to check if the signal is not sent during transaction when using `invalidate`. 2016-09-29 13:49:42 +02:00
Bertrand Bordage c5d5ee7907 Never caches `select_for_update` queries. 2016-09-29 11:57:38 +02:00
Bertrand Bordage dbbc4ff4c8 Documentation typos. 2016-09-13 22:25:42 +02:00
Bertrand Bordage cffed48026 Version 1.3.0. 2016-09-13 21:59:10 +02:00
Bertrand Bordage 01163c1f29 Renames the Jinja2 extension for Python 2.7 compatibility. 2016-09-13 20:30:18 +02:00
Bertrand Bordage 04afa3f439 Adds a Jinja2 extension. 2016-09-13 20:15:30 +02:00
Bertrand Bordage 62cb9c5c78 Adds a « Do not use if… » documentation paragraph. 2016-09-13 13:51:22 +02:00
Bertrand Bordage f1093935d2 Adds documentation build requirements. 2016-09-13 13:48:08 +02:00
Bertrand Bordage 7e3137eac7 Revert "Runs the bytes query test for SQLite on Python 2."
This reverts commit 13d71120d1.
2016-09-13 13:22:41 +02:00
Bertrand Bordage 13d71120d1 Runs the bytes query test for SQLite on Python 2. 2016-09-13 12:17:51 +02:00
Bertrand Bordage 82262184c8 Specifies how to invalidate cachalot after changing some settings. 2016-09-07 00:57:27 +02:00
Bertrand Bordage 246873b42f Don’t invalidate uncachable queries. 2016-09-07 00:44:51 +02:00
Bertrand Bordage 522b5af899 Use CACHALOT_TIMEOUT in 3 remaining places. 2016-09-06 23:21:01 +02:00
Bertrand Bordage 571e6ec691 Adds CACHALOT_TIMEOUT. 2016-09-06 21:57:26 +02:00
Bertrand Bordage 762456415a Fixes the test suite. 2016-09-06 20:01:48 +02:00
Bertrand Bordage 2f56831316 Restores PostgreSQL in Travis CI to version 9.4. 2016-09-06 19:09:16 +02:00
Bertrand Bordage 5773b57bb6 Updates Travis CI. 2016-09-06 19:02:09 +02:00
Bertrand Bordage 33bbfcea79 Use the new Django 1.10 release in tox. 2016-09-06 18:57:04 +02:00
Bertrand Bordage 858f88f154 Adds links to the Slack team. 2016-09-06 11:39:00 +02:00