Commit Graph
1243 Commits
Author SHA1 Message Date
Tim Almdal f47fa55891 Change the scaffolding to generate 2 files init_var.php which will
initialize the var directory and the install.sql.  Still more code
than bharat would like, but the end result should be where we want to go.
2009-01-18 01:03:53 +00:00
Tim Almdal d0f307cbcd The Packager now copies all the directories properly, ignoring all the
.svn directories.  In addition the internal directory structure is
consistent with a Gallery3 install with out any source system names.
2009-01-17 17:36:21 +00:00
Tim Almdal 2b23f0a9e2 We can now build ar tar.gz file with the gallery installation. Still
to be done is the get the internal paths right and get rid of the .svn
that are still being included... its a wee bit large @ 35mb.  Also
need to write the code to unpack and do the actual install
2009-01-17 08:05:51 +00:00
Tim Almdal 91a61dcc6d Generate a single sql install file. 2009-01-17 06:17:12 +00:00
Tim Almdal f8d95f28cf Change the scaffolding packaging to set auot-render to false so the
entire screen is not returned
2009-01-17 06:00:47 +00:00
Bharat Mediratta 58402f6fbf Fix typo.. rebuild_index -> update_index 2009-01-17 05:27:15 +00:00
Bharat Mediratta ccff396fae Fix a silly bug in item_created() 2009-01-17 05:22:07 +00:00
Bharat Mediratta b13f7d7460 Fix indentation 2009-01-17 04:01:39 +00:00
Bharat Mediratta d568a1e9fd Implement relevance ranked boolean searching on a full text index of
item and comment data.  Whew!

It's not pretty yet.  And you have to manually update the index
currently in admin/maintenance.  But it works.
2009-01-17 00:52:50 +00:00
Bharat Mediratta 91be7a38f8 Clear the "akismet is not configured" message on uninstall. 2009-01-17 00:39:38 +00:00
Tim Almdal 71db2ca32a Add a scaffolding tab that allows packaging up the installation for installation. At the moment, it just creates an *.sql table for each defined table. I still need to zip this and put some install code around it so it is self installing. The ajax call will build the tables, but it doesn't return the resilt correctly. What it does is return my json response(expected) and the entire welcome.html page as well (unexpected) and i'm havinf trouble figuring out why. Something stupid i bet 2009-01-16 23:58:48 +00:00
Chad Kieffer a7b6409b74 Reverted jQuery back to 1.2.6, UI back to RC4. Need to test more thoroughly next time. Sorry. 2009-01-16 07:51:31 +00:00
Chad Kieffer 780682c04a Updated to jQuery UI 1.6rc5 (requires jQuery 1.3 now) 2009-01-16 07:39:42 +00:00
Chad Kieffer 2b0b21d76d Updated to jQuery 1.3. Change needs to be pushed to vendor branch. 2009-01-16 07:38:19 +00:00
Chad Kieffer ce70ab3785 Comment and code format fixes 2009-01-16 07:22:30 +00:00
Chad Kieffer e749e6cf3e Added drop target style, other minor admin dashboard style updates. 2009-01-16 06:45:25 +00:00
Bharat Mediratta 622da5f3cd Rename Task to Task_Definition to avoid confusion with Task_Model.
Order the finished tasks by update time in the task list.
2009-01-16 05:01:22 +00:00
Bharat Mediratta 72fa5736ff Rename Change xxx_task::available() to xxx_task::available_tasks()
Fix a bug in admin_maintenance.html.php where we were only showing the first task
2009-01-16 04:49:56 +00:00
Bharat Mediratta b2e37f20c7 Move graphics::rebuild_dirty_images to core_task::rebuild_dirty_images 2009-01-16 04:35:35 +00:00
Bharat Mediratta 2352dd162a Break task definitions out into the <module>_task helper and create a
Task library class as a data structure to hold task definitions.
2009-01-16 04:31:41 +00:00
Bharat Mediratta 2920640c2b Fix validation when adding new comments.
Fire off the appropriate item_related_update events as appropriate.
2009-01-16 04:06:03 +00:00
Bharat Mediratta ecf94c74d8 Update event handlers to reflect new item event names 2009-01-16 03:54:24 +00:00
Bharat Mediratta 23b0ee3628 Don't try to check comments if Akismet lacks an API key 2009-01-16 03:50:51 +00:00
Bharat Mediratta ec272821bb Don't show breadcrumb if there are no parents, not just on pages that aren't tags 2009-01-16 01:07:32 +00:00
Chad Kieffer 3e5ef37ee8 Make admin dashboard blocks draggable. Updated order and position not yet saved. 2009-01-16 00:55:36 +00:00
Andy Staudacher e4a9b19bf9 Changing t() placeholder syntax from {{replace_me}} to %replace_me. 2009-01-15 10:02:41 +00:00
Andy Staudacher e53916dd06 Simplifying the way t() is called. Refactoring localization function t($message, $options=array()) into 2 separate functions:
- the new t($message, $options=array()) is for simple strings, optionally with placeholder interpolation.
- t2($singular, $plural, $count, $options=array()) is for plurals.
2009-01-15 09:30:15 +00:00
Chad Kieffer 0bbde9e059 Added gQuick to album_top, started implementation, but incomplete so far. Need edit album methods added to the quick controller. 2009-01-15 06:19:26 +00:00
Chad Kieffer e7d7396f7a Minor display updates for quick edit menu. 2009-01-15 04:32:34 +00:00
Bharat Mediratta 5bfde5ceb8 Rename 'xxx_changed' events to 'xxx_updated' 2009-01-15 02:53:13 +00:00
Bharat Mediratta 034f30190e Rename 'xxx_changed' events to 'xxx_updated' 2009-01-15 02:52:42 +00:00
Bharat Mediratta ad4f495e56 Rename events
album_created, photo_created  -> item_created
  album_updated, photo_updated  -> item_updated
