Bharat Mediratta
c15e4c61a3
Proxy the url through _auth() to user::get_login_form()
2009-03-16 08:05:44 +00:00
Bharat Mediratta
54e07d0769
Get rid of the extra robust code we had in here to make the
...
scaffolding work when the Gallery wasn't installed yet. Now we force
users through the installer.
2009-03-16 08:05:07 +00:00
Bharat Mediratta
784adf835e
clean up style attr
2009-03-16 07:16:54 +00:00
Bharat Mediratta
401c701369
Remove unnecessary slash from url::site() arg.
2009-03-16 07:07:40 +00:00
Chad Kieffer
c377ffc2a5
Ticket #97 . Applied button css where missing. Minor form css improvements.
2009-03-16 05:50:05 +00:00
Chad Kieffer
542ab6db1f
Combined "Logged in as..." and "Modify Profile" to by just "Logged in as FullName"
2009-03-16 04:54:00 +00:00
Bharat Mediratta
83912bce20
Missed this in the last commit
2009-03-16 04:42:39 +00:00
Bharat Mediratta
736d74d05f
Clean up the login, maintenance login and required-top-level-login code.
...
We now have two clear and separate login approaches:
login/ajax
login/html
Choose the one that's appropriate. Totally simplified the maintenance
page to be separate from the theme and dead simple, and use login/html
approach there. Totally simplified the top level login
(login_page.html.php) to just be a login page, not the rest of the
chrome on the page and use the login/ajax approach there.
Don't use access::required in albums and then catch the exception,
instead use access::can and check the return code.
Improve the text for maintenance mode.
2009-03-16 04:33:45 +00:00
Bharat Mediratta
cbc7c870fa
Stop loading jeditable-- we don't use it anymore
2009-03-16 04:30:17 +00:00
Bharat Mediratta
8abf48dd79
Move atom, developer, polar_rose and gmaps modules into gallery-contrib
2009-03-15 22:23:04 +00:00
Tim Almdal
bf4cd1b813
Move profiling and debugging out of the scaffolding and into the
...
developer module.
2009-03-15 20:35:24 +00:00
Tim Almdal
6ac6c6a7e0
Updates to the developer tool create module.
...
It now creates a fully functional sidebar block, a dialog pop up on
the option menu for albums or photos, a dashboard block and an admin
screen.
2009-03-15 19:27:30 +00:00
Tim Almdal
7c5ba9d422
Refactored the developer module. When a new module is generated a
...
skeleton adminstration page is generated as well.
@todo is still generate a skeleton block and a skeleton dialog.
2009-03-15 05:15:45 +00:00
Bharat Mediratta
1071b91409
Use relative urls for the feed links.
2009-03-14 18:42:01 +00:00
Tim Almdal
a3c513b786
* remove debug code
2009-03-14 02:21:38 +00:00
Tim Almdal
229eca2918
* Allow module names with spaces
...
* remove debug code
2009-03-14 02:16:06 +00:00
Tim Almdal
74768e4cea
The first incarnation of the developer tools. This allows the user to
...
enter a module name, a description and pick the call backs and or
events they want to support and generate the basic module skeleton
with one click.
@todo: clone a module, clone a theme, generate skeleton controller,
view,
2009-03-13 22:15:16 +00:00
Bharat Mediratta
70390e83f8
Make the exif_key value size 1k
2009-03-13 04:09:28 +00:00
Tim Almdal
85f2c6b666
Move the setting of the page title into the controller that is
...
creating the page. Provide for a default page title if none is
set. This allows less changes to page.html.php as different modules
want to change the page title.
2009-03-12 16:06:13 +00:00
Tim Almdal
b82b60c91a
Rename tag.html.php to dynamic.html.php as part of ticket #115
...
creating Dynamic Albums. This name change reflects the usage better
and allows multiple dynamic albums (including tags) to use the same
page template.
2009-03-12 15:40:08 +00:00
Tim Almdal
7dae7dc510
Strip down the loin page (not sure if this is what bharat had in mind)
2009-03-12 03:54:17 +00:00
Tim Almdal
e58b955d4a
Bag the header("Location:", ...);exit() and replace with
...
url:site(url::abs_file(...))
Create a login_page.html to be used when there is no guest access to
the root album. It doesn't have a sidebar nor breadcrumb.
2009-03-11 21:07:21 +00:00
Tim Almdal
4d5679b749
Fix ticket #119 . Display the full name of the user in the same block
...
as the Modify profile and logout links.
2009-03-11 15:00:57 +00:00
Tim Almdal
a521d9177f
Force a login if everybody does not have access to the root
...
item. ticket #118 .
2009-03-11 13:58:38 +00:00
Tim Almdal
8da729cfa1
Refine the task api but removing the optional parameters on the
...
task::create method call
2009-03-11 03:14:52 +00:00
Tim Almdal
5c82ce33a2
Refactor the server add module to make use of the task api (Ticket
...
#125 ). Haven't quite figured out what to do with the errors in the
context. Maybe they should show on the mainenance screen?
2009-03-10 21:30:33 +00:00
Bharat Mediratta
068c44e201
access::allow/deny/reset functions will now throw an exception if you
...
don't pass in a Group_Model as the argument. This prevents us from
setting permissions on the wrong group by accidentally passing in a
User_Model.
2009-03-10 20:34:32 +00:00
Tim Almdal
5da29b8837
Fix for ticket #135
2009-03-09 16:03:48 +00:00
Tim Almdal
83563ac91a
Fix for ticket #133 : If $max_pages is zero don't try to redirect to
...
max_page, just return an empty feed.
2009-03-09 15:10:22 +00:00
Bharat Mediratta
caa0a6d47f
Don't show the description field if there's no description
2009-03-09 07:54:37 +00:00
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
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
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
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
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
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
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
Bharat Mediratta
23b0abb974
Redefine the batch API to be very very simple. You call
...
batch::start() before starting a series of events, and batch::stop()
when you're done.
In batch mode, the notification module will store up pending
notifications. When the batch job is complete, it'll send a single
digested email to each user for all of her notifications.
Updated the scaffold and local_import to use this. Haven't modified
SimpleUploader yet.
2009-03-04 08:51:49 +00:00