1
0
Commit Graph

321 Commits

Author SHA1 Message Date
Bharat Mediratta
f54b4b0579 IdentityProvider::create_user() now requires an email address as well. 2010-01-25 22:26:57 -08:00
Bharat Mediratta
4ad10e7290 Updated for model based validation 2010-01-25 22:26:19 -08:00
Bharat Mediratta
7a6d8eb8b3 Updated for model based validation 2010-01-25 22:26:08 -08:00
Tim Almdal
c7d1baab70 Add the user home home directory to the user profile page. 2010-01-24 20:43:02 -08:00
Tim Almdal
68b290be51 Change the check_environment method in the module helper and the module installers to can_activate to reflect that it is doing more than just checking the environment. 2010-01-22 12:30:53 -08:00
Tim Almdal
b0270cf722 Refactor the identity provider installation in to a common helper method (change_provider) with an initialization callback. 2010-01-22 12:09:46 -08:00
Tim Almdal
b8bce53b8f Use the admin module to install and switch to the LDAP identity provider. 2010-01-22 09:42:41 -08:00
Tim Almdal
7380d7bc76 1) Call identity::active_user instead of user::active()
2) The where clause needs to be passed as array of arrays when filtering for albums.
2010-01-17 09:27:48 -08:00
Tim Almdal
b98b1391e9 A further fix for 977. create the user immediately if the policy is visitor w/o a confirmation email. 2010-01-15 08:58:31 -08:00
Tim Almdal
4309f8822c 1) Insure that a group input is always part of the form, either a dropdown or hidden field
2) Create a "dummy validation function" in order to have the group and email_validation fields copied from the $_POST array.
2010-01-14 20:16:15 -08:00
Tim Almdal
9a96a37681 Another 2.4 migration-ism. Need to pass the where clause in an appropriate format. array(fieldname, operator, value); 2010-01-14 13:41:40 -08:00
Tim Almdal
4923164626 Change the offset from zero to null on the item->find_all call. Changed with K2.4 2010-01-12 10:49:58 -08:00
Bharat Mediratta
60238ddfad Rudimentary Single sign-on module 2010-01-11 11:05:49 -08:00
Bharat Mediratta
3eb4e6920d Implement Ldap_User::groups() to match K24 APIs. 2010-01-11 11:03:34 -08:00
rWatcher
5add59a795 Fixed tag url issue in TagFaces. 2010-01-10 02:35:10 -05:00
rWatcher
e4d96261f6 Fix for borken selection box in TagFaces. 2010-01-10 02:28:31 -05:00
rWatcher
cf81ac7085 Updated DisplayTags to fix tag hyperlink issue. 2010-01-10 01:54:22 -05:00
rWatcher
231d9c95fc Updated to support dynamic sidebar code. 2009-12-30 01:45:47 -05:00
rWatcher
2b12d9b3f5 Validate form before sending and add message header text. 2009-12-30 01:10:55 -05:00
Tim Almdal
ba0794fe91 Allow the register link to be shown on the login page. Fixes ticket #952 2009-12-28 11:36:17 -08:00
Bharat Mediratta
90ef5daa49 Update some database calls. 2009-12-25 13:25:36 -08:00
Bharat Mediratta
fb36d5454c Do enough CSS fixing to get the dialogs to work inline. 2009-12-24 18:05:14 -08:00
Bharat Mediratta
69baf26b05 Clean up formatting. 2009-12-24 18:03:03 -08:00
Bharat Mediratta
b9cebd25eb Add validation for the default settings and api key. Set some
defaults there, too so that users don't have to know a lat/long to get
started.  Use form validation.  Bump the version to 2.
2009-12-24 12:53:35 -08:00
Bharat Mediratta
4c9bcf9ad3 Update for paginator changes. 2009-12-24 11:56:49 -08:00
Bharat Mediratta
2fdada73dc Sentence case the titles. 2009-12-24 11:56:30 -08:00
Bharat Mediratta
c7ad42100b Convert Kohana::show_404() to throw a Kohana_404_Exception() 2009-12-24 11:55:28 -08:00
Bharat Mediratta
ace00a891d Updated for the new blocks API. 2009-12-24 11:51:21 -08:00
Bharat Mediratta
0cb6b9e58f Clean up the code to work with K24 ORM changes, and update it to work
with paginator changes.  Also fix some minor style issues.
2009-12-24 11:45:44 -08:00
Bharat Mediratta
8658a609fd Convert Controller::$input -> Input::instance() 2009-12-24 11:09:07 -08:00
Bharat Mediratta
1ed3c46997 Clean up tag display logic 2009-12-24 11:07:03 -08:00
Bharat Mediratta
9a1fc57211 Don't treat objects like strings. Simplify the code. 2009-12-24 11:04:25 -08:00
Bharat Mediratta
30ab3e9420 Check using empty() instead of a comparison to avoid warnings on
unused variables.

