Commit Graph
1716 Commits
Author SHA1 Message Date
Bharat Mediratta 622358ebc8 Fix the progress param to be an actual boolean to resolve a JS error. 2009-03-09 07:12:04 +00:00
Bharat Mediratta f32f1697c9 Get rid of Task_Definition types: they're not necessary. This
incidentally fixes the the problem that admin/maintenance tasks have
been broken.
2009-03-09 07:02:09 +00:00
Bharat Mediratta 4fed34873a Don't let graphics::resize() upscale images.
Fixes ticket #117.
2009-03-09 06:59:05 +00:00
Bharat Mediratta b8cf195be8 Don't forget to clean up temp files after uploading.
Fixes ticket #120.
2009-03-09 04:11:15 +00:00
Bharat Mediratta 2aaf263b9e On second thought, make the description column varchar(2048) instead.
If I understand correctly, this is better for performance.  I could be
wrong here, though.
2009-03-09 03:33:49 +00:00
Bharat Mediratta 1ad7ca639d Make the description a text column so that we can handle much larger
descriptions.
2009-03-09 03:29:22 +00:00
Bharat Mediratta 445f18fb51 Tweak abs_file() and abs_site() to generate https urls as appropriate.
Fixes ticket #125
2009-03-09 02:07:58 +00:00
Bharat Mediratta 198297e0d4 Instead of putting after_install in the url, put it in the session.
This helps us to make sure that we only see the welcome message once.
2009-03-09 00:03:04 +00:00
Bharat Mediratta 72c7fed975 Log the user in as admin after running the web installer, and give
them a nice "Welcome to Gallery 3" dialog.  The text in there needs a
little work but it's a start.

In the process, re-build the install.sql using the scaffolding code.
2009-03-08 21:21:09 +00:00
Bharat Mediratta 7cbc904be7 Post process the sql generation code to support prefixes 2009-03-08 21:11:01 +00:00
Tim Almdal 8f1e90d837 Update sort order processing per Bharat's feedback
* Remove mime type and type as sortable fields
* Change the internal representation to serialized array
* Shorten the database field to varchar(64)
2009-03-08 19:10:08 +00:00
Tim Almdal 39954ad0b7 Implement Sortable albums. Current sort fields include (Creation
Date, Update Date, Random Key, Title, Mime Type, Item Type & Number of views)
2009-03-08 16:29:01 +00:00
Tim Almdal bf6c814e81 Undo... pass any additional parameters to the _edit_form method 2009-03-08 07:55:37 +00:00
Tim Almdal 186eeb8e20 Pass any additional parameters to the _edit_form method 2009-03-08 07:42:06 +00:00
Bharat Mediratta 3c672bd865 Don't show the pager if there're no photos on the page. 2009-03-08 03:57:02 +00:00
Bharat Mediratta 2ef8e28198 Pass on_success through to ajaxify_dialog, resolving an bug created
in r20302.
2009-03-08 00:23:15 +00:00
Bharat Mediratta 3356091b65 Add in-request caching of vars that we've already looked up. We're
still doing too many database queries, but this cuts down some dupes.
2009-03-07 04:44:16 +00:00
Tim Almdal e96e26a12f Fix for ticket #130
1) Shuffled code around to create a on_form_loaded function
2) Check for a data.reset string in the json return.  If it exists and
is a function then call. The idea being that if there is an error we
might have to reset some jquery widget initialization.
2009-03-06 22:35:05 +00:00
Tim Almdal 8a6eb931de Undo local change for ticket #1170 2009-03-06 18:25:44 +00:00
Tim Almdal 6a33dd2c5c Include the ui.tabs.css in the theme css file 2009-03-06 17:49:46 +00:00
Tim Almdal a3b0adb1d5 Local fix to address Kohana ticket 1170 where form::open doesn't allow
specification of a put method. Only post and get are currently allowed.
2009-03-06 17:48:27 +00:00
Tim Almdal 1333c233aa Update jquery-ui to 1.7 and include the tab library 2009-03-06 16:41:22 +00:00
Chris Kelly 3ad7827786 oops. fix accidental style change that slipped into last commit 2009-03-06 02:36:04 +00:00
Chris Kelly 0678037687 Added json and filter as requirements 2009-03-06 02:22:51 +00:00
Tim Almdal ee1572f324 Added simplexml as a requirement 2009-03-06 02:17:12 +00:00
Tim Almdal f371c663c5 Fix for ticket #114 Permissions seem to be ignored 2009-03-05 17:16:38 +00:00
Bharat Mediratta 23937ff135 Avoid using default task types. Require task::get_definitions() to
specify a single type and ask for it appropriately in
admin_maintenance.  Specify a type for every existing task.
2009-03-05 06:38:11 +00:00
Bharat Mediratta 898ac3ac35 A little task restructuring 2009-03-05 06:28:23 +00:00
Bharat Mediratta 08d2fcb1f7 Fix some table names 2009-03-05 06:26:15 +00:00
Bharat Mediratta d93e216977 Don't clean out the authorized_paths var at install time, so that uninstall/reinstall doesn't mean starting over 2009-03-05 06:25:29 +00:00
Chad Kieffer 33eb05ef9a Applied jQuery UI buttons to quick edit pane. Not tested, but icons should display iin IE6 now. Rotate icons will need to be updated later. 2009-03-05 06:03:04 +00:00
Bharat Mediratta 05f22b47d8 Remove stray reference to server_add_dir_list.html.php 2009-03-05 02:29:02 +00:00
Bharat Mediratta 64b02026ed Cleanups.
- Show the "Server Add needs configuration" message whenever
  there are no paths.

