/[A3C]
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 /

View Directory Listing Directory Listing


Sticky Revision:

Revision 100 - Directory Listing
Modified Wed Apr 30 23:45:08 2008 UTC (14 years, 5 months ago) by dpavlin
ignore some files we don't care about

Revision 99 - Directory Listing
Modified Wed Apr 30 23:44:43 2008 UTC (14 years, 5 months ago) by dpavlin
create Jifty model skeleton from LDAP schema

- create all attributes from LDAP
- generate accessor for aliases in LDAP

Revision 98 - Directory Listing
Modified Wed Apr 30 21:27:54 2008 UTC (14 years, 5 months ago) by dpavlin
minimal LDAP schema to Jifty model generator

We are not using dynamic class generation (a.k.a. Jifty magic)
here because models generated this way will probably have to be
manually edited anyway.

Revision 97 - Directory Listing
Modified Wed Apr 30 21:26:14 2008 UTC (14 years, 5 months ago) by dpavlin
download schema from OpenLDAP, not ldif since Net::LDAP::Schema has problems with upstream ldif

Revision 96 - Directory Listing
Modified Wed Apr 30 20:29:15 2008 UTC (14 years, 5 months ago) by dpavlin
make combined ldif schema

Revision 95 - Directory Listing
Modified Wed Apr 30 20:28:24 2008 UTC (14 years, 5 months ago) by dpavlin
http://directory.fedoraproject.org/download/ol-schema-migrate.pl

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

Revision 93 - Directory Listing
Modified Wed Apr 30 17:23:21 2008 UTC (14 years, 5 months ago) by dpavlin
support usage in array context so we can add arbitrary data around original one

Revision 92 - Directory Listing
Modified Wed Apr 30 16:16:20 2008 UTC (14 years, 5 months ago) by dpavlin
test all available vocabularies, missing 008 is reported as bug to upstream AAI team

Revision 91 - Directory Listing
Modified Wed Apr 30 16:15:25 2008 UTC (14 years, 5 months ago) by dpavlin
if key and value is different, prepare { display => 'xx', value => 'yy' }

Revision 90 - Directory Listing
Modified Wed Apr 30 16:02:10 2008 UTC (14 years, 5 months ago) by dpavlin
connecting to LDAP on startup is all wrong

Revision 89 - Directory Listing
Modified Tue Apr 29 21:43:36 2008 UTC (14 years, 5 months ago) by dpavlin
move away from XML::Simple to XML::Rule so we can preserve original order

Allthough, a bit more chatty that XML::Simple implementation, this one has
much better ratio of dark magic vs short notation, IMHO

Revision 88 - Directory Listing
Modified Tue Apr 29 19:54:52 2008 UTC (14 years, 5 months ago) by dpavlin
first try at integrating AAAIEduHr into A3C:

fetch XML from http://shema.aaiedu.hr/
cache it locally (to reduce network traffic and provide offline development) in
JSON format (human readable)

Revision 87 - Directory Listing
Modified Tue Apr 29 17:35:04 2008 UTC (14 years, 5 months ago) by dpavlin
http://www.aaiedu.hr/docs/hreduorg.schema

Revision 86 - Directory Listing
Modified Tue Apr 29 17:34:35 2008 UTC (14 years, 5 months ago) by dpavlin
http://www.aaiedu.hr/docs/hreduperson.schema

Revision 85 - Directory Listing
Modified Thu Apr 24 14:01:03 2008 UTC (14 years, 5 months ago) by dpavlin
biljeske sa sastanka 2008-04-24

Revision 84 - Directory Listing
Modified Sat Apr 12 10:33:35 2008 UTC (14 years, 5 months ago) by dpavlin
fix test: renamed model