Clean up the code style.
2009-12-24 10:59:25 -08:00
Bharat Mediratta
7d2297033d Don't treat objects like strings. 2009-12-24 10:56:26 -08:00
Bharat Mediratta
1a65ded2a6 Don't treat objects like strings 2009-12-24 02:44:13 -08:00
Bharat Mediratta
dde187e88c Only trigger for items and tags 2009-12-24 01:48:27 -08:00
Bharat Mediratta
2a596af25b Don't treat an object like a string 2009-12-24 01:48:15 -08:00
Bharat Mediratta
2b00e0a4e9 Don't save dimensions unless it's actually a movie. 2009-12-24 01:47:58 -08:00
Bharat Mediratta
f522643d70 Clean up tag display logic. 2009-12-24 01:47:00 -08:00
Bharat Mediratta
bcc0a1e836 Convert a bunch of left over kohana::show_404 calls to throw
Kohana_404_Exception instead.
2009-12-23 20:52:09 -08:00
Bharat Mediratta
a711cb1088 Quote name/descriptions in module.info 2009-12-23 12:56:12 -08:00
Bharat Mediratta
f64442b75c Add a rule for the "activate" param so that it gets validated properly. 2009-12-23 02:24:55 -08:00
Bharat Mediratta
5f53465bd1 Update format of $hidden variables for new K24 form::open 2009-12-23 00:59:15 -08:00
Bharat Mediratta
1a0dc96e77 First pass at upgrading contrib code to the Kohana 2.4 standards.
Here's a summary of the changes I made:

1) html::specialchars --> html::chars
2) ORM::orderby() -> ORM::order_by()
3) ORM::where() now takes 3 parameters including a comparator.  So
   ORM::where("a", $b) is now ORM::where("a", "=", $b) and the middle
   value can be any comparator.
4) ORM::$loaded --> ORM::loaded()
5) Database::instance() --> db::build()  (and there are some other
   subtle differences, like now you always call execute() at the end
   of the chain)
6) form::close() and form::close_fieldset() are now gone.  Use
   </form> and </fieldset> respectively.
7) Controller::$input is gone.  Use Input::instance() instead.

I've done very rudimentary testing so far.
2009-12-22 21:31:03 -08:00
Bharat Mediratta
649b7ba7bc Get rid of the installer code, we don't actually need it yet since
there's no need to do any special work when we upgrade.

Change the theme code to only print out the JS if we have a web
property ID.
2009-11-29 11:49:39 -08:00
Matt Rude
29893cf79b Corrected version number from 1.2 to 2 since 1.2 is an invaild
version number.
2009-11-30 03:47:50 +08:00
Bharat Mediratta
6547d54e72 Fix a blown merge and bring calendarview up to date with rWatcher's
changes.
2009-11-26 11:21:51 -08:00
Bharat Mediratta
55f806b754 Merge branch 'master' of git://github.com/rWatcher/gallery3-contrib
Conflicts:
	modules/calendarview/controllers/calendarview.php
	modules/calendarview/libraries/Calendar_Breadcrumb.php
	modules/calendarview/views/kohana_calendar.php
2009-11-26 11:13:21 -08:00
rWatcher
8ca9f9e780 Added a month view and breadcrumbs to album view. 2009-11-27 03:09:40 +08:00
Bharat Mediratta
07bb2625df Beginning framework for the remote module 2009-11-23 22:30:55 -08:00