Skip to content

Latest commit

 

History

History
1301 lines (702 loc) · 62.3 KB

CHANGELOG.md

File metadata and controls

1301 lines (702 loc) · 62.3 KB

CHANGELOG

v4.3.0 (2024-09-10)

Chore

  • chore(ci): upgrade python-semantic-release to v9.8.8 (#176)

There have been a lot of releases since v8.0.8 https://github.com/python-semantic-release/python-semantic-release/blob/master/CHANGELOG.md#v808-2023-08-26

The breaking change was dropping Python 3.7. While this project supports 3.7... that will change the next opportunity (50a03af)

  • chore: update Django/Python test matrix and add classifier for py3.12 (#171) (ad3b898)

  • chore: add Django v5 to CI matrix (#166)

https://docs.djangoproject.com/en/5.0/releases/5.0/ (b63aac1)

Documentation

  • docs: add Django Modal Actions as a similar package (#173)

Adding new Django Modal Actions package Deleting Django Object Actions which hasn't had a commit in 3 years (813687e)

Feature

  • feat: add a way to make a POST only action (#174)

Followup to #168 to get CI to pass again, documents how to make a POST only action, and adds some test coverage.

There are still a few cleanup issues but this should get things moving on POST only actions again. (494d581)

Style

  • style: apply Black formatting (#170) (fb3ce5b)

Unknown

  • wip to select GET or POST for actions (#168)

Another try at enforcing POST actions. This change is more gradual than #149 - when library user doesn't change default options the behavior is exactly the same as before the change, that is:

  1. Action buttons send GET requests
  2. Action handlers accept GET and POST requests

However, user can change this behavior using methods and button_type kwargs. For example @action(methods=['POST'], button_type='form') results in

  1. Action button sends POST requests
  2. Action handler accepts only POST request

Unfortunately I have this tested only within my project. Also the docs are missing.

And one more thing - I think it is better to use <input type="submit"> instead of js to submit the form. This js is need to make the buttons look the same in both versions. With proper CSS (that is beyond my ability to write ;) ) js is avoidable and we could be using pretty semantic html submit button. I took the form button template from #149. (1274ae7)

v4.2.0 (2023-09-08)

Chore

  • chore(deps): refresh dev dependencies (#158)

Also moves Coverage config to pyproject.toml to eliminate another top level project file (7d439b6)

  • chore(ci): add Django 4.2 to the build matrix (#154) (e73b4d0)

  • chore: fix formatting in example app (#155)

Ran black on to comply with format from 23.x version (9bd288f)

  • chore(ci): remove deprecated set-output syntax (#146)

fixes deprecation warnings in CI: > The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ (3e42b3b)

  • chore(ci): upgrade python-semantic-release (#145)

Hopefully this fixes the broken GitHub Action too https://github.com/crccheck/django-object-actions/actions/runs/3464471740 error: No module named 'packaging'

python-semantic-release/python-semantic-release#489

closes #144 (53417a0)

Documentation

  • docs: update README style (#157)

To reduce future diffs from autoformat (f92464e)

Feature

  • feat: test release for new python-semantic-release process (#159)

Just upgrading to stay current. Need to use "feat" to trigger a release.

Docs:

https://python-semantic-release.readthedocs.io/en/latest/migrating_from_v7.html

Fix

  • fix(ci): maybe this will fix Semantic Release (#161) (1595348)

  • fix(ci): update [tool.semantic_release] names (#160)

I missed some updated config changes

https://python-semantic-release.readthedocs.io/en/latest/configuration.html#config-version-variables (70d2c81)

v4.1.0 (2022-11-14)

Chore

  • chore(ci): add Python 3.11 and Django 4.1 to CI (#143)

Just some housekeeping and local dev tweaks. (10e4743)

Feature

  • feat: provide action decorator to pass label, description and atts to the admin method (#141)

Add an @action decorator that behave's like Django's admin.action decorator1 to clean up customizing object actions.

closes #115

Also relates to #107

Fix

  • fix: fix link to ci.yml in README (#139)

Fix README link to ci.yml (700dd9b)

v4.0.0 (2022-03-12)

Breaking

  • feat!: drop Python 3.6 support (#135)

BREAKING CHANGE: Python 3.6 is past end-of-life and is no longer supported. Keeping it in pyproject.toml was causing pains trying to install packages. Let's drop it while we're dropping support for other old stuff. (8deebed)

Chore

  • chore(deps): refresh dev deps and refactor CI (#132)

This updates CI to use https://github.com/fabiocaccamo/create-matrix-action to simplify the config file. Poetry's lock file updated as I reinstalled on a new computer. (6283e62)

Documentation

  • docs: add [email protected] to CI (#133)

  • upgrade some more deps

  • add django 4.0 to ci

  • cleanup ci for Black

  • fix poetry's python version conflicts with CI version (20e2418)

Fix

  • fix: cleanup Django compatibility shims for <2.0 (#126) (88cfb3b)

v3.1.0 (2021-12-18)

Chore

  • chore(ci): run some tests using Poetry build instead of source (#129)

To verify that it's getting packaged correctly. In particular, I need to make sure the .html files are in the package. (c24c299)

Feature

  • feat(ci): add manual semantic-release (#128)

I'll switch it to be automated on push to master at some point. (f43fd11)

  • feat: Add Python 3.9 & 3.10 support

  • ci: add Python 3.9-310 to the build

  • fix: support Python 3.9-3.10 in trove classifiers (28f0ef7)

Fix

  • fix: fix typo in version_variable (#130)

Fix "error: [Errno 2] No such file or directory: 'django-object-actions/init.py'" error when creating a release (040a802)

Refactor

  • refactor: switch to Poetry for env+dep management (#127)

I've been using Poetry because it takes the hassle out of virtualenv management and has sane defaults that just work for building artifacts and uploading to PyPI.

Because I had to redo how tests were run, I went ahead and removed the Tox testing requirement too and so I had to redo the Github Actions for testing too.

One thing I didn't anticipate is that Github Actions caching doesn't work for Poetry, only with requirements.txt and Pipenv https://github.blog/changelog/2021-11-23-github-actions-setup-python-now-supports-dependency-caching/

Verifying the change

I compared python setup.py build vs poetry build and the only difference was some top level meta differences and Poetry added the tests directory which is fine. Both have the .html templates which is the important thing. (f16cb00)

Unknown

  • Migrate CI to GitHub actions (#122)

TravisCI stopped building 7 months ago, migrate to GitHub actions which seems to be the default choice these days. Some comments about this change:

  • I tried to keep the build matrix close to how it was but the build failed for Django<2, so I've dropped these versions.
  • Python 3.5 reached the end of its life on September 13th, 2020, so I've dropped it as well.
  • The build status isn't reported in this PR because it's a new workflow added from a fork, and GitHub doesn't run it for security reasons. You can see the build results in my fork.
  • I didn't bother trying to add new versions for now, can be done separately. (4340c89)

v3.0.2 (2021-04-09)

Chore

  • chore(release): 3.0.2 (dbcecbf)

  • chore: add Django 3.2 to test grid (#117)

https://docs.djangoproject.com/en/3.2/releases/3.2/

I really need to drop support for old versions now. Lots of deps are starting to step on each other and drop things. Django itself doesn't support Django 3.0 anymore with the release of Django 3.2 (e473bc3)

Refactor

  • refactor: Use django.urls.re_path instead of deprecated django.conf.urls.url (#112)

Use django.urls.re_path() when available, instead of the deprecated django.conf.urls.url().

  • re_path() is available since Django 2.0.
  • url() will be removed in Django 4.0. (9bb736a)

v3.0.1 (2020-08-08)

Chore

Fix

  • fix: Objects with special symbols in primary key 404-ed (#110)

for case if object in database has any of special symbols https://github.com/django/django/blob/master/django/contrib/admin/utils.py#L17 clicking on action button causes 404 error, as in SingleObjectMixin there are already parsed kwargs from url, and they are unquoted

made unquoting kwargs (0c90ce1)

v3.0.0 (2020-08-08)

Breaking

  • feat(deps): Drop Python 3.4 support (#108)

BREAKING CHANGE: drop Python 3.4 support in preparation for adding type hints and Django 3.1 support

Prereq for #107 (68519d4)

Chore

Feature

  • feat(deps): Add Django 3.1 support (#109)

Pretty basic, looks like no code changes needed.

https://docs.djangoproject.com/en/3.1/releases/3.1/ (2c7170e)

  • feat: add Django 3 test support (#106)

Django 3.0 is out: https://docs.djangoproject.com/en/3.0/releases/3.0/ Let's see if we're compatible. It turns out no code changes are needed huzzah! (4eaf14c)

v2.0.0 (2019-11-29)

Breaking

  • feat: Drop Python 2 support (#105)

BREAKING CHANGE: This release drops Python 2 support

Django has dropped Python 2 support ever since Django 2.0 (December 2, 2017). With Django 3.0 coming very soon and Python 2 reaching end of life, it doesn't make sense to continue supporting Python 2. (551d2bb)

Chore

v1.1.2 (2019-11-14)

Chore

  • chore(release): 1.1.2 (0cd8a24)

  • chore: Use Black to format code (#100)

There's a lot of momentum to using Black. For example, Django will use it

This pulls the bandaid off to avoid mixing lint changes w/ code changes in the future. I opted to not dictate how Black is run because I'm not 100% sure how that should happen. To make sure PRs contributors are following this, I added a lint check in CI. (42055a3)

Documentation

  • docs: add syntax highlighting (#102) (399affa)

Unknown

  • change README to Markdown to simplify things (#104)

I'm not planning on doing a Sphinx site, so let's use Markdown to make the documentation easier to maintain.

Part of #94 (2d2a689)

v1.1.1 (2019-10-06)

Chore

  • chore: bump dev dependencies (#95)

  • greenkeeper

  • django-extensions is safe to upgrade now

  • use consistent DJANGO<v> comment to indicate backwards compatibility

  • exclude sqlite from docker too

  • TODO

  • greenkeeper

  • don't email failures (fceff29)

  • chore: modernize some syntax, add Django 2.2 and Py37 (#91)

  • greenkeeper

  • add py37 and django2.1 to testing matrix

  • update coveralls to use latest versions

  • make sure to use factoryboy's version of Faker

  • add versions to travisci

  • use Factoryboy's fakersyntax

  • ugh

  • selective coveralls

  • add Django 2.2

  • disable coveralls in CI for nw

  • only build on PRs and master

  • don't commit .sqlite

  • add missing setting

  • fix broken test

  • haha need a script to run tests (ba9eb1b)

Fix

  • fix: changelist action links had no 'href' (#98)

I probably copy pasted something wrong and brought an extra arg into the reverse, so reverse never found anything and the actions in the changelist never rendered with a href. This makes the args match the url definition so these buttons work again.

Thanks to @mvbrn for the original fix.

closes #96 (8b8aed3)

Unknown

v1.1.0 (2019-05-04)

Feature

  • feat: Make default labels prettier (#93)

With this change the default label changes from some_action to Some action (4191afd)

Unknown

  • bump version to v1.1.0 (78df3fc)

  • Return to preserved filters on change_list after object action (#88)

If you want to filter change_list by some conditions, then open each object and run some object action there, you will be returned to change_list with the same preserved filters.

Fix #83

  • Return to preserved filters on change_list after object action

  • Changes after pull request: Load add_preserved_filters from admin_urls

  • Changes after pull request: Indentation presumably reverted to original style (fb90869)

v1.0.0 (2018-03-09)

Unknown

  • bump version to v1.0.0 (a390027)

  • Cleanup random Django version support docs (#86)

No code changes, just:

  • upgrade dev dependencies
  • unify django version specific code comments to be DJANGO&lt;version&gt;
  • update workflows to use more modern versions

Verifying change

  • make build

  • make run

  • Browse to localhost:8000/admin/

  • login with admin/admin (a7b183f)

  • Add support for Django 2.0 (#85)

Adding support for Django 2.0+, and removing support for Django versions up to 1.8, the oldest supported LTS release. This allows us to replace the now deprecated django-extensions UUIDField with the Django native version, and drop a couple of other hacks. Resolves #84 (430be02)

  • Add a redirect example to the README (#82)

  • use pip-tools to document requirements

  • greenkeeper

  • python 3.6 is a thing

  • add a copy-paste ready example for HttpResponseRedirect action

  • ugh, travisci

  • try this shit out

  • i guess it worked (81af3e7)

v0.10.0 (2017-05-10)

Unknown

  • bump version to v0.10.0 (8558f7b)

  • Release prep (#80)

  • greenkeeper

  • simplify tox deps

  • add missing travisci coverage

  • update docker demos

  • standardize django version comments (242cf07)

  • Get rid of Django 2.0 DeprecationWarning (#78)

  • Get rid of Django 2.0 DeprecationWarning

Add 1.11 tox env

  • add missing compatibility imports and reorder for readability (d3fb875)

  • Fix faker in requirements (#76)

Tests failed with

ImportError: The ``fake-factory`` package is now called ``Faker``.

Please update your requirements.

The fake-factory package was deprecated on December 15th, 2016. Use the Faker package instead. (011ed07)

v0.9.0 (2016-12-04)

Unknown

  • bump version to v0.9.0 (8780870)

  • Add support for all primary key formats (#75)

  • support pks that are strings

  • change pattern to be the same as what the Django admin uses (61fb1e5)

  • Add Django 1.10 to 'tox' support (#74)

  • add django 1.10 to tox coverage

  • Update 'make clean' to clean python 3 files

  • update test project for Django 1.10

  • greenkeeper (38905d0)

  • Remove old things that were breaking the test suite (#73)

  • drop testing for django 1.5

  • delete django 1.5 hacks

  • remove python 2.6 test coverage since it was broken (f9ed6ec)

  • Fixed method name in changelog: get_objectactions -> get_object_actions. (#71)

typo fix (ebe9442)

  • Doc: clarify what row-actions package does (#70) (8969e2f)

v0.8.2 (2016-04-23)

Unknown

  • bump version to v0.8.2 (9537c41)

  • fix django template settings be just using defaults (#65)

seriously, stop complaining about things I don't care about (73f1f44)

v0.8.1 (2016-04-23)

Unknown

  • bump version to v0.8.1 (809c7b0)

  • Fix how extra context set by admins was not passed (#64)

  • refactor admin to organize things better

  • add failing test case for extra context

s

  • fixing context data (fe8ce91)

  • add ability redirect back active admin (#62)

  • add ability redirect back active admin

when used several admins, you always redirect to default admin, should redirect back to active admin

  • add tests for redirect back on multiple admin (bc4b38b)

  • delete django 1.4 compatibility code (#63) (855c15f)

v0.8.0 (2016-02-25)

Unknown

  • bump version to v0.8.0 (6612a24)

  • Fix the docker images so they start ready to go. Closes #58

Squashed commit of the following:

commit a9a6e11561b848112ff24252be5874e61942fbd2 Author: crccheck <[email protected]> Date: Thu Feb 25 18:06:45 2016 -0600

doc the Dock

commit acaae613237b0e4d9db016c49a32aa56865d4600 Author: crccheck <[email protected]> Date: Thu Feb 25 17:53:04 2016 -0600

switch to smaller base image and cacheable layers

commit 0fc71148d1c1289b0d4d7572499cfe686297799a Author: crccheck <[email protected]> Date: Thu Feb 25 17:46:37 2016 -0600

doc how to upload images

commit 01fa29545c0fde269e82e212c8a821f017e39faf Author: crccheck <[email protected]> Date: Thu Feb 25 17:27:36 2016 -0600

ugh

commit dc354981741c0e9e932fe46bdcf9bd68d8ca11db Author: crccheck <[email protected]> Date: Thu Feb 25 17:24:27 2016 -0600

create a default admin/admin user

commit 8a492504182d820601afbbce3034d533cbb6bd41 Author: crccheck <[email protected]> Date: Thu Feb 25 17:10:12 2016 -0600

fix how the docker images didn&#39;t have a database ([`de1b76b`](https://github.com/crccheck/django-object-actions/commit/de1b76b3e32e1a11de11341d929dcc650c76b8fd))
  • Add actions to the changelist admin page Closes #55

Squashed commit of the following:

commit c253a79cbf696b30e80f8fe454fea2e63031d2be Author: crccheck <[email protected]> Date: Sun Feb 21 09:52:53 2016 -0600

update changelog

commit 433d0a29ca96ed4de565db0d36521acd7c5095c1 Author: crccheck <[email protected]> Date: Sat Feb 20 23:37:09 2016 -0600

rename more tools things to actions

commit 47e0eaac8e6e7f4d9aa39950fc3069149bfa03be Author: crccheck <[email protected]> Date: Sat Feb 20 21:56:49 2016 -0600

readme update pass

commit 94ce625d4fb3e9fc6cfb0b6b8e0db924d64c0ee4 Author: crccheck <[email protected]> Date: Sat Feb 20 21:26:33 2016 -0600

refactor: re-arrangement

commit 324255a53e8a9289122298a361c65e1aa61307fc Author: crccheck <[email protected]> Date: Sat Feb 20 21:15:28 2016 -0600

note about security

commit 67796ff2024ad6519566e5650c60fd9905acfcc8 Author: crccheck <[email protected]> Date: Sat Feb 20 19:14:56 2016 -0600

revamp get_change_action example to use real code

commit e300918c65691ae9e251f8655dc1692882142e8d Author: crccheck <[email protected]> Date: Sat Feb 20 10:44:02 2016 -0600

rename get_object_actions since it broke anyways

commit c0a63b8e58aa46a9341373e9cb32990cafcc71c4 Author: crccheck <[email protected]> Date: Sat Feb 20 09:29:49 2016 -0600

documentation pass

commit 3a519b28a2e5e02fd224f247603e74dd36a4344d Author: crccheck <[email protected]> Date: Sat Feb 20 09:09:42 2016 -0600

stub changelog

commit 823a5e29cf6a4fae1f11552424509a8a0c765a34 Author: crccheck <[email protected]> Date: Fri Feb 19 23:51:03 2016 -0600

refactor: dry

commit 594b8718010513da5b4b7945ddf44bb55c9e305b Author: crccheck <[email protected]> Date: Fri Feb 19 23:01:47 2016 -0600

wire button to a new view

commit ff89b413bb0ce85b739f885fc3279cab46849a9b Author: crccheck <[email protected]> Date: Fri Feb 19 22:50:29 2016 -0600

add changelist button

commit 22d6a8d02037bac489ee6dedb541581f815181b8 Author: crccheck <[email protected]> Date: Fri Feb 19 22:26:13 2016 -0600

flesh out the changelist actions

commit 7976c96f4dc1035cd2066d39c58a6597092f52db Author: crccheck <[email protected]> Date: Fri Feb 19 21:39:38 2016 -0600

use a better place to get into the template context

render_change_form works, but change_view is documented

commit 888725e8b35c8484244fec84c1ca83e292e8ad30 Author: crccheck <[email protected]> Date: Wed Jan 13 23:08:54 2016 -0600

use a more standard hook for extra context

commit b47e956a2f4de243e19ae46ef726239284c6bbfe Author: crccheck <[email protected]> Date: Wed Jan 13 22:45:47 2016 -0600

pep8 ([`98aad50`](https://github.com/crccheck/django-object-actions/commit/98aad50f07f167de41ec0fa4fc348de3132840c5))
  • Merge pull request #52 from ixc/master

Fixed example in documentation that doesn't work as advertised. (648c388)

  • A slightly better way to express the logic in the example. (f6ff8f7)

  • Fixed example in documentation that doesn't work as advertised.

The context will always have an 'original' key if coming from Django's .changeform_view(), but it will be None if a new object is being added. (b49d08d)

v0.7.0 (2016-01-13)

Documentation

  • docs: more tweaks as I read code (936fe08)

Unknown

  • bump version to v0.7.0 (a923cf2)

  • Merge pull request #50 from crccheck/all-http-responses

All the http responses (a07159e)

  • update travis with new tox env list (3785cf9)

  • consistent quotes in setup.py (4279852)

  • allow streaming http response too

closes #38 (4b993f2)

  • Merge pull request #49 from crccheck/fix-unnamed-admin-urls

Fix unnamed admin urls (310d086)

  • delete unnecessary variable (0efc304)

  • fix bug with nameless admin urls (26f9362)

  • add trivial test case for get_tool_urls (0022992)

  • update docs as I re-learn what's going on (e7903ae)

  • Merge pull request #46 from Cuuuurzel/patch-1

Fixed urls patterns usage warning in Django 1.9 (22681a8)

  • Fixed urls patterns usage warning in Django 1.0

Removed usage of django.conf.urls.patterns, in order to avoid warning : """ RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead. """ (38a6e2b)

  • Merge pull request #48 from crccheck/maintenance

Requirements tweaks and Dockerfile (4c3915d)

  • cleanup (0cdd715)

  • transition away from having a hard Django dev dependency (074fb77)

  • add some Docker images to make it easier to try against multiple versions of Django (b34a944)

  • update copyright (28dacab)

  • remove Heroku quickstart since the free tier is dead (675e477)

  • bump requirements to stay current (7c3dded)

  • refactor Makefile help to be more compact (0feaaec)

  • convert to using a VERSION file instead of a make variable (8fbd035)

v0.6.0 (2015-12-06)

Unknown

  • bump version to v0.6.0 (c1eb51b)

  • Merge pull request #43 from Amareis/issue-42

Fix Django 1.9 compatibility, Drop Django 1.4 (04eb0d8)

  • Some decorative fixes (fd28613)

  • Removed Django 1.4 testing (ca168dc)

  • Updated CI configs (b576ade)

  • Fixed absolute URL's on reverse calls (0113594)

  • Update change_form.html (416cabf)

  • Update utils.py (abc053b)

  • Merge pull request #35 from crccheck/maintenance

Maintenance tweaks (fae7d93)

  • bump required yet again to stay fresh (e063d5d)

  • Merge remote-tracking branch 'origin/master' into maintenance (815fd2e)

  • Merge pull request #39 from AlexRiina/master

Fix how queryset-ish wasn't queryset-ish enough (3d02a3e)

  • upgrade django-extensions so build passes (30d1db2)

  • add get_queryset as perferred alternative to _meta.model (dd730c3)

  • use pk instead of QuerySetIsh

fix use model or concrete model (e7bf8e5)

  • test update on second poll (9612bcc)

  • disable python3.5 in travisci (1fa6acb)

  • expand coverage to python 3.5 (bb9666d)

  • update makefile style a bit (5db392e)

  • delete some more things in 'make clean' (9abb96d)

  • bump requirements to stay fresh (2067389)

  • Merge pull request #34 from dukebody/master

Raise original object action KeyError instead of wrapping it (ba358f7)

  • Raise original object action KeyError instead of wrapping it in "Tool does not exist". (0a130e1)

  • Merge pull request #32 from crccheck/maintenance

Maintenance tweaks (bff321f)

  • add shoutout too Django Admin Row Actions (c3aa307)

  • bump requirements to stay fresh (988de59)

  • change test runner to use the latest stable version of django (ac7e9df)

  • update django 1.8 coverage to the latest version (413c52b)

  • bump django 1.8c1 coverage (8ba1450)

  • Merge pull request #31 from crccheck/dj18

Officially support django 1.8 (50966dd)

  • add coveralls badge (b7528c0)

  • add coveralls support so I get a badge (3e111df)

  • refactor tox install to use generated environments (f2a4ea4)

  • Add Django 1.8 to list of tested versions (62b221e)

v0.5.1 (2014-11-27)

Unknown

  • bump version to v0.5.1 (a34b4e9)

  • Merge pull request #30 from texastribune/uuid-pks-n-stuffing

Uuid pks n stuffing (fecf547)

  • add an easier way to bump versions (ad68b8b)

  • move factories out from package since this has no models (d9bef16)

  • delete excess files when packaged

don't need example_project and tests when packaging. it'd be nice, but it's not practical. (9611eaa)

  • update the way the url pattern is defined for future-proofin'

I thought I read that defining urls without url(...) was going away. (0b12fb3)

  • minor coding style tweaks (3e7bb2a)

  • fix how actions did not work on uuid pks (791e09a)

  • add a new model with a uuid pk for more test coverage (fdad91f)

  • update requirements to be supafresh (87381d1)

  • Merge pull request #28 from texastribune/random-tweaks

Random tweaks (c6a3419)

  • add a tiny bit more test coverage (4b514e1)

  • add some more docs here in there as I try and remember what I wrote (0a27184)

  • refactor render_change_form context to map for readability

to me, it makes more sense to read map() instead of a list comprehension (4fb1e8a)

  • update database to be .db which is what I normally do nowadays

and pin developers to django 1.7 so the 'migrate' command is available (0fe4393)

  • Merge pull request #22 from texastribune/refresh-dev

Refresh dev environment (220506a)

  • bump most requirements up for some reason (535aeaf)

  • Merge remote-tracking branch 'origin/master' into refresh-dev

Conflicts: Makefile (b98c03c)

  • Merge pull request #26 from texastribune/dj17-and-testing-refresh

Django 1.7 and testing refresh (c446423)

  • remove nose as a requirement so project is simpler (1869129)

  • add coverage to the project (b4b1191)

  • fix failing django 1.4 test setup (f1369aa)

  • update django testing requirements to Django 1.7 (df48a1c)

  • remove dependency on django-nose (e15e211)

  • fix how django wanted pytz installed (b2d8226)

  • refresh readme documentation with simplifications/updates (6d7f9e9)

  • Merge pull request #20 from texastribune/django-17

Bump tox to test latest Django 1.7 (f347dd4)

  • doc when to delete this weird setting (ba6a44a)

  • get all tox tests to pass again finally (a8ff753)

  • shutup, factoryboy (d63a70e)

  • slowly migrate away from using fixtures (6bd056c)

  • get test runner to shut up for stupid django 1.7 warnings (9e8b4c9)

  • stfu, django (526e781)

  • simplify requirements and add factoryboy==2.4.1 (1b41c9b)

  • bump django 1.7 to latest rc (ca2ecfc)

  • update setup.py to not package support for tests

thanks to info I found in http://blog.schwuk.com/2014/03/19/using-tox-django-projects/ (d18dc70)

  • Merge pull request #19 from maestrofjp/master

Documented example of a custom get_object_actions() method (75f3111)

  • Fixed typo

Blurg... fixed verb tense shift. (4faadde)

  • Documented example of a custom get_object_actions() method

Includes note about that context['original'] is not available when creating / adding new objects (and object actions can't be applied in that case anyways). (1f8ba57)

v0.5.0 (2014-07-01)

Unknown

  • bump to v0.5.0 (635778c)

  • Revert "bump django 1.7 test to release candidate 1"

This reverts commit 9e56b89ce8e0f526bd956bcc21fcb3b77b2a2c09.

ugh (29d05ac)

  • bump django 1.7 test to release candidate 1 (9e56b89)

  • Merge pull request #15 from texastribune/bleeding-edge

Extend to Django 1.7b1 and Python 3.4 (2e15ba2)

  • bump to latest django 1.7 beta (e2b955c)

  • add failing test case for filtering a fake queryset

this could be fixed by undoing the get method hack, but is it even needed? (f758851)

  • add tests to make sure other queryset methods work (9118f73)

  • oops, forgot travisci stuff (10504d4)

  • add python 3.4 to tox (222b754)

  • upgrade tox==1.7.1 (bd98b03)

  • fix .get() stopped working in django 1.7 (8f1a9fc)

  • update tox to do django1.7b1 (a5c4fcc)

  • Merge new 'get_object_actions()' function (a212beb)

  • add a test to verify how get_object_actions works (c726838)

  • whitespace (ca952da)

  • Added get_object_actions() function

Can use context['original'] (the model) to return dynamic objectactions. Note that this won't affect the url setup -- modeladmin.objectactions should include all possible actions. (b50e350)

v0.4.0 (2014-02-12)

Unknown

  • bump version to v0.4.0 (8909177)

  • Merge pull request #13 from texastribune/attrs-everywhere

Add ability to set arbitrary attributes on the buttons (61e73c2)

  • add documentation of .attrs attr (9d38714)

  • make sure it renders attrs escaped (6d798d5)

  • add: incorporate custom attrs into the template (4d9e3fa)

  • update to disallow custom title attr (29bfd95)

  • 1am coding does this (f072415)

  • make sure custom attrs are partitioned off (5b3662a)

  • make sure 'href' isn't allowed to be set (47d78b8)

  • convert short_description to a title attr and add class (25831b2)

  • add a way to get a new 'attrs' attribute into the template (0894887)

  • add: linkify travisci badge (a46a311)

  • tweak the description for this package (f4b2076)

v0.3.0 (2014-01-09)

Unknown

  • bump version to v0.3.0

fixes a scope bug increases test coverage adds another way to integrate (c184d76)

  • Merge pull request #10 from crccheck/better-naked

Add a way to opt out of template helpers (402fc66)

  • rewrite readme for new usage and for clarity (4a94c1e)

  • move change_form_template attr out (7b25ff8)

  • Merge pull request #9 from crccheck/matrix

Increase testing coverage (8e5d462)

  • add testing coverage across python 2.6 to python 3.3 (8d35b57)

  • fix wrong variable name was used

luckily, variable scoping keeps it from breaking until python 3.3 (e1a836a)

  • change pypi classifier to 'beta' (99c46ba)

v0.2.0 (2013-11-09)

Unknown

  • bump version to v0.2.0 (5fe0184)

  • Merge pull request #5 from crccheck/double-duty

Allow regular actions written for the admin to also work for this package (105dc0a)

  • tweak format of limitations section of readme (5acd9d7)

  • add docs for takes_instance_or_queryset (820a216)

  • use the decorator in the example project

also fix typos in the short descriptions (35df010)

  • fix django 1.5 is special in how you get the model

fixes the error:

AttributeError: &#39;Options&#39; object has no attribute &#39;model&#39; ([`e6b5efb`](https://github.com/crccheck/django-object-actions/commit/e6b5efb6236caf8ebb5960129b7ae0e81933080b))
  • add decorator so actions work on objects or querysets (9af42e1)

  • add util for turning an instance back into a queryset (eaefa64)

  • add .env to gitignore (733efcb)

  • update docstring styles (e46a1a0)

  • Merge pull request #4 from crccheck/testing-refresh

Update testing strategy to use tox (19aede0)

  • add django16 coverage to tox (51274f2)

  • try tox + travis

This was the best reference I could find on how to do this: https://github.com/datastax/python-driver/pull/26/files (bd445b4)

  • silence warning about django urls import (037a3e5)

  • move tests under package (e261f15)

  • simplify example_project a bit (cd4d3ff)

  • test against django 1.4 and django 1.5 (2bb4a87)

  • hack in basic tox support (ee5777d)

  • update installation instructions, is pip installable (12d7dc6)

  • Merge pull request #3 from lionheart/master

Fix broken import on Django 1.6 (a4ee597)

  • fix broken import on Django 1.6

django.conf.urls.defaults is no longer a valid module. (4818175)

v0.1.1 (2013-02-26)

Unknown

  • bump version to 0.1.1 (0e4f65e)

  • add a url attr to setup (587a3d1)

  • convert readme to restructured text

thank you, pandoc! (1e5a610)

v0.1.0 (2013-02-24)

Fix

  • fix: make sure not to include pyc files (d52f802)

  • fix: actions showed up in /add/, they shouldn't (bd23a60)

Unknown

  • version bump to v0.1.0 (7f20d1f)

  • update LICENSE file to use full license text (37b2717)

  • add a test to demo we can get a template out of a tool (20d42f9)

  • add test to make sure we can return a template (81f742c)

  • add test for a tool with an intermediate/POST (41ca626)

  • Merge remote-tracking branch 'jimfunk/master' into post (13431b0)

  • Allow POST requests (83fbce6)

  • begin adding example of making a tool with an intermediate page (fd26c94)

  • oops, use just the path for the url to test (7df4ee9)

  • update make help formatting (159c8e6)

  • add travis-ci bug to readme (5ae476c)

  • update: ignore build/ directory (91faec2)

  • switch to django-extension's reset_db

this allows development in sqlite, mysql, and postgresql (a5bf8b5)

  • enable django-extensions (f312e6d)

  • update readme with more stuffffffsssss (5625d9e)

  • add a travis-ci support (4b61d5d)

  • add 'make clean' to remove distutils generated files (aaab73d)

  • Merge branch 'random-updates' (54b7c6a)

  • move docs to readme (d818495)

  • add the tool name as a data attr

make it easier to target with css or js (0e6acb8)

  • add a label property to customize the button label (4e83c00)

  • refactor the way tools are passed into the context (14fe260)

  • set the version to a non-zero minor version: 0.1.0-dev (c5fe5b9)

  • throw on some more setup.py pypi classifiers (95d1f63)

  • refactor setup.py: using find_packages is excessive (6b3c277)

  • update package authorship info to a texastribune.org email (b72d5d8)

  • Merge pull request #1 from jimfunk/master

Don't pull metadata from the application (c8c7c78)

  • Don't pull metadata from the application

It imports Django modules that require the settings module, which breaks installation. (bb65333)

  • add a test to make sure tools functions actually get called (892a838)

  • add: tools can now return httpresponse objects (e20748d)

  • update: kill hacks. oh wait, found found the right block name (b589718)

  • add help command to phony make targets (b18b20e)

  • add documentation to main utils (efce114)

  • add preliminary tests (ff84fc2)

  • update setup.py meta-data (1cd14a7)

  • add more actions! (557b204)

  • clean up the javascript hack to move the list items (deaf2e0)

  • add object actions to a new choice admin, hack stuff to make it work (16f220e)

  • add example polls app

I wonder where I got it from (f3a4ffa)

  • add an initial fixture with superuser admin/admin (2ae4284)

  • add gitignore

Apparently cp -r does not grab hidden files remove accidentally commited files (c39994b)

  • rename things around

I'll probably have to do this again, but gotta start somewhere. (ebb3db3)

  • copy in existing code from another project and wire it up (01afb91)

  • add django-admin startapp skeleton (d1aa83b)

  • initial commit (a8acd8e)

Footnotes

  1. https://docs.djangoproject.com/en/stable/ref/contrib/admin/actions/#django.contrib.admin.action (5638f99)