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

View Directory Listing Directory Listing


Sticky Revision:

Revision 233 - Directory Listing
Modified Mon Sep 1 18:44:33 2008 UTC (10 years, 6 months ago) by dpavlin
DBI lowercase columns so we do same for accessors

Revision 231 - Directory Listing
Modified Sun Aug 31 11:54:40 2008 UTC (10 years, 6 months ago) by dpavlin
Added action SearchLDAP which replace old dump and enables us to issue
search requests directly to upstream LDAP to check it's current data

Revision 229 - Directory Listing
Modified Fri Jun 27 19:31:49 2008 UTC (10 years, 8 months ago) by dpavlin
A3C::LDAP::Server now function as full-featured LDAP relay server

- move code from bin/ldap-server.pl to A3C::LDAP::Server
- save cache of ldap searches (currently for debugging only,
  but I can envision falling back to cache if upstream
  server is unavailable)
- added ability to fork server in background (used in tests)

Revision 228 - Directory Listing
Modified Fri Jun 27 19:09:13 2008 UTC (10 years, 8 months ago) by dpavlin
unbless blessed variables before dumping them to JSON

Revision 227 - Directory Listing
Modified Fri Jun 27 17:53:30 2008 UTC (10 years, 8 months ago) by dpavlin
Added dir to specify directory in application's var/
in which cache files will go.

Revision 220 - Directory Listing
Modified Sun Jun 22 14:55:55 2008 UTC (10 years, 8 months ago) by dpavlin
display duration of SQL query

Revision 219 - Directory Listing
Modified Sun Jun 22 14:41:23 2008 UTC (10 years, 8 months ago) by dpavlin
exctract cache handling code to A3C::Cache

Revision 216 - Directory Listing
Modified Fri Jun 20 21:49:16 2008 UTC (10 years, 9 months ago) by dpavlin
put cache all over the place and simplify it

Revision 213 - Directory Listing
Modified Fri Jun 20 20:44:18 2008 UTC (10 years, 9 months ago) by dpavlin
add cache to Strix for performance reasons

Revision 208 - Directory Listing
Modified Thu Jun 19 21:24:26 2008 UTC (10 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 193 - Directory Listing
Modified Tue Jun 17 21:27:31 2008 UTC (10 years, 9 months ago) by dpavlin
- implement FIFO pool of dbh connections to strix
- rename sitemap to sites which is more correct

Revision 191 - Directory Listing
Modified Tue Jun 17 14:28:10 2008 UTC (10 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 (10 years, 9 months ago) by dpavlin
added StrixSite local model to hold all strix sites

Revision 174 - Directory Listing
Modified Mon Jun 16 16:48:16 2008 UTC (10 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 169 - Directory Listing
Modified Mon Jun 16 12:44:57 2008 UTC (10 years, 9 months ago) by dpavlin
create site navigation from categories and multi-static pages

Revision 168 - Directory Listing
Modified Sun Jun 15 23:59:51 2008 UTC (10 years, 9 months ago) by dpavlin
added category and layout methods

Revision 162 - Directory Listing
Modified Sun Jun 15 17:47:39 2008 UTC (10 years, 9 months ago) by dpavlin
added encoding to A3C::SQL so we can connect to databases which doesn't
have default UTF-8 encoding (like strix doesn't)

Revision 161 - Directory Listing
Modified Sun Jun 15 16:11:17 2008 UTC (10 years, 9 months ago) by dpavlin
Send SQL query to any strix site (possibly over ssh tunnel)

Revision 159 - Directory Listing
Modified Sun Jun 15 14:40:50 2008 UTC (10 years, 9 months ago) by dpavlin
added _column_names accessor to A3C::SQL

Revision 151 - Directory Listing
Modified Tue Jun 3 19:31:36 2008 UTC (10 years, 9 months ago) by dpavlin
and other required fields to make test ACTUALLY pass :-\

Revision 150 - Directory Listing
Modified Tue Jun 3 19:29:36 2008 UTC (10 years, 9 months ago) by dpavlin
- create valid StrixSite (site is required)
- make tests executable

Revision 148 - Directory Listing
Modified Tue Jun 3 10:23:52 2008 UTC (10 years, 9 months ago) by dpavlin
support escaped quotes in quoted strings
(used for site names in our configurations)


Revision 145 - Directory Listing
Modified Sat May 31 16:30:09 2008 UTC (10 years, 9 months ago) by dpavlin
Added dbh accessor to support connecting to any database

Revision 144 - Directory Listing
Modified Sat May 31 12:24:04 2008 UTC (10 years, 9 months ago) by dpavlin
we use UTF-8 encoding internally, so fix test data

Revision 139 - Directory Listing
Modified Fri May 30 21:16:08 2008 UTC (10 years, 9 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 136 - Directory Listing
Modified Fri May 30 20:53:14 2008 UTC (10 years, 9 months ago) by dpavlin
For the first time, we can parse actual strix php configuration

This required following in PHP parser:
- ignore include function
- implement true and false PHP constants
- protect @ in double quoted strings to make perl happy again

Diff looks much bigger because of identing fixes
(tab size 4 instead of spaces, yes evil, but I like it)

Revision 133 - Directory Listing
Modified Fri May 30 20:04:23 2008 UTC (10 years, 9 months ago) by dpavlin
Added Parse::RecDescent PHP parser based on PHP::Include

PHP::Include puts new variables in current scope, while we
prefer to get single hash with all defined values.

Revision 128 - Directory Listing
Modified Mon May 26 17:51:43 2008 UTC (10 years, 9 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 118 - Directory Listing
Modified Thu May 15 18:38:21 2008 UTC (10 years, 10 months ago) by dpavlin
test pod if Test::Pod is installed

Revision 112 - Directory Listing
Modified Wed May 14 16:50:49 2008 UTC (10 years, 10 months ago) by dpavlin
fix test to configurable name of model

Revision 106 - Directory Listing
Modified Thu May 1 17:06:02 2008 UTC (10 years, 10 months ago) by dpavlin
massive re-structuring to enable models specified in configuration file

- version bump [0.04]
- SyncOrganization now accept org_uid as argument
- objectClass(es) for person and organization are now in config.yml
  as well as link between them (filter on person)
- config.yml is now checked for validity in A3C::LDAP

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

Revision 89 - Directory Listing
Modified Tue Apr 29 21:43:36 2008 UTC (10 years, 10 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 (10 years, 10 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 84 - Directory Listing
Modified Sat Apr 12 10:33:35 2008 UTC (10 years, 11 months ago) by dpavlin
fix test: renamed model

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

Revision 78 - Directory Listing
Modified Fri Apr 11 23:22:03 2008 UTC (10 years, 11 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 69 - Directory Listing
Modified Thu Apr 10 20:08:01 2008 UTC (10 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 (10 years, 11 months ago) by dpavlin
rename User model to Person

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

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

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

Revision 42 - Directory Listing
Modified Sun Mar 30 16:58:21 2008 UTC (10 years, 11 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 40 - Directory Listing
Modified Sun Mar 30 15:02:55 2008 UTC (10 years, 11 months ago) by dpavlin
Turn A3C::LDAP into real object which looks more like Jifty::Collection

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

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

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


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


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

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

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

$ jifty app --name CAdmin


  ViewVC Help
Powered by ViewVC 1.1.26