Commit Graph

659 Commits

Author SHA1 Message Date
Bharat Mediratta
3193c19ca9 Remove unneeded code. 2009-02-27 05:40:29 +00:00
Bharat Mediratta
cd0f9a5d6c Optimize the code by ditching the count query; we don't need it. 2009-02-27 05:39:51 +00:00
Tim Almdal
0b055835fd Remove commented code
Correct unbalanced brackets
2009-02-27 02:50:07 +00:00
Tim Almdal
acdc724fc8 Continue the journey of replacing raw sql with ORM or Database method
calls (Ticket #68)
2009-02-27 00:34:50 +00:00
Tim Almdal
2b1f68a654 Continue the journey of replacing raw sql with ORM or Database method
calls (Ticket #68)
2009-02-27 00:19:12 +00:00
Tim Almdal
d097b4fc02 Update to image_block based on bharat's feedback
1) move the rand_key column into core
2) don't do a max rand, just try to a get a random number less than
the current random number if that doesn't successd look the other way
2009-02-26 23:38:17 +00:00
Tim Almdal
960c4248de Replace ORM->select(count(*)) with a call to Database::count_records 2009-02-26 21:23:35 +00:00
Tim Almdal
eb589fcce8 Delete unused code 2009-02-26 19:11:50 +00:00
Tim Almdal
2042a4914b Implement fix for ticket #103. If there is no exif data, don't
display the "Show more Information Button".
2009-02-26 16:57:00 +00:00
Tim Almdal
f6169047b1 Fix up add from server:
1) Upload requests are serialized so we don't over load the server or get
race conditions occurring.  
2) new albums are created based on the file structure of the
authorized path that is the source directory.
2009-02-26 16:27:23 +00:00
Tim Almdal
63b3b505c1 Remove debugging statement 2009-02-26 16:02:43 +00:00
Tim Almdal
f87e1de3ec Implement a random image block for the side bar. Ticket #13 2009-02-26 15:02:04 +00:00
Bharat Mediratta
df7b05b40e Move tag CSS into admin theme's screen.css
Use JS to add titles to avoid repeating the same text 10s of times.
2009-02-26 03:38:56 +00:00
Bharat Mediratta
07310c8499 Add slightly more visual feedback when you're hovering over a
draggable user.  Also, drag the icon and name not just the icon.
2009-02-26 03:05:29 +00:00
Bharat Mediratta
11a7b6b751 Minor code simplification. 2009-02-26 02:09:41 +00:00
Bharat Mediratta
d83d753c7b "Import" -> "Add" so that the menu option fits on one line. 2009-02-26 01:48:19 +00:00
Tim Almdal
ec2a032604 Add closing ) 2009-02-25 16:17:34 +00:00
Bharat Mediratta
515c081f79 Add support MP4 movies also. Flowplayer supports them and can stream
them using the h264streaming plugin.  Everything else is a fairly
minor change.
2009-02-25 05:27:29 +00:00
Tim Almdal
550d46da66 Added a block to the siebar that lists the available feeds 2009-02-24 19:19:58 +00:00
Tim Almdal
5b35490be1 Major change to local import, in that checking the high level
directory will process all the files underneath w/o having to expand
the tree first.
2009-02-24 16:47:45 +00:00
Andy Staudacher
e031957354 File structure style fixes 2009-02-24 05:54:19 +00:00
Andy Staudacher
41600a982f Fix bootstrap / installation issue for unit test framework:
Install user module before installing other modules. E.g. local_import's installation routine depends on the user module to be installed.
2009-02-24 05:27:07 +00:00
Tim Almdal
9bba87ddc5 remove the extension and just use the IMAGETYPE_xxx constants 2009-02-24 01:24:11 +00:00
Tim Almdal
4b08146c45 A couple of references to media_rss that were overlooked 2009-02-23 19:19:16 +00:00
Tim Almdal
e2f2ff4a7f Change the way movies are presented in the feed. Couldn't figure out
how to embed the object in the feed, so the recieve will still have to
click on the thumbnail to see the move.  Instead of actually playing
in the feed reader.
2009-02-23 18:41:22 +00:00
Tim Almdal
2ed850652b Fix problem that movie::create was never being called. But strangely
enough photo::create would actually add the movie properly :-)
2009-02-23 15:06:24 +00:00
Tim Almdal
679b8c3971 Include jpg as valid graphic files 2009-02-23 14:45:09 +00:00
Tim Almdal
ad7b066f48 Change the media content for video. I don't think its quite right
yet, but that's maybe because I'm not generating thumbnails
2009-02-23 06:00:41 +00:00
Tim Almdal
05308a94b1 Use IMAGETYPE_xxx to filter file types 2009-02-23 05:59:13 +00:00
Chad Kieffer
cd8d1c6582 Temp fix for photostreamin admin dashboard, other miscellaneous css fixes. Apply jQuery UI button css to submit inputs in the admin theme. 2009-02-23 05:14:05 +00:00
Bharat Mediratta
490a182f85 Move admin menu under settings
Don't try to show the local_import link if there's no options menu.
2009-02-23 04:54:24 +00:00
Bharat Mediratta
e83c2b3f8d Revert to using IMAGETYPE_XXX constants (at least for now) 2009-02-23 04:29:10 +00:00
Tim Almdal
3ced35929c Fix broken slideshow 2009-02-23 04:08:26 +00:00
Tim Almdal
b6e17eb139 1) Updated the media feed with new fields
2) Created a comments feed (/rss/comments)
3) Created a updates feed (/rss/updates)

