/[A3C]/lib/A3C/Model
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /lib/A3C/Model

View Directory Listing Directory Listing


Sticky Revision:

Revision 208 - Directory Listing
Modified Thu Jun 19 21:24:26 2008 UTC (11 years, 9 months ago) by dpavlin
another round of re-factoring

- re-organize LDAP-related pages under /ldap with new view A3C::View::LDAP
- move record multi-value support into A3C::Record
- document multi-value solution which started it all

Revision 201 - Directory Listing
Modified Wed Jun 18 13:03:40 2008 UTC (11 years, 9 months ago) by dpavlin
BUG FIX: allow *different* users to select same instance

Revision 196 - Directory Listing
Modified Tue Jun 17 21:29:04 2008 UTC (11 years, 9 months ago) by dpavlin
id is used internally by Jifty for primary key

Revision 195 - Directory Listing
Modified Tue Jun 17 21:28:28 2008 UTC (11 years, 9 months ago) by dpavlin
we don't need ajax_validates

Revision 194 - Directory Listing
Modified Tue Jun 17 21:27:54 2008 UTC (11 years, 9 months ago) by dpavlin
whitespace

Revision 191 - Directory Listing
Modified Tue Jun 17 14:28:10 2008 UTC (11 years, 9 months ago) by dpavlin
added has_sites to StrixInstace which returns collection of all StrixSite for that instance

Revision 190 - Directory Listing
Modified Tue Jun 17 14:27:00 2008 UTC (11 years, 9 months ago) by dpavlin
added StrixSite local model to hold all strix sites

Revision 186 - Directory Listing
Modified Mon Jun 16 22:56:14 2008 UTC (11 years, 9 months ago) by dpavlin
I feel good enought for this version to have it bump [0.05]

- dispatcher will automatically take first selected instance
- check if we can connect to database when adding instances to selection
- removed bunch of debug warn output
- display validation error messages in selector
- show selected instance in selector
- variable instance is now used for current user instance, and op_instace for selector
- dim layout link

Revision 174 - Directory Listing
Modified Mon Jun 16 16:48:16 2008 UTC (11 years, 9 months ago) by dpavlin
big rename of StrixSite to StrixInstance, added sitemap and layout

rename creates huge diff, which is rather unfortunate, but we needed
to get terminology stright: sites are part of strix instances

Revision 158 - Directory Listing
Modified Sun Jun 15 11:03:50 2008 UTC (11 years, 9 months ago) by dpavlin
fix model security

Revision 157 - Directory Listing
Modified Sun Jun 15 10:51:57 2008 UTC (11 years, 9 months ago) by dpavlin
create kind of copy/paste buffer which enables you to select some strix sites
and perform operations on them together (no ops implemented in this commit)

Revision 139 - Directory Listing
Modified Fri May 30 21:16:08 2008 UTC (11 years, 10 months ago) by dpavlin
Added Strix site config importer

When invoked like:

./bin/import-strix.pl

it reports something like:

INFO - 539 Strix sites imported

Not bad :-)

Revision 131 - Directory Listing
Modified Mon May 26 18:12:15 2008 UTC (11 years, 10 months ago) by dpavlin
- validate uidNumber and gitNumber
- remove debug culutter

Revision 128 - Directory Listing
Modified Mon May 26 17:51:43 2008 UTC (11 years, 10 months ago) by dpavlin
Override hrEduOrg->create to accept arrays as values and convert
them into ' <*> ' delimited strings, just like ldap sync does
and test that functionality

Revision 125 - Directory Listing
Modified Thu May 22 20:48:42 2008 UTC (11 years, 10 months ago) by dpavlin
added custom CRUD for search of organization and search while
preserving most of Jifty ajax goodnes by overriding just a few
templates from jifty's Jifty::View::Declare::CRUD

Revision 124 - Directory Listing
Modified Tue May 20 09:49:27 2008 UTC (11 years, 10 months ago) by dpavlin
tune model (add indexes, distinct)

Revision 121 - Directory Listing
Modified Thu May 15 19:18:45 2008 UTC (11 years, 10 months ago) by dpavlin
added depriciation warnings

Revision 119 - Directory Listing
Modified Thu May 15 19:07:38 2008 UTC (11 years, 10 months ago) by dpavlin
added auto-generated models with:

  ./bin/ldap2model.pl --model hrEduPerson --mixin posixAccount --mixin wtAdmin
  ./bin/ldap2model.pl --model hrEduOrg --mixin dcObject --mixin posixAccount


Revision 94 - Directory Listing
Modified Wed Apr 30 17:23:46 2008 UTC (11 years, 11 months ago) by dpavlin
use vocabulary where applicable (with fixes for known bugs)

Revision 80 - Directory Listing
Modified Fri Apr 11 23:24:59 2008 UTC (11 years, 11 months ago) by dpavlin
added Town model with data

Revision 77 - Directory Listing
Modified Fri Apr 11 22:02:09 2008 UTC (11 years, 11 months ago) by dpavlin
added few columns, fixed labels

Revision 73 - Directory Listing
Modified Fri Apr 11 15:49:50 2008 UTC (11 years, 11 months ago) by dpavlin
use direct accessors instead of __value which fixes encoding problems

Revision 70 - Directory Listing
Modified Thu Apr 10 20:26:45 2008 UTC (11 years, 11 months ago) by dpavlin
added generic currnet_user_can implementation for models so that logged
users can actually see data :-)

