1
0
Commit Graph

371 Commits

Author SHA1 Message Date
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
Romain LE DISEZ
b78ac358ee Merge commit 'upstream/master' 2009-12-01 20:37:04 +01: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
Romain LE DISEZ
9441bc08bb Merge commit 'upstream/master' 2009-11-29 20:48:54 +01: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
Romain LE DISEZ
159fa9c815 Merge commit 'upstream/master' 2009-11-28 15:03:58 +01: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
rWatcher
11153056f1 Code cleanup. 2009-11-18 19:04:47 -05:00
rWatcher
92e97357e5 Translation Fix. 2009-11-18 18:35:31 -05:00
rWatcher
229c488436 Merge commit 'gallery3-contrib/master' 2009-11-18 15:03:53 -05:00
rWatcher
47d1f16b40 Added a month view and breadcrumbs to album view. 2009-11-18 15:03:16 -05:00
Tim Almdal
b1119d82f1 Revert "Add xss_golden files to some modules."
This reverts commit e20cfc8494.
2009-11-18 10:53:02 -08:00
Tim Almdal
e20cfc8494 Add xss_golden files to some modules. 2009-11-18 10:37:31 -08:00
Tim Almdal
984c42edbf Add quotes around the module name 2009-11-18 08:58:57 -08:00
rWatcher
9f2a08411c Merge commit 'gallery3-contrib/master'
Conflicts:
	modules/calendarview/controllers/calendarview.php
2009-11-18 00:33:19 -05:00
Bharat Mediratta
85570acabd Merge branch 'master' of git@github.com:gallery/gallery3-contrib
Conflicts:
	modules/calendarview/controllers/calendarview.php
2009-11-17 15:55:19 -08:00
Bharat Mediratta
99ec99a166 Update to use the new page_type and page_subtype designations. 2009-11-17 14:06:04 -08:00
rWatcher
59648ce716 Move the CSS from the view file into a seperate .css file. 2009-11-18 02:11:19 +08:00
rWatcher
72a1019256 Remove "overlap dates" from calendar view. 2009-11-18 02:11:19 +08:00
Bharat Mediratta
a19d2132b2 Drop unnecessary use of uninitialized $form variable. 2009-11-17 10:04:33 -08:00
rWatcher
3cb8810074 Move the CSS from the view file into a seperate .css file. 2009-11-17 02:44:29 -05:00
rWatcher
8905bd58e3 Remove "overlap dates" from calendar view. 2009-11-17 02:21:09 -05:00
Bharat Mediratta
0f04a97c35 New module that adds an RSS feed that only contains the most recently
added albums.
2009-11-15 17:25:38 -08:00
rWatcher
9e2688a646 Minor update. 2009-11-12 16:07:16 -05:00
rWatcher
c693a2ba72 Updated for new sidebar code. 2009-11-12 15:57:13 -05:00
rWatcher
4a3fd9b1b6 Initial commit of CalendarView module. 2009-11-11 23:04:01 -05:00
rWatcher
15ea443506 Merge commit 'gallery3-contrib/master' 2009-11-09 13:52:00 -05:00
Bharat Mediratta
952fb4fe73 Add missing closing angle bracket. Fixes ticket #842. 2009-11-08 10:48:19 -08:00
rWatcher
f627e9a407 Merge commit 'gallery3-contrib/master' 2009-11-08 00:44:56 -05:00
rWatcher
898844933b Merge commit 'gallery3-contrib/master'
Conflicts:
	modules/register/models/pending_user.php
