Andy Staudacher
dce6548431
Add local localization functionality. Local = no means to upload / download translations to a translation server yet.
...
- Added an outgoing_translations table to store translations from the local translation UI.
- I18n class is checking incoming_ and outgoing_translations for translations, giving the latter priority.
- Not handling plural strings in the translations UI yet.
2009-02-09 08:42:13 +00:00
Andy Staudacher
fa1f49d99a
Adding translation UI. Not backed by any model yet (submissions are ignored).
...
The code is based on the l10n_client module from Drupal 6, by Gabor Hojtsy (http://drupal.org/user/4166 ).
2009-02-09 07:29:24 +00:00
Bharat Mediratta
3a83c4e76f
Properly implement changing the thumbnail and resized image sizes by
...
updating the graphics rules as appropriate.
2009-02-08 10:18:09 +00:00
Tim Almdal
1fc2307fab
rollback r20001-r19998, r19995. This may require a reinstall
2009-02-08 02:21:28 +00:00
Tim Almdal
4e107dac41
Implement fix for ticket #35 . *** Requires reinstall of core ***
...
* Added new field in items table (path) which is sanitized version of
name.
* Added __set method on Items_module to set the path field whenever
the name field is changed.
* Made some changes to the scaffolding so missing the path column
would not kill the scaffolding.
* Changed MY_url::site so not having a 3rd parameter won't throw an error.
2009-02-06 16:39:18 +00:00
Tim Almdal
80d4df3a4a
Convert all item->type == "album" to item->is_album()
...
Convert all item->type == "photo" to item->is_photo()
2009-02-06 03:47:36 +00:00
Bharat Mediratta
79dda6a0c2
Rename "welcome" controller to "scaffold" so that we can eventually
...
have a welcome page.
2009-02-05 08:39:12 +00:00
Tim Almdal
a70f3bf386
Have the quick delete file "item_before_delete" so that search and
...
notification modules can do their thing. In addition, correct search
so it works properly and doesn't try to create an Item_id_Model class.
2009-02-02 04:58:19 +00:00
Bharat Mediratta
b4f92c7de6
Add delete support as a quick-edit option
2009-01-29 09:26:39 +00:00
Bharat Mediratta
8d4b0afa4f
Support making an album the album cover for its parent
2009-01-29 03:14:43 +00:00
Bharat Mediratta
d2b4c636c2
replace title with level, for ease in diagnosing levelling issues.
2009-01-29 02:53:54 +00:00
Bharat Mediratta
2a9d48f8bb
Rename Admin_Themedetails -> Admin_Theme_Details
2009-01-27 07:47:55 +00:00
Bharat Mediratta
47067c72ea
Remove unused theme code left over from before virshu moved theme
...
settings into Admin_Themedetails.
2009-01-27 07:30:28 +00:00
Bharat Mediratta
1633001d7f
Update the album cover if necessary.
2009-01-25 07:58:58 +00:00
Chad Kieffer
55cd2afde5
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-24 20:06:13 +00:00
Bharat Mediratta
eed57674f9
Add move support. Use the move icon in the quick pane. You can't
...
move an item into its own hierarchy, or into an album where you don't
have edit permission.
2009-01-24 05:14:44 +00:00
Bharat Mediratta
f75a803cd6
Simplify this code. We know what the fields are, pull them by name so that we're clear about what actions we're taking. Return the form itself on validation failure, coupled with de-ajaxifying the form makes it render properly as an error when you enter bogus data.
2009-01-23 08:33:22 +00:00
Felix Rabinovich
37340bd7f6
Theme details. Save values 2
2009-01-22 02:59:19 +00:00
Felix Rabinovich
cd86c4ee77
Theme details. Save values
2009-01-22 02:25:10 +00:00
Felix Rabinovich
90666f7e04
Theme details. Initial release
2009-01-22 01:52:41 +00:00
Bharat Mediratta
a0456a9a47
Fix bug in add_to_group / remove_from_group where we were looking up users using Group_Model.
2009-01-21 08:14:18 +00:00
Bharat Mediratta
b9e8ce4190
Quick edit now lets you set the album cover.
2009-01-20 08:54:15 +00:00
Bharat Mediratta
3ba056d714
Add a quick edit pane for albums, too.
2009-01-20 07:11:14 +00:00
Bharat Mediratta
681197a265
Web based installer. It's still got some rough edges, but you can now
...
do a complete CLI or web based install.
2009-01-20 00:54:02 +00:00
Bharat Mediratta
fc8cf562f5
Fix up various little things to get File_Structure_Test to pass.
2009-01-19 07:26:25 +00:00
Bharat Mediratta
c136a2e84a
Packager now does a clean reinstall of just the packages we want, then
...
rebuilds the install.sql and init_var.php files accordingly.
2009-01-19 05:16:55 +00:00
Bharat Mediratta
8ec0e8471f
Drag and drop in the admin dashboard now saves the location.
...
* Make block_adder a real block
* Suppress the "close" link on block_adder
* Move the drag/drop JS into the core code out of the admin theme
2009-01-18 09:06:46 +00:00
Tim Almdal
119cf7e148
Correct the mkdir for the sub directories in var
2009-01-18 07:30:22 +00:00
Tim Almdal
4c13987e92
Change the database unload to unload all the tables instead of fooling
...
around with individual tables.
2009-01-18 07:18:41 +00:00
Bharat Mediratta
7b68ca9946
Refactor dashboard -> block_manager since it'll manage blocks site
...
wide, not just in the dashboard.
2009-01-18 06:55:04 +00:00
Tim Almdal
245cb11c58
Clean up the var directory creation script
2009-01-18 03:12:00 +00:00
Tim Almdal
b60e790e90
Here's the rest of the change, new tool and forgot to add some files :-)
2009-01-18 01:06:17 +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
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
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
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
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
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
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
35a529cd86
Change admin/themes to show both styles of themes side by side. This
...
eliminates the menu, which is kind of clunky.
While I'm at it, let's call the "regular" themes a "site theme" so we
have "site" and "admin" themes.
2009-01-13 10:53:06 +00:00
Bharat Mediratta
16bebdca06
Make the admin/graphics UI mimic admin/themes with a single selected
...
toolkit above, and other available ones below.
2009-01-13 04:56:29 +00:00
Bharat Mediratta
c5f77510a7
Refactor dashboard block handling out into a dashboard helper so that
...
module installers don't have to know the grotty details of how it works.
2009-01-12 08:51:54 +00:00
Bharat Mediratta
bc421a615a
Implement deleting dashboard blocks.
...
* Refactor blocks so that they have a separate id vs css_id. This way
we can have a unique identifier for each visual block.
* Store blocks with a random id as their unique identifier
* Add Admin_Dashboard::remove_block() and modify
themes/admin_default/views/block.html.php to call it when you click the
remove box.
2009-01-12 08:26:38 +00:00