Revision 69 - Directory Listing
Modified Thu Apr 10 20:08:01 2008 UTC (11 years, 11 months ago) by dpavlin
replaced Jifty::Plugin::AuthLDAPLogin with internal Jifty::Plugin::Authentication::Ldap

Revision 66 - Directory Listing
Modified Wed Apr 9 23:14:47 2008 UTC (11 years, 11 months ago) by dpavlin
rename User model to Person

Revision 58 - Directory Listing
Modified Tue Apr 1 19:59:50 2008 UTC (12 years ago) by dpavlin
tweaks in message and organization name

Revision 56 - Directory Listing
Modified Tue Apr 1 19:44:02 2008 UTC (12 years ago) by dpavlin
tune human-readable names

Revision 52 - Directory Listing
Modified Tue Apr 1 15:53:03 2008 UTC (12 years ago) by dpavlin
better human-readable organization name which include also name and location

Revision 45 - Directory Listing
Modified Sun Mar 30 22:29:42 2008 UTC (12 years ago) by dpavlin
- added all fields from ldap to models
- models now have informative name accessor

Revision 42 - Directory Listing
Modified Sun Mar 30 16:58:21 2008 UTC (12 years ago) by dpavlin
- move all LDAP-related logic in A3C::LDAP
- remove logic to link User and Organization
- ldap search base is now configurable in config.yml

Revision 38 - Directory Listing
Modified Sun Mar 30 13:32:12 2008 UTC (12 years ago) by dpavlin
pod fix

Revision 35 - Directory Listing
Modified Tue Mar 18 19:58:34 2008 UTC (12 years ago) by dpavlin
validate JMBG (REAL JMBGs :-)

Revision 33 - Directory Listing
Modified Tue Mar 18 19:22:30 2008 UTC (12 years ago) by dpavlin
ignore case for none date (seen none and NONE)

Revision 32 - Directory Listing
Modified Tue Mar 18 19:03:53 2008 UTC (12 years ago) by dpavlin
- move organisations in own model
- more general ldap2model sub will try to fill model with ldap entry data

Revision 29 - Directory Listing
Modified Tue Mar 18 16:15:16 2008 UTC (12 years ago) by dpavlin
give up on virtual columns (for now)


Revision 27 - Directory Listing
Modified Mon Mar 17 21:30:59 2008 UTC (12 years ago) by dpavlin
thanks to zostay on #jifty I know know that correct syntax is
"is virtual" instead of "type is 'virtual'"


Revision 25 - Directory Listing
Modified Mon Mar 17 13:06:40 2008 UTC (12 years ago) by dpavlin
ignore objectClass by popular demand (mvela)


Revision 23 - Directory Listing
Modified Mon Mar 17 13:02:50 2008 UTC (12 years ago) by dpavlin
added few more columns to match ldap


Revision 21 - Directory Listing
Modified Thu Mar 13 19:51:45 2008 UTC (12 years ago) by dpavlin
fix cn label


Revision 18 - Directory Listing
Modified Thu Mar 13 19:26:56 2008 UTC (12 years ago) by dpavlin
remove Jifty::Plugin::User::Mixin::Model::User and
implement it ourselfs, with few tweaks for other
mixins (email* accessors)


Revision 16 - Directory Listing
Modified Thu Mar 13 18:07:28 2008 UTC (12 years ago) by dpavlin
- added uid, hrEduPersonUniqueID columns
- try to map LDAP mail into email column
- use Jifty::DBI::Filter::Date to get DateTime object from model
- hrEduPersonExpireDate support NONE as 2042-12-30


Revision 15 - Directory Listing
Modified Thu Mar 13 17:33:45 2008 UTC (12 years ago) by dpavlin
work a bit more on model: valid syntax produce dropdowns, some reorder and sane default values

Revision 14 - Directory Listing
Modified Thu Mar 13 16:38:33 2008 UTC (12 years ago) by dpavlin
encoding of file is utf-8, so tell it to perl


Revision 12 - Directory Listing
Modified Thu Mar 13 16:34:47 2008 UTC (12 years ago) by dpavlin
render addresses as textarea

Revision 11 - Directory Listing
Modified Thu Mar 13 14:22:53 2008 UTC (12 years ago) by dpavlin
Copied from: lib/CAdmin/Model revision 10
rename application from CAdmin -> A3C, version bump [0.02]


Revision 10 - Directory Listing
Modified Thu Mar 13 14:08:41 2008 UTC (12 years ago) by dpavlin
Original Path: lib/CAdmin/Model
remove mandatory from hrEduPersonUniqueNumber and mark it as bug


Revision 7 - Directory Listing
Modified Thu Mar 13 13:12:46 2008 UTC (12 years ago) by dpavlin
Original Path: lib/CAdmin/Model
first try at script which imports data from ldap


Revision 4 - Directory Listing
Modified Mon Mar 10 00:19:52 2008 UTC (12 years, 1 month ago) by dpavlin
Original Path: lib/CAdmin/Model
crude user model

Revision 2 - Directory Listing
Modified Sun Mar 9 22:39:58 2008 UTC (12 years, 1 month ago) by dpavlin
Original Path: lib/CAdmin/Model
jifty model --name User

Revision 1 - Directory Listing
Added Sun Mar 9 01:42:55 2008 UTC (12 years, 1 month ago) by dpavlin
Original Path: lib/CAdmin/Model
create skeleton of application with

$ jifty app --name CAdmin


  ViewVC Help
Powered by ViewVC 1.1.26