2009-11-08 00:44:06 -05:00
Chad Kieffer
1265882d6c Add a note about how unconfirmed user registrations can be removed. 2009-11-07 13:36:52 -07:00
Chad Kieffer
8ab32fe3d5 HTML markup updates, removed CSS after recent updates, a few label headings edits. 2009-11-07 00:12:45 -07:00
Tim Almdal
b763c82ae5 Display the register link in the user_menu instead of the site_menu. Ticket #871 2009-11-06 14:12:56 -08:00
Tim Almdal
25bfc090ba Change the tag cloud so its updated when a new tag is added. 2009-11-06 08:45:02 -08:00
Tim Almdal
f57ac32e23 Always show the update button, even if there is no default group. Also don't set the default group for the user if there has been no default user defined. 2009-11-03 19:19:24 -08:00
Tim Almdal
4eaa434886 Latest re-incarnation of the user registration module.
This change implements all the modes:
* Visitors cannot create users
* Visitors can create an account without confirmation nor admin approval
* Visitors can create an account with conformation and admin approval
* Visitors can create an account with confirmation and no admin approval
2009-11-03 14:45:52 -08:00
Tim Almdal
317e2b1964 Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal 2009-11-02 06:53:23 -08:00
Tim Almdal
1779518e73 Add a full_name to the ldap provider 2009-11-01 10:05:22 -08:00
Tim Almdal
60f26d711f Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal 2009-11-01 07:47:15 -08:00
Tim Almdal
3d82eb19f2 delete the unused ldap.php config file and rename the gallery.ldif to gallery_sample.ldif to clearly indicate that it is not required and only a sample. 2009-10-31 14:34:33 -07:00
Tim Almdal
9963d59e3b Ignore any exceptions or errors on the ldap_bind... assume they are password related and just return false as an invalid password. Fixes ticket #864. 2009-10-31 14:31:18 -07:00
Tim Almdal
7915ba2de9 1) Added support for the email attribute on the Ldap_User object (references the ldap mail attribute)
2) Added support for the avatar_url method.
3) Added a config parameter to the IdentityProvider to specifiy the configuration.  This allows the ldap installer to instantiate the ldap Identity provider to use in the install and uninstall methods.
2009-10-31 14:04:07 -07:00
Tim Almdal
0bf6497e02 1) Added support for the email attribute on the Ldap_User object (references the ldap mail attribute)
2) Added support for the avatar_url method.
3) Added a config parameter to the IdentityProvider to specifiy the configuration.  This allows the ldap installer to instantiate the ldap Identity provider to use in the install and uninstall methods.
2009-10-31 13:53:38 -07:00
Tim Almdal
f194d21ad9 Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal 2009-10-31 09:42:34 -07:00
Bharat Mediratta
ef715a9261 Support the "url" param on Ldap_User by returning a null value for now. 2009-10-30 15:55:44 -07:00
Tim Almdal
0bdd2c2730 Change the ui per thumbs suggestion
Move the admin menu under the Settings dropdown
Implement:
* Vistors can create accounts but administrator approval is required
* Email confirmations can be used or not used with above
* Welcome email is sent when the user is created
* Random password is generated when the user created and this is included in the welcome email.
2009-10-30 13:19:57 -07:00
Tim Almdal
496820034c Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal 2009-10-30 06:41:05 -07:00
Chad Kieffer
413125cbd9 Add type attribute to script tags in contributed modules and themes. 2009-10-30 00:17:31 -06:00
Chad Kieffer
fdd0053b9f Merge branch 'master' of github.com:gallery/gallery3-contrib 2009-10-30 00:08:50 -06:00
Tim Almdal
9304eddac6 Merge branch 'master' into talmdal 2009-10-29 19:21:42 -07:00
Tim Almdal
3d688c84ee Implement a user self registration module, that allows a user to create a request to for a user id. Currently all that's working is the guest user can create a pending user request and the administrator has to manually approve it. Eventually 2 other modes will be available: a confirmation email, similair to the recover password or the ability to add the user immediately. 2009-10-29 19:21:22 -07:00
Tim Almdal
73bca7bfdb Implement the new add_user_to_group and remove_user_from_group api method calls. For the ldap provider just throw an Invalid Operation exception. 2009-10-29 19:17:34 -07:00
rWatcher
3f87b27560 Replaced all references to user::active() with identity::active_user(). 2009-10-29 18:29:42 -04:00
Tim Almdal
a9347da91d Missed a couple of inconsistent capitalizations 2009-10-29 11:23:32 -07:00
rWatcher
dc8cc9d26b Merge commit 'gallery3-contrib/master'
Conflicts:
	modules/ldap/config/ldap.php

Signed-off-by: rWatcher <rwatcher@australia.edu>
2009-10-29 13:48:57 -04:00
Tim Almdal
175b0af34b Only generate the admin_menu method once. 2009-10-29 08:17:22 -07:00
Tim Almdal
b8a4029fb4 Update the developer module to allow the internal name and display name to be supplied seperately. Also update so menus are generated as part of the event mechanism. 2009-10-29 08:04:38 -07:00
Bharat Mediratta
8d01f7f7d1 Internationalize menu strings. 2009-10-27 19:31:22 -07:00
Chad Kieffer
7423644cd8 Merge branch 'master' of github.com:gallery/gallery3-contrib 2009-10-27 19:01:54 -06:00
Tim Almdal
7a3fd9d2ed Add a flag in the module.info (no_module_admin) to indicate that this module shouldn't be managed by the default module administration screen. This module will always be locked on that screen. 2009-10-27 07:57:21 -07:00
Tim Almdal
9ea73e5eff Change the name of the get adminsitrator function to admin_user (it was easier to change it here than everywhere else." 2009-10-27 07:38:39 -07:00
Tim Almdal
93082a12f1 Add an get_admin_user api call and use it to determine the admin user instead of calling lookup by name with a hardcoded name. 2009-10-27 07:16:50 -07:00
Tim Almdal
0b3bb9a643 Forgot to check this in, which will help Bharat's review. 2009-10-25 10:47:08 -07:00
Tim Almdal
952322cd95 If the user name is "admin", then use the first user name in the 'admins' driver parameter. 2009-10-23 06:17:21 -07:00
Tim Almdal
57f331250d Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class 2009-10-22 13:08:22 -07:00
Tim Almdal
5b62f010cc Convert methods to instance methods instead of static to be consistent with the Identity interface. Clean up a copy/paste error to get the auhtorized list of groups. 2009-10-21 16:06:29 -07:00
Tim Almdal
00cb7dc37a Merge branch 'master' into talmdal 2009-10-21 09:12:26 -07:00
Tim Almdal
209825bf50 Clean up problems with the module.info file that would cause the unit tests to fail. 2009-10-21 09:12:08 -07:00
Tim Almdal
337265578b When activating the ldap identity provider, change the ownership of all items to the first defined admin user. Also remove unused files and debugging statements. 2009-10-21 08:25:43 -07:00
Tim Almdal
2ece7e92b2 Add lookup_group Identity provider API. 2009-10-20 17:20:22 -07:00