1
0
Commit Graph

411 Commits

Author SHA1 Message Date
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
Tim Almdal
bd7f9e427f Add a groups api method on the Identity provider 2009-10-20 17:02:03 -07:00
Tim Almdal
7a53eeb3f4 Initial implementation of a Ldap identity provider 2009-10-20 16:34:03 -07:00
Tim Almdal
d0b40f7bf5 Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal 2009-10-20 06:41:55 -07:00
Chad Kieffer
a6d2f058cd Applied g-block and g-block-content to the admin view. 2009-10-19 22:36:33 -06:00
Tim Almdal
1f6c84ee0f Include the code to check the code by binding 2009-10-19 14:11:36 -07:00
Tim Almdal
0963c99eb8 2nd iteration of the ldap identity manager provider 2009-10-19 13:46:04 -07:00
rWatcher
4b0d2d679a Minor format change. 2009-10-18 03:34:01 +08:00
rWatcher
42673f85f0 Minor formatting change. 2009-10-18 03:34:01 +08:00
rWatcher
edf931ae76 Updated for current Git. 2009-10-18 03:34:00 +08:00
rWatcher
c92fd668ba TagFaces bugfix. 2009-10-18 03:34:00 +08:00
rWatcher
2c01cd2fdd Merged in some code from the 3nids version of TagsMap and the bugfix from glip. 2009-10-18 03:34:00 +08:00
Tim Almdal
dd22142107 Merge branch 'master' into talmdal 2009-10-17 08:39:32 -07:00
Tim Almdal
36a0c73dc2 Change the item->left and item->right properties to left_ptr and right_ptr respectively. 2009-10-17 08:38:58 -07:00
rWatcher
9af78f9be0 Minor format change. 2009-10-14 19:39:15 -04:00
rWatcher
5b261c6307 Minor formatting change. 2009-10-14 19:36:12 -04:00
rWatcher
3a811b6a71 Updated for current Git. 2009-10-14 19:28:38 -04:00
rWatcher
85fec0fc15 TagFaces bugfix. 2009-10-14 19:03:22 -04:00
rWatcher
61ebd36f01 Merged in some changes from the 3nids TagsMap. 2009-10-14 16:45:43 -04:00
rWatcher
560f2ecf5f Merged in some code from the 3nids version of TagsMap and the bugfix from glip. 2009-10-14 16:43:19 -04:00
rWatcher
bd23299c67 Updated for new sidebar code. 2009-10-13 07:48:28 +08:00
rWatcher
46a6db4c9f Modified how CSS code is inserted. 2009-10-13 07:48:27 +08:00
rWatcher
3472ebc081 Updated for new sidebar code. 2009-10-13 07:48:27 +08:00
rWatcher
902065b0e1 Updated for new sidebar code. 2009-10-13 07:48:27 +08:00
rWatcher
0f0faced95 Updated for new sidebar code. 2009-10-13 07:48:27 +08:00
rWatcher
69a7632278 Updated for new sidebar code. 2009-10-13 07:48:27 +08:00
rWatcher
acd3d9084f Updated for new sidebar code. 2009-10-12 17:00:07 -04:00
rWatcher
886021dbed Modified how CSS code is inserted. 2009-10-12 16:28:42 -04:00
rWatcher
73b6c7785e Updated for new sidebar code. 2009-10-12 16:13:20 -04:00
rWatcher
c407686079 Updated for new sidebar code. 2009-10-12 15:54:50 -04:00
rWatcher
922582e9d3 Updated for new sidebar code. 2009-10-12 15:19:42 -04:00
rWatcher
5f590b7300 Updated for new sidebar code. 2009-10-12 15:18:51 -04:00
Bharat Mediratta
a660cf3183 Merge branch 'master' of git://github.com/Glooper/gallery3-contrib
Conflicts:
	modules/basket/helpers/basket.php
	modules/basket/helpers/basket_installer.php
	modules/basket/helpers/product.php
	modules/basket/views/admin_product_lines.html.php
	modules/basket/views/confirm_order.html.php
	modules/basket/views/view_basket.html.php
