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

View Directory Listing Directory Listing


Sticky Revision:

Revision 244 - Directory Listing
Modified Wed Oct 1 21:05:00 2008 UTC (10 years, 5 months ago) by dpavlin
- include hits and editrs on /strix/instances
- added conf.php and stats instance mismatch on /strix/errors


Revision 243 - Directory Listing
Modified Wed Oct 1 21:03:14 2008 UTC (10 years, 5 months ago) by dpavlin
added new modes to hold stats about strix instance usage


Revision 242 - Directory Listing
Modified Wed Oct 1 20:22:22 2008 UTC (10 years, 5 months ago) by dpavlin
fix links to instances


Revision 241 - Directory Listing
Modified Wed Oct 1 19:58:55 2008 UTC (10 years, 5 months ago) by dpavlin
make more general /strix/errors page


Revision 240 - Directory Listing
Modified Wed Oct 1 19:58:37 2008 UTC (10 years, 5 months ago) by dpavlin
return id correctly


Revision 239 - Directory Listing
Modified Sun Sep 7 22:11:44 2008 UTC (10 years, 6 months ago) by dpavlin
configurable strix domain


Revision 238 - Directory Listing
Modified Sun Sep 7 22:00:36 2008 UTC (10 years, 6 months ago) by dpavlin
sigh! make on-demand sync really work :-)


Revision 237 - Directory Listing
Modified Sun Sep 7 21:54:26 2008 UTC (10 years, 6 months ago) by dpavlin
enable utf8 encoding on saved json files

Revision 236 - Directory Listing
Modified Sun Sep 7 21:22:10 2008 UTC (10 years, 6 months ago) by dpavlin
move strix sites import into module Strix::Import so
that command-line script and action can re-use it,
creating on-demand sync for sites.

Revision 234 - Directory Listing
Modified Mon Sep 1 18:53:59 2008 UTC (10 years, 6 months ago) by dpavlin
report strix instance and contact data

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 232 - Directory Listing
Modified Sun Aug 31 13:51:58 2008 UTC (10 years, 6 months ago) by dpavlin
added cn to search

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 226 - Directory Listing
Modified Fri Jun 27 13:27:02 2008 UTC (10 years, 9 months ago) by dpavlin
bind with real credentials passwd to us

This allows correct login which is tested with selenium test
(not commited since it contains login and password :-)

Revision 225 - Directory Listing
Modified Fri Jun 27 11:38:36 2008 UTC (10 years, 9 months ago) by dpavlin
don't modify changetype, pod

Revision 224 - Directory Listing
Modified Thu Jun 26 23:29:56 2008 UTC (10 years, 9 months ago) by dpavlin
reduce amount of debug chatter. This seems like nice verbose output

Revision 223 - Directory Listing
Modified Thu Jun 26 21:57:33 2008 UTC (10 years, 9 months ago) by dpavlin
Ported enough code from Matej Vela's ldap server
to relay requests to upstream and dump them.

Currently, it will allow you to login as any valid user
in ldap because it ALWAYS returns RESULT_OK for bind.

Revision 222 - Directory Listing
Modified Thu Jun 26 20:46:33 2008 UTC (10 years, 9 months ago) by dpavlin
simpliest possible data-dumping only LDAP server

Revision 221 - Directory Listing
Modified Mon Jun 23 00:12:56 2008 UTC (10 years, 9 months ago) by dpavlin
save last executed sql query into session for quick access on all instances

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

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

Revision 218 - Directory Listing
Modified Sat Jun 21 11:01:35 2008 UTC (10 years, 9 months ago) by dpavlin
Check did we get valid utf-8 from DBD driver

Revision 217 - Directory Listing
Modified Fri Jun 20 22:37:33 2008 UTC (10 years, 9 months ago) by dpavlin
show category or layout on the right

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 215 - Directory Listing
Modified Fri Jun 20 20:55:19 2008 UTC (10 years, 9 months ago) by dpavlin
comment out debug (it would be too verbose even for DEBUG log)

Revision 214 - Directory Listing
Modified Fri Jun 20 20:54:41 2008 UTC (10 years, 9 months ago) by dpavlin
rename to name which flows better with a code

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 212 - Directory Listing
Modified Fri Jun 20 17:04:20 2008 UTC (10 years, 9 months ago) by dpavlin
don't create empty classes in tree