- Un-ajaxify the admin code to remove complexity and allow us to
  update the status message as appropriate.

- Rename server_add_admin.html.php to admin_server_add.html.php
  for consistency.

- Fix up form to properly display error messages

- Get rid of server_add_dir_list.html.php now that we're
  non-ajaxified.

- Change delete <span> to an <a> for non-ajax world.
2009-03-05 02:26:39 +00:00
Bharat Mediratta ca2ddb0170 Minor cleanups. 2009-03-05 01:40:18 +00:00
Tim Almdal 46b752cbc7 Change how the urls are built in the java script 2009-03-05 01:22:27 +00:00
Tim Almdal 1fa05f1093 Clean up no authorized directoriesmessage 2009-03-05 00:50:11 +00:00
Tim Almdal 7786bb09d3 Implement a Maintenance mode as per ticket: #15 2009-03-05 00:32:33 +00:00
Tim Almdal 514e6658f6 Correct typo 2009-03-05 00:05:21 +00:00
Tim Almdal 2b9795ebf5 Remove addition options to the autocomplete call. No point in sending
csrf if we are not verifying it.  Remove the must match flag so
non-existent paths don't cause the input box to empty
2009-03-04 20:59:16 +00:00
Tim Almdal 705e6d62b7 Last of changes required from Bharat's 2nd review pass 2009-03-04 20:09:53 +00:00
Tim Almdal 8575e2b0d1 Continuation of the rename of jquery.autocomplete.pack.js 2009-03-04 19:50:08 +00:00
Tim Almdal 6d7fa5875a rename jquery.autocomplete.pack.js 2009-03-04 19:46:55 +00:00
Tim Almdal d477ffd575 Annotate local fix for Kohana ticket #1156 2009-03-04 18:58:32 +00:00
Bharat Mediratta 014999758e Updated Kohana to r4033 2009-03-04 18:15:56 +00:00
Tim Almdal c0e65b2029 move server_add styles into the theme screen.css files 2009-03-04 16:36:41 +00:00
Tim Almdal ef8c71417a Move the autocomplete js and css files to lib 2009-03-04 16:10:03 +00:00
Tim Almdal fbc650bddb Changed $uid to $tree_id, so not to confuse anyone between and acroynm
for unique identifier as opposed to user id. :-)
2009-03-04 16:01:18 +00:00
Tim Almdal f7d82ec52f Rename local_import module to server_add 2009-03-04 15:46:10 +00:00
Tim Almdal f16224ae82 Work around for Kohana ticket #1156
http://dev.kohanaphp.com/ticket/1156
2009-03-04 14:52:47 +00:00
Bharat Mediratta 234aa2b31d Implement batch support in a simple fashion to avoid having to change the swf file for now 2009-03-04 08:56:16 +00:00