2009-10-11 09:59:58 -07:00
rWatcher
6f0a4bbff6 Bugfix for Beta 3. 2009-10-12 00:50:42 +08:00
rWatcher
043983caed When moving an item make sure the destination path in VARPATH/original exists, create it if it doesn't. 2009-10-12 00:50:41 +08:00
rWatcher
e5b091f819 Added an option for tagging items in sub albums. 2009-10-12 00:50:41 +08:00
Tim Almdal
291ae111e6 Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal 2009-10-08 13:47:39 -07:00
Tim Almdal
74ea3179ab Merge branch 'bharat_dev' into talmdal 2009-10-06 18:57:23 -07:00
Chad Kieffer
4be214c4bf Renamed most, if not all css selectors from gModuleName to g-module-name. This might break a few ajax features, please review your modules. 2009-10-04 14:40:59 -06:00
Bharat Mediratta
46659e09e7 Modules that provides a UserGroupStorage driver for LDAP. To use it,
you have to manually update the config/ldap.php file, then go to Admin
> Settings > LDAP and activate it.

Very alpha quality!
2009-10-04 12:36:06 -07:00
Tim Almdal
e851ca7a33 Change the ratio between the width and the height to 60% instead of 75%. This seems to prevent longer tags from bing clipped on the edge. 2009-10-03 16:06:15 -07:00
Tim Almdal
ac1ad4187c Fixed the issue with IE. There were two problems the first being IE would set the font-size parameter in the CSS to be FONT-SIZE and the tagcloud.swf would only look for the lower case version. The second being tha for some reason IE would return huge font-sizes from the .css call. 2009-10-03 15:52:04 -07:00
Tim Almdal
daa16ca5cd Updated the swfobject.js to the latest version and changed the reference to the standard version in gallery3/lib. Also change it so that if flash is not enabled, it reverts to the default 2d tag cloud. It still doesn't show the movie in IE... help anybody? 2009-10-03 10:01:46 -07:00
Tim Almdal
a745f21051 Change to using the javascript flash interface instead of the object interface 2009-10-02 22:22:37 -07:00
Tim Almdal
f96adbde80 Add an administrative screen to the tag cloud module and change the block template to pass those variable to the browser. 2009-10-02 14:45:39 -07:00
Tim Almdal
79a7bd1aec Create a widget ui.gallery_tag_cloud to initialize and run the tag cloud block 2009-10-01 13:10:30 -07:00
Tim Almdal
3019abefea Initial commit of a 3D tag cloud implementing the WP_Cumulus plugin by Roy Tanck www.roytanck.com 2009-10-01 09:24:22 -07:00
Tim Almdal
6941aa8fa7 More changes to standardize with the new sidebar api 2009-10-01 06:17:10 -07:00
Tim Almdal
c625e416b2 Change the developer module to generate the <module>_block.php to the new API. 2009-09-30 20:25:44 -07:00
Ben Smith
b2c27dc34f Added support for postage and packaging costs. 2009-09-30 11:42:17 +13:00
Ben Smith
f920adfa66 Fixed a couple of small issues with the previews 2009-09-30 11:38:47 +13:00
Ben Smith
7b6ad2ebcf initially added files and eclipse project. 2009-09-28 14:09:12 +13:00
Romain LE DISEZ
6b8b7325d1 Merge commit 'upstream/master' 2009-09-22 11:48:03 +02:00
Bharat Mediratta
10231b5718 Load 100 rows at a time instead of 20, so faster machines can run through the task quicker. 2009-09-21 22:00:36 -07:00
Bharat Mediratta
476ab6d079 Optimization: Flush the relative_path_cache and relative_url_cache at the end. 2009-09-21 21:58:14 -07:00
Bharat Mediratta
4389c80223 Add a "fix internet addresses" task which goes through and fixes
any bad slugs.
2009-09-21 21:49:11 -07:00
Romain LE DISEZ
e8c68f7159 Merge commit 'upstream/master' 2009-09-18 08:43:35 +02:00
Bharat Mediratta
bc0b0bbb60 New highroller module, that lets you choose between 4 different
ThemeRoller themes on the fly.
2009-09-17 00:12:11 -07:00
Bharat Mediratta
0295510a18 Merge branch 'master' of git://github.com/rWatcher/gallery3-contrib 2009-09-16 22:28:51 -07:00
Bharat Mediratta
bf4f729ba7 Remove 'Engine=InnoDB' stanzas from table creation SQL. We now use the
MySQL server default at table creation time.
2009-09-16 22:15:17 -07:00
Bharat Mediratta
8760cbe45d Merge branch 'master' of git://github.com/Glooper/gallery3-contrib
Conflicts:
	modules/basket/helpers/basket_installer.php
2009-09-16 22:08:38 -07:00