Revision 211 - Directory Listing
Modified Fri Jun 20 15:35:21 2008 UTC (10 years, 9 months ago) by dpavlin
remove own page for layout and integrate it under /strix/navigation
(with all of AJAXy goodness which we got for free)

Revision 210 - Directory Listing
Modified Fri Jun 20 12:27:13 2008 UTC (10 years, 9 months ago) by dpavlin
tweaks, spellcheck

Revision 209 - Directory Listing
Modified Thu Jun 19 21:43:35 2008 UTC (10 years, 9 months ago) by dpavlin
put back LDAP view from A3C::View

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 207 - Directory Listing
Modified Thu Jun 19 19:52:43 2008 UTC (10 years, 9 months ago) by dpavlin
describe models and more things to do...

Revision 205 - Directory Listing
Modified Thu Jun 19 19:05:26 2008 UTC (10 years, 9 months ago) by dpavlin
rename views into better names as result of writing documentation
for AJAX part of jifty

Revision 204 - Directory Listing
Modified Thu Jun 19 18:24:02 2008 UTC (10 years, 9 months ago) by dpavlin
first draft of high-level architecture documentation

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

Revision 200 - Directory Listing
Modified Tue Jun 17 23:06:31 2008 UTC (10 years, 9 months ago) by dpavlin
- run action if there isn't instance to populate bottom menu correctly
- refresh selected-instances with result of action (example of action closure usage)

Revision 199 - Directory Listing
Modified Tue Jun 17 23:04:29 2008 UTC (10 years, 9 months ago) by dpavlin
we don't really want to mess with instances here

Revision 197 - Directory Listing
Modified Tue Jun 17 21:32:12 2008 UTC (10 years, 9 months ago) by dpavlin
implemented StrixSelectSite action with two drop-down
menus (which are kept in sync) to select site for
which to show navigation