User interface to follow
2009-02-23 02:47:29 +00:00
Chad Kieffer
1ef090cd15 Remove second Add User button, don't need it, at least not now. 2009-02-23 01:51:18 +00:00
Jakob Hilden
7d96448ecb added additional comment link, if no comments have been made yet. 2009-02-23 00:46:25 +00:00
Bharat Mediratta
f5169dd451 Leave the comments title around, but add the "Be the first to comment"
message below it.
2009-02-22 20:16:56 +00:00
Bharat Mediratta
a83b6e9180 Adjust the title based on whether or not there are comments. 2009-02-22 20:09:17 +00:00
Tim Almdal
95fc61c9a8 Standardize to uppercase DESC in the order by method calls 2009-02-22 17:36:58 +00:00
Tim Almdal
d61691fd95 Removed the full-size enclosure tag and fixed alignment of the content tag. 2009-02-22 16:56:37 +00:00
Tim Almdal
eece67611e Added "flv" to the list of the supported files 2009-02-22 16:14:10 +00:00
Bharat Mediratta
2505bd1579 Hardcode extensions instead of using Image::$allowed_types because we
don't support TIFF files.  TIFF files are not viewable directly in
most browsers
2009-02-21 20:58:02 +00:00
Tim Almdal
855eadb92f Standardize the html id of the progress bar to gProgressBar 2009-02-21 16:54:23 +00:00
Tim Almdal
b6f0d17565 Change the name of the model from exif_info to exif_record So item
deletes won't fail.
2009-02-21 16:41:35 +00:00
Tim Almdal
5c30510ac4 Correct the layout of the feed so that the image shows up in the body
of the message in the feed reader.
2009-02-21 07:04:25 +00:00
Tim Almdal
c2fa42cf6c Implementation of local import module. Still need work on better
status messages.
2009-02-21 02:28:19 +00:00
Tim Almdal
af2f7f2c56 Use Image::$allowed_types instead of array(IMAGETYPE_GIF,
IMAGETYPE_JPEG, IMAGETYPE_PNG) as IMAGETYPE_GIF, IMAGETYPE_JPEG and
IMAGETYPE_PNG are not defined as constants
2009-02-20 19:04:58 +00:00
Chad Kieffer
5dcf2794c5 Fixes to comment admin buttons. 2009-02-20 07:10:20 +00:00
Tim Almdal
8b2c05afc0 1) Rename the module media_rss to rss
2) Protect the fullsize image with a permission check
3) Added a content:encoded element to each item which allows the image to show up in the body of the feed.
2009-02-19 15:24:17 +00:00
Andy Staudacher
237656f6c8 Differentiate between available and installed languages. Provide admin UI to install languages.
See: https://apps.sourceforge.net/trac/gallery/ticket/75 (first step for this task)
2009-02-19 08:48:14 +00:00