Colin Kuskie
|
b323f74121
|
Update copyright notice
|
2011-12-28 11:30:38 -08:00 |
|
Doug Bell
|
b1660fe76b
|
document that tableKey is not allowed to have fieldType
|
2011-06-23 13:07:19 -05:00 |
|
Doug Bell
|
6dfeb6ef1a
|
add _new flag to Crud objects
This flag allows you to know when an object has been newly-created, so you
can check in the BUILD sub and perform appropriate actions.
|
2011-06-13 14:47:49 -05:00 |
|
Doug Bell
|
b70f253e74
|
finish migrating Crud to FormBuilder
|
2011-02-25 15:45:38 -06:00 |
|
Doug Bell
|
033a1b7793
|
migrade Survey editTest to FormBuilder
|
2011-02-10 15:50:51 -06:00 |
|
Colin Kuskie
|
0983362204
|
Fix WebGUI::Crud to autowrite objects when created.
|
2010-11-28 22:01:26 -08:00 |
|
Colin Kuskie
|
fe3ff23ccf
|
Sequence key is optional.
|
2010-11-10 13:12:36 -08:00 |
|
Colin Kuskie
|
7a2745e792
|
Provide a way for Crud classes to autogenerate their forms.
|
2010-11-10 11:20:41 -08:00 |
|
Colin Kuskie
|
ba73713347
|
Update POD. Remove usage of ->get.
|
2010-11-05 13:22:43 -07:00 |
|
Colin Kuskie
|
07cde4d696
|
rework crud_getProperties. Update tests.
|
2010-11-05 11:03:45 -07:00 |
|
Colin Kuskie
|
447fe27d5f
|
Add the sequenceNumber property to Crud, and serialize it to the db. Tweak some tests for new code.
|
2010-11-05 08:17:06 -07:00 |
|
Colin Kuskie
|
213a153b58
|
Can't autoincrement methods. Write test collateral to database if you want to read it back later.
|
2010-11-05 08:06:51 -07:00 |
|
Colin Kuskie
|
87f49191db
|
Fix instanciating an object from the database. Write core Crud properties to the db.
|
2010-11-04 17:13:54 -07:00 |
|
Colin Kuskie
|
2e79a4b52f
|
Remove code autogeneration for table,sequence keys.
|
2010-11-04 16:48:12 -07:00 |
|
Colin Kuskie
|
b4abac9a40
|
Add defaults for lastUpdated, dateCreated. Crud data now has to be manually written to the db.
|
2010-11-04 15:11:04 -07:00 |
|
Colin Kuskie
|
6686860b08
|
Remove default tableKey and tableName from Crud. Refactor t/Crud.t to have a test package. Add dateCreated. Rework crud_updateTable.
|
2010-11-04 15:01:09 -07:00 |
|
Colin Kuskie
|
44c98cf906
|
Remove more definition accessor work. Fix property access.
|
2010-11-03 21:40:55 -07:00 |
|
Colin Kuskie
|
5c494955c0
|
Accessing meta->_method_ is a mutator.
|
2010-11-02 18:26:21 -07:00 |
|
Colin Kuskie
|
18bbebf0b8
|
Fix syntax errors, and old Class::InsideOut data access.
|
2010-10-22 16:19:05 -07:00 |
|
Colin Kuskie
|
fd98f4acc4
|
Make a write method, similar to Asset's.
|
2010-10-22 15:45:09 -07:00 |
|
Colin Kuskie
|
23e8631de9
|
Remove get from Crud. Replace create with BUILDARGS code. Add lastUpdated and sequenceNumber attributes to the Crud core.
|
2010-10-22 11:44:12 -07:00 |
|
Colin Kuskie
|
5c7e000373
|
Convert new to Moose BUILDARGS wrapper.
|
2010-10-21 16:28:16 -07:00 |
|
Colin Kuskie
|
95b6af9f72
|
Replace crud_getProperties with meta->get_all_property_list. This might be needed to be made into a hash...
|
2010-10-21 11:48:47 -07:00 |
|
Colin Kuskie
|
e38d2eaa94
|
Fix the compatibility methods that were broken by the last commit.
|
2010-10-21 10:50:23 -07:00 |
|
Colin Kuskie
|
87c183e134
|
Change crud_get{Sequence,Table}Key and crud_getTableName methods to use Moose's meta instead.
|
2010-10-21 10:47:14 -07:00 |
|
Colin Kuskie
|
03a6a624da
|
Remove Crud object code from the Definition, for parity with other Definition packages.
|
2010-10-21 09:45:48 -07:00 |
|
Graham Knop
|
ed04b99872
|
remove WebGUI::Utility
|
2010-09-07 13:18:49 -05:00 |
|
Graham Knop
|
6aa26c2e44
|
remove WebGUI::Utility::isIn
|
2010-09-07 12:33:15 -05:00 |
|
Patrick Donelan
|
f9c917e426
|
Fixes #10660 Crud doesn't like 0
|
2009-07-18 03:03:22 +00:00 |
|
Colin Kuskie
|
d927336979
|
Add missing POD, or fix POD typos which caused coverage to be low.
|
2009-07-04 17:16:36 +00:00 |
|
Stephen Opal
|
13a018cb4c
|
Add a method which will "do the right thing" when the existence of the desired Crud table may be in question.
|
2009-06-22 14:16:47 +00:00 |
|
Colin Kuskie
|
22fc77dd41
|
Fix multiple Crud issues with serialization and text/blob field handling
|
2009-05-06 20:50:12 +00:00 |
|
Doug Bell
|
dae142cd67
|
added an example for clarity
|
2009-04-16 07:51:22 +00:00 |
|
Graham Knop
|
24da723629
|
updating copyright year
|
2009-02-20 23:47:30 +00:00 |
|
Graham Knop
|
e5ede77c29
|
use char instead of varchar
|
2009-02-18 03:18:20 +00:00 |
|
JT Smith
|
18b26f8bc0
|
- fixed: a bug in Crud where keys being updated would cause a crash
|
2008-11-26 17:20:02 +00:00 |
|
JT Smith
|
227e9e7dac
|
better handling of defaults
|
2008-11-17 21:32:37 +00:00 |
|
JT Smith
|
d54aad1220
|
documented the deletion of elements from the properties hash ref in update()
|
2008-11-04 16:03:53 +00:00 |
|
JT Smith
|
7fc7dd7649
|
Crud create() for specific id (#9035)
|
2008-11-04 15:44:34 +00:00 |
|
JT Smith
|
3f0a3eb527
|
allow updates via form post
|
2008-11-03 21:29:13 +00:00 |
|
JT Smith
|
9c81262d07
|
some minor bug fixes with serialization
|
2008-10-30 16:29:37 +00:00 |
|
JT Smith
|
67c0fd3dfb
|
- Added query keys to WebGUI::Crud.
- WebGUI::Crud can now automatically resolve differences between its
definition and the table schema.
|
2008-10-16 23:44:48 +00:00 |
|
Colin Kuskie
|
6bf9ded250
|
fix Crud-dy whitespace
|
2008-09-26 15:51:28 +00:00 |
|
JT Smith
|
fc227a2a59
|
added a safer faster join using option
|
2008-09-24 15:56:51 +00:00 |
|
JT Smith
|
b2946d7650
|
added join support
|
2008-09-24 15:02:25 +00:00 |
|
JT Smith
|
14c0471946
|
added complex order by controls
|
2008-09-23 15:30:06 +00:00 |
|
Colin Kuskie
|
1a908da06b
|
fix POD spacing issues with Crud
|
2008-09-22 16:51:02 +00:00 |
|
JT Smith
|
f2064a6bf8
|
added constraint based searches to getAll() methods
|
2008-09-21 22:38:22 +00:00 |
|
JT Smith
|
0ed1b9a488
|
can instanciate with an object that has a session method as well as a session object
|
2008-09-21 17:55:14 +00:00 |
|
JT Smith
|
08aa7b4208
|
Added more POD and updated to allow dynamic creation of definitions.
|
2008-09-21 17:20:28 +00:00 |
|