Revision 83 - Directory Listing
Modified Sat Apr 12 10:29:30 2008 UTC (14 years, 5 months ago) by dpavlin
added schools by counties (returns wrong number of municipalities, but
that's becase of noisy data)

Revision 82 - Directory Listing
Modified Sat Apr 12 10:28:38 2008 UTC (14 years, 5 months ago) by dpavlin
added DESTROY so that AUTOLOAD won't trigger on it

Revision 81 - Directory Listing
Modified Fri Apr 11 23:25:53 2008 UTC (14 years, 5 months ago) by dpavlin
bump database version for ugrade

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

Revision 79 - Directory Listing
Modified Fri Apr 11 23:23:42 2008 UTC (14 years, 5 months ago) by dpavlin
example SQL query using new class

Revision 78 - Directory Listing
Modified Fri Apr 11 23:22:03 2008 UTC (14 years, 5 months ago) by dpavlin
pissed by Jifty::Collection way of group_by, I opted to write
small wrapper class which will turn SQL query into Collection-like
object with proper accessors

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

Revision 76 - Directory Listing
Modified Fri Apr 11 16:50:37 2008 UTC (14 years, 5 months ago) by dpavlin
fix indent


Revision 75 - Directory Listing
Modified Fri Apr 11 15:57:36 2008 UTC (14 years, 5 months ago) by dpavlin
deduce model class

Revision 74 - Directory Listing
Modified Fri Apr 11 15:55:03 2008 UTC (14 years, 5 months ago) by dpavlin
speed up load_or_create for A3C::Model::Person

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

Revision 72 - Directory Listing
Modified Thu Apr 10 23:16:56 2008 UTC (14 years, 5 months ago) by dpavlin
index page with non-working group by query

Revision 71 - Directory Listing
Modified Thu Apr 10 21:33:37 2008 UTC (14 years, 5 months ago) by dpavlin
- change URL scheme
- added some desriptions in h1
- make search action sticky, so that search parametars are left in form after submit

Revision 70 - Directory Listing
Modified Thu Apr 10 20:26:45 2008 UTC (14 years, 5 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 (14 years, 5 months ago) by dpavlin
replaced Jifty::Plugin::AuthLDAPLogin with internal Jifty::Plugin::Authentication::Ldap

Revision 68 - Directory Listing
Modified Thu Apr 10 00:16:03 2008 UTC (14 years, 5 months ago) by dpavlin
uups! without ssl


Revision 67 - Directory Listing
Modified Thu Apr 10 00:08:37 2008 UTC (14 years, 5 months ago) by dpavlin
require LDAP plugin which supports SSL and enable it

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

Revision 65 - Directory Listing
Modified Wed Apr 9 22:53:31 2008 UTC (14 years, 5 months ago) by dpavlin
require ldap login


Revision 64 - Directory Listing
Modified Wed Apr 9 22:21:30 2008 UTC (14 years, 5 months ago) by dpavlin
make application SSL secured by default


Revision 63 - Directory Listing
Modified Wed Apr 9 21:33:50 2008 UTC (14 years, 5 months ago) by dpavlin
configuration file for lighttpd


Revision 62 - Directory Listing
Modified Wed Apr 9 21:32:59 2008 UTC (14 years, 5 months ago) by dpavlin
this *would* be LDAP login if we could connect to ldap server ;-)


Revision 61 - Directory Listing
Modified Wed Apr 9 21:32:34 2008 UTC (14 years, 5 months ago) by dpavlin
removed debug


Revision 60 - Directory Listing
Modified Wed Apr 2 17:38:52 2008 UTC (14 years, 5 months ago) by dpavlin
by default sync all organizastions and than users from
organization, one by one


Revision 59 - Directory Listing
Modified Wed Apr 2 17:02:43 2008 UTC (14 years, 5 months ago) by dpavlin
fix message


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

Revision 57 - Directory Listing
Modified Tue Apr 1 19:44:31 2008 UTC (14 years, 5 months ago) by dpavlin
and now: design! (OK, just one CSS class, but anyway)

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

Revision 55 - Directory Listing
Modified Tue Apr 1 19:39:00 2008 UTC (14 years, 5 months ago) by dpavlin
- added SyncOrganization action with tests and GUI

Revision 54 - Directory Listing
Modified Tue Apr 1 19:27:06 2008 UTC (14 years, 5 months ago) by dpavlin
do canonicalization on load_or_create (so that fixing invalid dates would work)

Revision 53 - Directory Listing
Modified Tue Apr 1 17:32:59 2008 UTC (14 years, 6 months ago) by dpavlin
added filter arg to add additional filter to search

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

Revision 51 - Directory Listing
Modified Mon Mar 31 22:04:04 2008 UTC (14 years, 6 months ago) by dpavlin
tick one done

Revision 50 - Directory Listing
Modified Mon Mar 31 22:01:09 2008 UTC (14 years, 6 months ago) by dpavlin
added dispatcher hook to add menu entry

Revision 49 - Directory Listing
Modified Mon Mar 31 22:00:20 2008 UTC (14 years, 6 months ago) by dpavlin
simple search through local users (using auto-generated SearchModel action)

Revision 48 - Directory Listing
Modified Mon Mar 31 21:50:52 2008 UTC (14 years, 6 months ago) by dpavlin
new API, new version [0.03]

Revision 47 - Directory Listing
Modified Mon Mar 31 21:11:45 2008 UTC (14 years, 6 months ago) by dpavlin
make optional parametars named

Revision 46 - Directory Listing
Modified Sun Mar 30 22:31:27 2008 UTC (14 years, 6 months ago) by dpavlin
helper script to re-create database

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

Revision 44 - Directory Listing
Modified Sun Mar 30 21:59:34 2008 UTC (14 years, 6 months ago) by dpavlin
- removed limit for syncing
- specify model to sync from command line


Revision 43 - Directory Listing
Modified Sun Mar 30 20:18:44 2008 UTC (14 years, 6 months ago) by dpavlin
new ldap config parametars

Revision 42 - Directory Listing
Modified Sun Mar 30 16:58:21 2008 UTC (14 years, 6 months 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 41 - Directory Listing
Modified Sun Mar 30 15:23:35 2008 UTC (14 years, 6 months ago) by dpavlin
document internal method

Revision 40 - Directory Listing
Modified Sun Mar 30 15:02:55 2008 UTC (14 years, 6 months ago) by dpavlin
Turn A3C::LDAP into real object which looks more like Jifty::Collection

Revision 39 - Directory Listing
Modified Sun Mar 30 13:32:29 2008 UTC (14 years, 6 months ago) by dpavlin
fix syntax

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

Revision 37 - Directory Listing
Modified Sun Mar 30 02:33:01 2008 UTC (14 years, 6 months ago) by dpavlin
simple Template::Declare view to display LDAP dump

Revision 36 - Directory Listing
Modified Sun Mar 30 00:02:18 2008 UTC (14 years, 6 months ago) by dpavlin
move LDAP stuff in own package

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

Revision 34 - Directory Listing
Modified Tue Mar 18 19:22:50 2008 UTC (14 years, 6 months ago) by dpavlin
much more informative messages when importing data

Revision 33 - Directory Listing
Modified Tue Mar 18 19:22:30 2008 UTC (14 years, 6 months 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 (14 years, 6 months ago) by dpavlin
- move organisations in own model
- more general ldap2model sub will try to fill model with ldap entry data

Revision 31 - Directory Listing
Modified Tue Mar 18 17:16:40 2008 UTC (14 years, 6 months ago) by dpavlin
use PostgreSQL instead of SQLite


Revision 30 - Directory Listing
Modified Tue Mar 18 16:43:14 2008 UTC (14 years, 6 months ago) by dpavlin
 r32@llin:  dpavlin | 2008-03-18 17:28:45 +0100
 changed default limit to 100 users


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


Revision 28 - Directory Listing
Modified Mon Mar 17 21:42:21 2008 UTC (14 years, 6 months ago) by dpavlin
just blindly create record in hope of speedup


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


Revision 26 - Directory Listing
Modified Mon Mar 17 13:20:37 2008 UTC (14 years, 6 months ago) by dpavlin
use politically correct shift_entry which doesn't seem to decreate memory usage


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


Revision 24 - Directory Listing
Modified Mon Mar 17 13:03:06 2008 UTC (14 years, 6 months ago) by dpavlin
log level back to INFO


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


Revision 22 - Directory Listing
Modified Sun Mar 16 21:32:39 2008 UTC (14 years, 6 months ago) by dpavlin
- added --limit to controll number of entries imported
- fixed bind so we can transfer whole LDAP database
- better logging


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


Revision 20 - Directory Listing
Modified Thu Mar 13 19:28:07 2008 UTC (14 years, 6 months ago) by dpavlin
few more things to implement


Revision 19 - Directory Listing
Modified Thu Mar 13 19:27:52 2008 UTC (14 years, 6 months ago) by dpavlin
this directory gets created automatically anyway, and it confuse subversion

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


Revision 17 - Directory Listing
Modified Thu Mar 13 19:21:21 2008 UTC (14 years, 6 months ago) by dpavlin
cleanup and report errors via error log


Revision 16 - Directory Listing
Modified Thu Mar 13 18:07:28 2008 UTC (14 years, 6 months 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 (14 years, 6 months 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 (14 years, 6 months ago) by dpavlin
encoding of file is utf-8, so tell it to perl


Revision 13 - Directory Listing
Modified Thu Mar 13 16:34:59 2008 UTC (14 years, 6 months ago) by dpavlin
rename database


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

Revision 11 - Directory Listing
Modified Thu Mar 13 14:22:53 2008 UTC (14 years, 6 months ago) by dpavlin
rename application from CAdmin -> A3C, version bump [0.02]


Revision 10 - Directory Listing
Modified Thu Mar 13 14:08:41 2008 UTC (14 years, 6 months ago) by dpavlin
remove mandatory from hrEduPersonUniqueNumber and mark it as bug


Revision 9 - Directory Listing
Modified Thu Mar 13 14:00:40 2008 UTC (14 years, 6 months ago) by dpavlin
debug logging via Jifty->log->debug


Revision 8 - Directory Listing
Modified Thu Mar 13 13:49:41 2008 UTC (14 years, 6 months ago) by dpavlin
take ldap config from etc/site_config.yml


Revision 7 - Directory Listing
Modified Thu Mar 13 13:12:46 2008 UTC (14 years, 6 months ago) by dpavlin
first try at script which imports data from ldap


Revision 6 - Directory Listing
Modified Thu Mar 13 12:09:06 2008 UTC (14 years, 6 months ago) by dpavlin
added mandatory fields so that tests pass

Revision 5 - Directory Listing
Modified Wed Mar 12 23:14:13 2008 UTC (14 years, 6 months ago) by dpavlin
more-or-less copy/paste from Net::LDAP pod


Revision 4 - Directory Listing
Modified Mon Mar 10 00:19:52 2008 UTC (14 years, 6 months ago) by dpavlin
crude user model

Revision 3 - Directory Listing
Modified Sun Mar 9 22:49:40 2008 UTC (14 years, 6 months ago) by dpavlin
reident

Revision 2 - Directory Listing
Modified Sun Mar 9 22:39:58 2008 UTC (14 years, 6 months ago) by dpavlin
jifty model --name User

Revision 1 - Directory Listing
Added Sun Mar 9 01:42:55 2008 UTC (14 years, 6 months ago) by dpavlin
create skeleton of application with

$ jifty app --name CAdmin


  ViewVC Help
Powered by ViewVC 1.1.26