Revision 196 - Directory Listing
Modified Tue Jun 17 21:29:04 2008 UTC (10 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 (10 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 (10 years, 9 months ago) by dpavlin
whitespace

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 189 - Directory Listing
Modified Tue Jun 17 10:15:13 2008 UTC (10 years, 9 months ago) by dpavlin
move select link to left of list

Revision 188 - Directory Listing
Modified Tue Jun 17 10:11:46 2008 UTC (10 years, 9 months ago) by dpavlin
force database to send us back UTF-8 no metter what it's encoding

Revision 187 - Directory Listing
Modified Mon Jun 16 23:24:25 2008 UTC (10 years, 9 months ago) by dpavlin
create links to strix in single place

Revision 186 - Directory Listing
Modified Mon Jun 16 22:56:14 2008 UTC (10 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 185 - Directory Listing
Modified Mon Jun 16 22:17:06 2008 UTC (10 years, 9 months ago) by dpavlin
added newline at end of error message so we don't get script name and line number on web

Revision 183 - Directory Listing
Modified Mon Jun 16 21:33:59 2008 UTC (10 years, 9 months ago) by dpavlin
stirx instances selection is now usable

- show instances added to buffer on each page
- click on instance name will select that instance for operation

Revision 182 - Directory Listing
Modified Mon Jun 16 21:29:50 2008 UTC (10 years, 9 months ago) by dpavlin
try to fix single level of skip and mark category with class error

Revision 181 - Directory Listing
Modified Mon Jun 16 20:08:28 2008 UTC (10 years, 9 months ago) by dpavlin
make ldap2model use JiftyModelCreator and minor tweaks all over the place

Revision 180 - Directory Listing
Modified Mon Jun 16 19:42:44 2008 UTC (10 years, 9 months ago) by dpavlin
if model allready exist, save it with appended .orig

Revision 179 - Directory Listing
Modified Mon Jun 16 19:40:21 2008 UTC (10 years, 9 months ago) by dpavlin
extract module writing and test creation into own package

Revision 177 - Directory Listing
Modified Mon Jun 16 19:05:05 2008 UTC (10 years, 9 months ago) by dpavlin
fix usage when called like Strix->dbh( 'site-name' )

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 173 - Directory Listing
Modified Mon Jun 16 14:43:07 2008 UTC (10 years, 9 months ago) by dpavlin
- remove debugging output without $debug set
- decode module_args

Revision 172 - Directory Listing
Modified Mon Jun 16 13:32:01 2008 UTC (10 years, 9 months ago) by dpavlin
simple sitemap for hard-coded instance and category

Revision 171 - Directory Listing
Modified Mon Jun 16 13:16:57 2008 UTC (10 years, 9 months ago) by dpavlin
connect to each site just once

we don't do any expiery of connections to site databases, so we
would need some kind of mechanisam for that to preserve filedescriptors
and database connections when in production

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 167 - Directory Listing
Modified Sun Jun 15 23:19:02 2008 UTC (10 years, 9 months ago) by dpavlin
move Strix specific stuff to own package

Revision 166 - Directory Listing
Modified Sun Jun 15 22:26:07 2008 UTC (10 years, 9 months ago) by dpavlin
cleanup templates to look somewhat nicer
(and have more consistent naming)

Revision 165 - Directory Listing
Modified Sun Jun 15 22:03:02 2008 UTC (10 years, 9 months ago) by dpavlin
and we need to render_as_classical_menu to make it work

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 160 - Directory Listing
Modified Sun Jun 15 16:10:13 2008 UTC (10 years, 9 months ago) by dpavlin
BUG FIX: die on errors (it will be reported as action error as it should)

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 158 - Directory Listing
Modified Sun Jun 15 11:03:50 2008 UTC (10 years, 9 months ago) by dpavlin
fix model security

Revision 157 - Directory Listing
Modified Sun Jun 15 10:51:57 2008 UTC (10 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 155 - Directory Listing
Modified Sat Jun 14 22:04:11 2008 UTC (10 years, 9 months ago) by dpavlin
minor tweaks

Revision 153 - Directory Listing
Modified Sat Jun 14 12:31:35 2008 UTC (10 years, 9 months ago) by dpavlin
split strix sites name differences into it's own page

Revision 152 - Directory Listing
Modified Tue Jun 3 19:40:12 2008 UTC (10 years, 9 months ago) by dpavlin
fix pod

Revision 149 - Directory Listing
Modified Tue Jun 3 15:32:14 2008 UTC (10 years, 9 months ago) by dpavlin
added bunch of fields and convert to table


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 142 - Directory Listing
Modified Fri May 30 23:47:29 2008 UTC (10 years, 9 months ago) by dpavlin
added strix menu and basic view to report name differences

Revision 140 - Directory Listing
Modified Fri May 30 22:02:19 2008 UTC (10 years, 9 months ago) by dpavlin
fix encoding

on-disk php files are in ISO-8859-2, so support that and require
that PostgreSQL encoding is UTF-8

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 138 - Directory Listing
Modified Fri May 30 21:02:04 2008 UTC (10 years, 9 months ago) by dpavlin
cleanup, some documentation, seems to work

Revision 137 - Directory Listing
Modified Fri May 30 20:56:18 2008 UTC (10 years, 9 months ago) by dpavlin
document why are we sticky

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 134 - Directory Listing
Modified Fri May 30 20:04:43 2008 UTC (10 years, 9 months ago) by dpavlin
added pod

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 131 - Directory Listing
Modified Mon May 26 18:12:15 2008 UTC (10 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 (10 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 127 - Directory Listing
Modified Sun May 25 16:43:36 2008 UTC (10 years, 10 months ago) by dpavlin
- fix URLS to absolute
- new organization form
- some css work

Revision 126 - Directory Listing
Modified Thu May 22 20:51:31 2008 UTC (10 years, 10 months ago) by dpavlin
use data about total entries from pager instead of collection
because from collection we get just number of results on this
page

Revision 125 - Directory Listing
Modified Thu May 22 20:48:42 2008 UTC (10 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 (10 years, 10 months ago) by dpavlin
tune model (add indexes, distinct)

Revision 123 - Directory Listing
Modified Tue May 20 09:48:31 2008 UTC (10 years, 10 months ago) by dpavlin
use new model

Revision 122 - Directory Listing
Modified Tue May 20 09:47:59 2008 UTC (10 years, 10 months ago) by dpavlin
fix views for new models

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

Revision 120 - Directory Listing
Modified Thu May 15 19:08:08 2008 UTC (10 years, 10 months ago) by dpavlin
and use new models

Revision 119 - Directory Listing
Modified Thu May 15 19:07:38 2008 UTC (10 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 109 - Directory Listing
Modified Wed May 14 16:48:13 2008 UTC (10 years, 10 months ago) by dpavlin
convert repeatable arguments into single value before
inserting into database

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 104 - Directory Listing
Modified Thu May 1 14:52:48 2008 UTC (10 years, 10 months ago) by dpavlin
renamed semi-internal function

Revision 101 - Directory Listing
Modified Thu May 1 12:59:02 2008 UTC (10 years, 10 months ago) by dpavlin
fallback to same model name and objectClass if no mapping is defined
(for models created by bin/ldap2model.pl)

Revision 94 - Directory Listing
Modified Wed Apr 30 17:23:46 2008 UTC (10 years, 10 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 (10 years, 10 months ago) by dpavlin
support usage in array context so we can add arbitrary data around original one

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

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 83 - Directory Listing
Modified Sat Apr 12 10:29:30 2008 UTC (10 years, 11 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 (10 years, 11 months ago) by dpavlin
added DESTROY so that AUTOLOAD won't trigger on it

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 79 - Directory Listing
Modified Fri Apr 11 23:23:42 2008 UTC (10 years, 11 months ago) by dpavlin
example SQL query using new class

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 77 - Directory Listing
Modified Fri Apr 11 22:02:09 2008 UTC (10 years, 11 months ago) by dpavlin
added few columns, fixed labels

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


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

Revision 74 - Directory Listing
Modified Fri Apr 11 15:55:03 2008 UTC (10 years, 11 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 (10 years, 11 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 (10 years, 11 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 (10 years, 11 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 (10 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 (10 years, 11 months ago) by dpavlin
replaced Jifty::Plugin::AuthLDAPLogin with internal Jifty::Plugin::Authentication::Ldap

Revision 67 - Directory Listing
Modified Thu Apr 10 00:08:37 2008 UTC (10 years, 11 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 (10 years, 11 months ago) by dpavlin
rename User model to Person

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


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


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

Revision 57 - Directory Listing
Modified Tue Apr 1 19:44:31 2008 UTC (10 years, 11 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 (10 years, 11 months ago) by dpavlin
tune human-readable names

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 54 - Directory Listing
Modified Tue Apr 1 19:27:06 2008 UTC (10 years, 11 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 (10 years, 11 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 (10 years, 11 months ago) by dpavlin
better human-readable organization name which include also name and location

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

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

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 45 - Directory Listing
Modified Sun Mar 30 22:29:42 2008 UTC (10 years, 11 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 (10 years, 11 months ago) by dpavlin
- removed limit for syncing
- specify model to sync from command line


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 41 - Directory Listing
Modified Sun Mar 30 15:23:35 2008 UTC (10 years, 11 months ago) by dpavlin
document internal method

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 39 - Directory Listing
Modified Sun Mar 30 13:32:29 2008 UTC (10 years, 11 months ago) by dpavlin
fix syntax

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

Revision 37 - Directory Listing
Modified Sun Mar 30 02:33:01 2008 UTC (10 years, 11 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 (10 years, 11 months ago) by dpavlin
move LDAP stuff in own package

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

Revision 33 - Directory Listing
Modified Tue Mar 18 19:22:30 2008 UTC (11 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 (11 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 (11 years ago) by dpavlin
give up on virtual columns (for now)


Revision 27 - Directory Listing
Modified Mon Mar 17 21:30:59 2008 UTC (11 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 (11 years ago) by dpavlin
ignore objectClass by popular demand (mvela)


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


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


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 16 - Directory Listing
Modified Thu Mar 13 18:07:28 2008 UTC (11 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 (11 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 (11 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 (11 years ago) by dpavlin
render addresses as textarea

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 10 - Directory Listing
Modified Thu Mar 13 14:08:41 2008 UTC (11 years ago) by dpavlin
remove mandatory from hrEduPersonUniqueNumber and mark it as bug


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


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

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