2009-01-15 02:51:16 +00:00
Bharat Mediratta 73c52c7140 whitespace fix. 2009-01-15 02:15:10 +00:00
Bharat Mediratta 2d7ab6f4da Create Item_Model::thumb_tag() and Item_Model::resize_tag() to provide
an abstraction for when we add movie support.
2009-01-14 07:21:35 +00:00
Chad Kieffer c383b2fc35 Visually attach the quick edit menu to the thumbnail container. Added more edit options (move, select as album cover, delete, additional options).
Need to decide which belong in the bar and which belong in a dropdown menu under "options."
2009-01-14 06:36:47 +00:00
Bharat Mediratta 2a7d4b4365 Remove the redirect to the installer; if we don't have a var dir this results in an infinite redirect. Let's put this back in when the installer works. 2009-01-14 05:07:52 +00:00
Bharat Mediratta 4dbb14a0a8 define $arguments so that we don't have an error. 2009-01-14 04:30:19 +00:00
Bharat Mediratta 84ea7eefdc Delete DIRECTORY_SEPARATOR fixups. We're not on Windows. 2009-01-14 04:28:19 +00:00
Bharat Mediratta 9f0c33fdbd priviledge -> privilege 2009-01-14 04:26:03 +00:00
Bharat Mediratta 891bcd231b dir -> die 2009-01-14 04:14:35 +00:00
Bharat Mediratta f3ba69c1d6 Make sure that helper functions are all static. Add new
File_Structure_Test to make sure we don't regress.

According to the PHP docs, the "public" keyword is implied on static
functions, so remove it.  Also, require private static functions to
start with an _.

http://php.net/manual/en/language.oop5.visibility.php
2009-01-14 04:12:02 +00:00
Tim Almdal 02af2d8b76 The installer. At this point, the core installs, the user module defines groups and users, but dies when attempting to create default permissions 2009-01-14 03:38:51 +00:00
Tim Almdal 383ec9c22c Initialize the model_cache:: as an array and use sub arrays to maintain the cache 2009-01-14 03:22:17 +00:00
Tim Almdal 7305026fd8 make model_cache::get() a static function 2009-01-14 02:34:39 +00:00
Bharat Mediratta ca36a04f28 Fix preamble 2009-01-14 01:20:42 +00:00
Tim Almdal c9e6b1ef44 Correct the initial value get active blocks 2009-01-14 00:22:17 +00:00
Tim Almdal 7043d17040 Since module_Core is static the methods, get_var, set_var, etc should be static 2009-01-14 00:09:33 +00:00
Chris Kelly 1fb85dfac5 moved graphics toolkit logo images to g3. approval to redistribute from each project is in my email archives if this comes up in the future 2009-01-13 14:58:02 +00:00
Bharat Mediratta 074cbd860d Call 'site' themes 'Gallery' themes since site means less to users. Fix swapped messages 2009-01-13 11:00:46 +00:00
Bharat Mediratta 38ddf559f0 Put up a nice message if there are no other themes available to
choose.
2009-01-13 10:57:38 +00:00