Log of /contributions/modules/tablemanager/tablemanager.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.91 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Apr 20 17:39:29 2008 UTC
(19 months, 1 week ago)
by
pobster
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.90: +15 -2 lines
Diff to
previous 1.90
Quite a few structural changes, just makes more sense to me when programming.
Fixed a couple of bugs when you try to do things without actually having any tables present.
Did a little more to the css module.
Fixed the watchdog links to the old /tablemanager path (now /tables/nn) - might have to rethink this as the list page is now an optional module. Am thinking it'd be an idea to redirect to the admin screen with a GET tid in the url to display an administrative version of the table?
Revision
1.88.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 24 15:11:05 2008 UTC
(20 months ago)
by
pobster
Branch:
DRUPAL-6--1
Changes since
1.88.2.4: +1 -1 lines
Diff to
previous 1.88.2.4
, to
branch point 1.88
Couple of fixes;
Stupid oversight with admin screen not displaying when you only have one table.
Table creation screen bugs out as default sort column check missing '_'
Table export screen shows 'Create Table' rather than export screen when there aren't any tables created yet.
Added css stuff for admin screen.
Everything else still broken... Sorry...
Revision
1.88.2.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Mar 23 22:04:21 2008 UTC
(20 months ago)
by
pobster
Branch:
DRUPAL-6--1
Changes since
1.88.2.3: +168 -127 lines
Diff to
previous 1.88.2.3
, to
branch point 1.88
Added a couple of things, multiple delete checkboxes, better administrative function, replaced display_1_row with display_rows (coping with multiple deletion).
access permissions still broken.
tablemanager_display function needs updating.
still not written table edit function.
as dev version, possibly now have functions which aren't even being called... Not near stable release...
Revision
1.88.2.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 21 00:21:54 2008 UTC
(20 months, 1 week ago)
by
pobster
Branch:
DRUPAL-6--1
Changes since
1.88.2.1: +52 -44 lines
Diff to
previous 1.88.2.1
, to
branch point 1.88
Didn't do much today, just messing around with stuff (putting off getting the table edit function done!)
Access still broken
Problem with csv file uploading
Csv file exporting needs Drupal-izing
No table edit function yet
Other stuff pending...
Revision
1.89 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Mar 20 00:35:29 2008 UTC
(20 months, 1 week ago)
by
pobster
Branch:
MAIN
Changes since
1.88: +42 -7 lines
Diff to
previous 1.88
Initial commit of Tablemanager 1.x-dev for Drupal 6
BROKEN access permissions
MISSING table edit function
Fairly untested for normal users...
USE AT YOUR OWN RISK!
Revision
1.88 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Mar 19 11:44:45 2008 UTC
(20 months, 1 week ago)
by
pobster
Branch:
MAIN
Branch point for:
DRUPAL-6--1
Changes since
1.87: +413 -2126 lines
Diff to
previous 1.87
Initial commit of Tablemanager 1.x-dev for Drupal 6
BROKEN access permissions
MISSING CSV functions
MISSING table edit function
Fairly untested for normal users...
USE AT YOUR OWN RISK!
Revision
1.83 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 5 08:03:33 2007 UTC
(2 years, 8 months ago)
by
pobster
Branch:
MAIN
CVS Tags:
DRUPAL-5--1-0
Branch point for:
DRUPAL-5
Changes since
1.82: +2049 -1230 lines
Diff to
previous 1.82
Bowing to peer pressure and simply updating the 4.7 version to 5.0. Doesn't completely work as you can't create new tables - everything else should work though.
Revision
1.82 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Nov 28 18:50:58 2006 UTC
(3 years ago)
by
pobster
Branch:
MAIN
Changes since
1.81: +103 -33 lines
Diff to
previous 1.81
Small amount of progression with hook_form - it still doesn't do anything useful yet mind!
Have noticed the table export is now broken... One step at a time...
Revision
1.81 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Nov 27 14:30:17 2006 UTC
(3 years ago)
by
pobster
Branch:
MAIN
Changes since
1.80: +82 -17 lines
Diff to
previous 1.80
Nowhere near finished, but I am for today - so commited updates to create table form. It now at least allows you to edit a header which already exists, although has a bug which sets the nodes UID to 0?
Revision
1.77 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 23 10:59:33 2006 UTC
(3 years ago)
by
pobster
Branch:
MAIN
Changes since
1.76: +81 -53 lines
Diff to
previous 1.76
Successfully avoided working on the create tables form... Fixed a load of dead links where I'd forgotten that tids don't necessarily reflect nids...
Revision
1.75 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 22 17:24:29 2006 UTC
(3 years ago)
by
pobster
Branch:
MAIN
Changes since
1.74: +27 -37 lines
Diff to
previous 1.74
Oops, forgot that it's dead easy to assign hook_delete - it's a relief to be able to get rid of so many messy functions and assign them to hooks!
Really need to start on hook_form for table creating/ editing... That's the next job I think, can tidy everything else up afterwards
Revision
1.74 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 22 16:36:14 2006 UTC
(3 years ago)
by
pobster
Branch:
MAIN
Changes since
1.73: +218 -66 lines
Diff to
previous 1.73
Finished CSV import function - the new node creation routine is probably in the wrong place but for now this is fine for development purposes.
Removed 'table entry' as a content type, makes more sense to just use 'table' as the node being created and not every row of its entries.
The table entries are currently being displayed from hook_node_info which I don't like... Expect to see this change soon...
Added simple hook_load, hook_view functions - should work fine I guess?
Revision
1.69 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 28 11:53:25 2006 UTC
(3 years, 4 months ago)
by
pobster
Branch:
MAIN
Changes since
1.68: +46 -16 lines
Diff to
previous 1.68
FIXED bug where create content permission didn't show link
ADDED CSV feature - you can now add entries to an existing table
Finally decided to commit 'elements' feature to pager in main hook in case anyone wants to display more than one table on a page - been putting it off because I don't like how messy it makes the url look
Changed some help text and comments here and there...
Revision
1.65 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jul 24 15:10:06 2006 UTC
(3 years, 4 months ago)
by
pobster
Branch:
MAIN
Changes since
1.64: +21 -10 lines
Diff to
previous 1.64
FIXED - http://drupal.org/node/72464
Added 'no cache' to Drupal filter, but it doesn't fix issues...
Made start/ end function case insensitive - makes more sense now
Added 'No table data available' message when start/ end function returns nothing
In main display function now if you pass anything other than an array, it gets turned into a blank array () rather than an error - http://drupal.org/node/73747 (requested to pass 'null' instead of array() - so same thing!)
Revision
1.62 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jul 22 21:30:59 2006 UTC
(3 years, 4 months ago)
by
pobster
Branch:
MAIN
Changes since
1.61: +19 -12 lines
Diff to
previous 1.61
I *must* pay less attention to user submitted fixes... They're usually more broken than my code in the first place...
Revision
1.61 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 21 22:04:50 2006 UTC
(3 years, 4 months ago)
by
pobster
Branch:
MAIN
Changes since
1.60: +86 -91 lines
Diff to
previous 1.60
Added 'minor' Drupal filter - only supports tid and pagination.
Fixed broken start/end function, thanks to brmassa for the patch! (even though I had to fix your patch too!)
Removed redundant t()s as well, thanks to brmassa http://drupal.org/node/73747
Revision
1.59 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jul 8 07:52:32 2006 UTC
(3 years, 4 months ago)
by
pobster
Branch:
MAIN
Changes since
1.58: +176 -80 lines
Diff to
previous 1.58
FIX for http://drupal.org/node/72395
Forced the sort function respect dates
Added a 'view all' function to the list page (its a work in progress)
FIX for http://drupal.org/node/71938
Added new permission ('administer/ create own tables') might not work entirely as it should, needs testing...
Commented out 'date_validate' as it appears to be done automatically? Didn't realise that... I'm sure it didn't before? Maybe I've changed something which has affected it?
FIXED issue with column spanning and made it active
Revision
1.1.2.18.2.8.2.8
Sat Jul 1 12:01:38 2006 UTC
(3 years, 4 months ago)
by
pobster
Changes since
1.1.2.18.2.8.2.7: +0 -0 lines
FILE REMOVED
*** empty log message ***
Revision
1.55.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 23 20:14:40 2006 UTC
(3 years, 5 months ago)
by
pobster
Changes since
1.55: +242 -344 lines
Diff to
previous 1.55
, to
next main 1.91
*MAJOR* UPDATE - although no real functionality changes... yet... uncomment lines that test for "||" to enable column spanning - only use if you don't want to use sorting as it messes it up...
Revision
1.55 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 21 17:05:20 2006 UTC
(3 years, 5 months ago)
by
pobster
Branch:
MAIN
Changes since
1.54: +76 -23 lines
Diff to
previous 1.54
Updated help to show new features
Added multi dimensional sorting - http://drupal.org/node/68368
Removed pager_query from tablemanager_display and tablemanager_admin
Allowed date feature to be run on any column now seemed silly to restrict it to dates only... (not finished yet)
Revision
1.53 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 21 09:51:49 2006 UTC
(3 years, 5 months ago)
by
pobster
Branch:
MAIN
Changes since
1.52: +260 -38 lines
Diff to
previous 1.52
Finally added a working column add function
FIXED bug where if bar chart entry was empty it displayed the default sized png file
Revision
1.47 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jun 19 12:37:29 2006 UTC
(3 years, 5 months ago)
by
pobster
Branch:
MAIN
Changes since
1.46: +8 -12 lines
Diff to
previous 1.46
Just found yet another permissions problem - FIXED problem where you couldn't create content unless you gave permissions for last table to be 'createable' this was due to not understanding properly how hook_access works when you're not using the node system - ie. it doesn't work...
Revision
1.45 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jun 19 08:19:46 2006 UTC
(3 years, 5 months ago)
by
pobster
Branch:
MAIN
Changes since
1.44: +43 -28 lines
Diff to
previous 1.44
Thought permissions were easier to set... FIXED (I hope...) problem where only the last table had proper permissions set to it for users to edit their own/ any table entries
Revision
1.42 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 16 20:28:02 2006 UTC
(3 years, 5 months ago)
by
pobster
Branch:
MAIN
Changes since
1.41: +15 -11 lines
Diff to
previous 1.41
checking if $a is an array to prevent errors in the watchdog
changed csv import to now create tables with 'data' and 'type' fields
added permissions to role to be able to edit any row in a table - possibly doesn't work as is untested...
Revision
1.37 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 6 18:06:11 2006 UTC
(3 years, 5 months ago)
by
pobster
Branch:
MAIN
Changes since
1.36: +1279 -1277 lines
Diff to
previous 1.36
I *think* I've now done everything I ever wanted to do with this module bar finishing the tableedit function and implementing the column add/ remove features - this is just a tidy up release tbh
Revision
1.34 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 2 21:26:04 2006 UTC
(3 years, 5 months ago)
by
pobster
Branch:
MAIN
Changes since
1.33: +362 -285 lines
Diff to
previous 1.33
This doesn't actually work properly yet... Hence staying CVS... Idea is good though... I'll finish it when I get some time
Revision
1.33 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat May 27 20:16:38 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.32: +5 -1 lines
Diff to
previous 1.32
Oops, should have completely rewritten for the new version - missed this; permissioned normal users post to variable set table id rather than the one they choose - now FIXED
Revision
1.30 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 24 12:26:52 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.29: +23 -9 lines
Diff to
previous 1.29
Changed how the list screen is presented slightly (to stop double displaying of table names/ numbers)
Added check for files in the /misc folder
Added feature which dynamicly adds new bar chart colours to the list when they're present in the /misc folder
Revision
1.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 23 12:40:25 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.27: +53 -21 lines
Diff to
previous 1.27
Noticed that my 'backpage' code wasn't working properly after validation fails, works now I think...?
Revision
1.27 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 23 12:08:37 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.26: +181 -31 lines
Diff to
previous 1.26
No idea whether it works or not, implemented high and low values for creating bar charts - requires update to tablemanager misc db to varchar(255)
Revision
1.26 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon May 22 22:10:11 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.25: +10 -4 lines
Diff to
previous 1.25
Separated standard and bar chart css settings (as bar charts look better with and standard look better without...)
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri May 19 14:12:08 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.21: +34 -4 lines
Diff to
previous 1.21
Added 'menu_rebuild' so that new/ edited/ deleted tables are shown as they should be in the menu
Added 'description' to tablemanager db so that you can have some instructions present when your users enter their rows
Revision
1.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri May 19 12:53:04 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.20: +133 -63 lines
Diff to
previous 1.20
Changed validation to simply insert checked data rather than give it a form_error
Fixed typo in tablelist
Added form_filter to various forms
Added ability to let users enter and edit/ delete table entries with the correct permissions
Added validation to CSV import (finally!)
Improved security with access denied messages for invalid actions
Revision
1.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 18 14:53:48 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.19: +35 -4 lines
Diff to
previous 1.19
Upgraded display function to now display edit/ delete links if admin requires them.
Updated README to show instructions for above feature.
Revision
1.19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 18 12:52:23 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.18: +11 -5 lines
Diff to
previous 1.18
Initial try at adding filter_form... Doesn't pass validation yet hence is staying in CVS until I can find a way round it...
Added uid field to tables and entries for (possible) upcoming feature.
Revision
1.18 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon May 15 18:10:50 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.17: +9 -7 lines
Diff to
previous 1.17
Last (hopefully) bracket in wrong place - FIXED
Plus... http://drupal.org/node/63662 which was classified as fixed previously, is now completely back as it was in the first place - it makes a whole lot more sense doing it this way than just making it compatible with how it was before
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 10 14:47:49 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.6: +49 -42 lines
Diff to
previous 1.6
Okay paging and sorting now seems to be working without filling the logs up with errors
I would still like to rewrite these functions though I'm not entirely happy with how they work
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 10 08:43:30 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.5: +14 -13 lines
Diff to
previous 1.5
Fixed issue with validation failing when creating new tables
Simplified validation as it was getting stupidly complicated
Fixed issue with editing table header function showing incorrect sorted checkboxes
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 9 21:42:14 2006 UTC
(3 years, 6 months ago)
by
pobster
Branch:
MAIN
Changes since
1.1: +1048 -0 lines
Diff to
previous 1.1
Initial commit of 4.7 version - DOES NOT WORK PROPERLY!!! Will fill your logs up with errors because the pager is incorrectly called
Revision
1.1.2.18.2.8.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Nov 29 14:45:43 2005 UTC
(4 years ago)
by
pobster
Changes since
1.1.2.18.2.8: +40 -16 lines
Diff to
previous 1.1.2.18.2.8
Solved issue wiith paginating and sorting... Its messy... And it uses more processing power than I'd have liked... But it works and I'm stuck with doing it this way due to serializing the arrays and sticking them into the db. Would rewrite the whole modue to get around this issue, but someone is already looking into making tablemanager v2 so I'll leave it to them!!
Revision
1.1.2.18.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 27 19:41:51 2005 UTC
(4 years ago)
by
pobster
Changes since
1.1.2.18: +175 -32 lines
Diff to
previous 1.1.2.18
Added table sorting - think it'll work okay, apologies for messy code. Works off altering the HEADER for each table.
Also added 'input filter' selection for adding and editing rows.
Updated README to show changes in usability.
Revision
1.1.2.18 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 20 11:01:24 2005 UTC
(4 years ago)
by
pobster
Changes since
1.1.2.17: +4 -4 lines
Diff to
previous 1.1.2.17
, to
branch point 1.1
, to
next main 1.91
USE THIS VERSION NOT THE LAST - Small change to stop admin screen ever losing track of variable 'tablemanager_table' - mistake to not include this in the first place...
Entered code in wrong place and forgot NOT symbol in query... It's too early, brain not in gear...
Revision
1.1.2.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 17 18:30:05 2005 UTC
(4 years ago)
by
pobster
Changes since
1.1.2.15: +83 -20 lines
Diff to
previous 1.1.2.15
, to
branch point 1.1
Completed validation (although may still add filter_form for different type)
Implemented a table sorting function which WORKS! ...unfortunately only on tables which show ALL results else it sorts the paginated parts as separate tables (because the sort is based on whats loaded into the array and not from the mysql query) I will look into this pronto as I like the idea of allowing sorting on columns.
You can only test the sorting function if you manually add a serialized header to the database with the correct field/ sort array tags (according to drupaldocs)
Updated README to show new goals with module
Updated mysql file as header entry in database is much too long to be a VARCHAR
Revision
1.1.2.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Nov 14 18:09:57 2005 UTC
(4 years ago)
by
pobster
Changes since
1.1.2.7: +32 -16 lines
Diff to
previous 1.1.2.7
, to
branch point 1.1
Small code alterations to divert all db entries through a validation function... which I haven't written yet... Also, removed a 'to do' from the list in the README file.
Revision
1.1.2.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 13 18:28:19 2005 UTC
(4 years ago)
by
pobster
Changes since
1.1.2.3: +18 -1 lines
Diff to
previous 1.1.2.3
, to
branch point 1.1
Renamed form group from "Something" to "Table Operations" - meant to do that before I commited first release and forgot!
Added catches to code to make it obvious when trying to display wrong table - now displays "Invalid Table ID" instead of "No table data available"
Revision
1.1
Sat Nov 12 16:18:32 2005 UTC
(4 years ago)
by
pobster
Branch:
MAIN
FILE REMOVED
file tablemanager.module was initially added on branch DRUPAL-4-6.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.