1. Luke Plant
  2. django

Branches

attic/full-history

View source
attic/full-history
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
uber...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Move full-history into attic.
uber...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Move full-history branch into attic.
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] svnmerge: merging in revision(s) 4816,4818-4823,4825-4835,4837,4844-4850,4856-4868 from "http://code.djangoproject.com/svn/django/trunk"
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Merge from trunk revisions 4733-4812 (with svnmerge)
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added a few propreties to templates to display by default.
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Temporarily commented-out a few function calls (preparing for rewrite)
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] Refs #3428 -- Removed 'protocol=0' parameter
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * A little *.pyc clean-up
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * svnmerge block revisions attribute change
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Removed 'signal_name' attribute from signal from django/db/models/ * Added two wrapper functions for save_new_revision(): save_new_revision_save() and save_new_revision_delete() * Added 'signal_name' variable to save_new_revision() * Changed 'signal_name' variable handling in save_new_revision() * Fixed dispatcher.connects to reflect previous three changes
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Changed the template to include CHANGE_TYPE
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history]: Merged revisions 3642-4724 via svnmerge from http://code.djangoproject.com/svn/django/trunk
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] Initialized merge tracking via "svnmerge" with revisions "3641" from http://code.djangoproject.com/svn/django/trunk
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] - reverting bad merge from trunk
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Merge from trunk revision 4722
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Fixed 'signal_name' error # Somehow this modification got run over by trunk merge. # I'm trying to find a better solution, but for now this will do. # Thanks to David Cramer for error report.
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Fixed a little logical error with kwargs
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Trunk merge from [3635]
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added a filter for specific ID * Changed "offset" and "revision" to **kwargs arguments
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added some generic-wannabe tables
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Changed the ChangeLog functions to correspond to new "managed" ones * First attempt to print generic view of values
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added ChangeLogManager + objects = ChangeLogManager() to ChangeLog class * Moved API funtions to ChangeLogManager * Fixed the problem with filtering by "content_type" -> now uses object's content_type.id * Commented out Some debug statements
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Deleted api.py because everything is in models.py
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added CHANGE_TYPES choices * Added "change_type" field * Changed "db_table" to "django_history_log" * Changed doc entry for _import_models() * Fixed non-working saving of "Update" ChangeLog * Other minor stuff
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Removed save_last_revision() * signal.pre_delete now uses save_new_revision() * Added "signal_name" check and "pre_delete" processingto save_new_revision() * Fixed BUG from [3588]
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added a "signal_name" argument to "pre_save" and "pre_delete" signals (I use it so I can use single function to catch both signals and still do different things with them)
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added save_last_revision() for when the record is deleted. * Renamed _get_enabled_models() to _import_models() * Moved the "import" stuff to _import_models() so it can be used everywhere * Added "pre-delete signal" connect * BUG: save_new_revision() stopped working (EOFError on line 42 - get_object() function).
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] Trunk merge from [3577]
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added __str__ + changed Admin list_display to use it * Added extra checking for History-enabled * Added extra checking of instance "type" (new/update) - Fixed saving * Using signals.pre_save again (if instance is "new" then it uses ID=0)
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] Trunk merge from [3517]
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * comment out some testing prints
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * Added some error checking in get_version() and save_new_revision() * Changed signal from signals.pre_save to signals.post_save (the instance doesn't have id otherwise) * Added logging for new objects too * Added default comments (Update|New) * Removed instance_name
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] Removed reference to get_all_models()
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * get_all_models() rewrite -> _get_enabled_models() * save_new_revision(): + works for any object + imports needed classes on-the-fly - BUG: NOT WORKING RIGHT!!! (loops because it wants to track itself) * dispatcher.connect gets connection from Any model
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history]: Trunk merge from [3421]
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] Deleted the binary files
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] Changed templates to correspond ContentType-ified models.py
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] list() cleaned up (moved to models.py)
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[full-history] * ChangeLog now uses ContentTypes * added "commet" field * fixed get_version() default "offset" * more generic list_history() * added get_all_models() function (work-in-progress) * removed _get_first_revision()
utr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
First code commit. Some of it works, some doesn't. Some of the changes are not included (soon).
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Created full-history for Uros Trebec's SoC project.