Commit Graph
2082 Commits
Author SHA1 Message Date
Tim Almdal fd610589ed This implements table prefix for all the queries in core, user, exif,
tag, search, comment and notification modules (Ticket #68)
(missed this one)
2009-02-27 21:09:00 +00:00
Tim Almdal bd15853708 This implements table prefix for all the queries in core, user, exif,
tag, search, comment and notification modules (Ticket #68)
2009-02-27 21:07:18 +00:00
Tim Almdal 0b9fe18a6b Both the command line and web installer installer now supports
creating tables with a table prefix.
There are still some queries that haven't been converted, so don't
start using prefixes yet.  However, if you do, you can login and
modify the user profile.
2009-02-27 19:26:21 +00:00
Tim Almdal dc4f784558 * Refactor task management methods from admin_maintenance.php to
task.php
* Added a owner_id field to the task database
* Modified the admin maintenace to show the owner of the task
<<**** Requires a reinstallation of core ****>>
2009-02-27 16:28:20 +00:00
Tim Almdal c4cdecc05f 1) Change the image block so it has the correct url in the anchor tag.
2) Change the wrapping class to gImageBlock instead of gImage so the
quick kinks aren't enabled
2009-02-27 13:44:19 +00:00
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 ab973bd871 Replace the string [table_name] with {$prefix}table_name. Slowly
working through setting up the database access to support table
prefixes. (Ticket#68)

Before going ahead, just wanted to check this approach... whatcha think?
2009-02-27 03:25:29 +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 8d59f5b5fb Removed raw update sql and replaced it with Database::update(...)
calls. (ticket #68)
2009-02-26 20:43:56 +00:00
Tim Almdal 95a1842034 Remove the commented line $parent->$movie->parent() as the $parent
object was passed in as a parameter.
2009-02-26 20:23:40 +00:00
Tim Almdal 60c85384b4 Use the Database::update function instead of a raw SQL query 2009-02-26 19:49:28 +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 c3fcd3a79b Fix thumbnail and resize generation for photos. the variable $type had
never been set, so it was never equal to "photo" so no thumbnails were generated.
2009-02-26 16:12:09 +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
Tim Almdal 0929d41305 Added a check to insure that the resize or thumbs image files do not
exists. As per ticket #109
2009-02-26 14:53:01 +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 4f77e7bdce Support adding custom header/footer text to themes via admin/theme_details 2009-02-26 02:47:38 +00:00
Bharat Mediratta 30fdedfb50 Make theme details its own page so that we can wrap it in a div and
give it a title.
2009-02-26 02:38:32 +00:00
Bharat Mediratta 11a7b6b751 Minor code simplification. 2009-02-26 02:09:41 +00:00
Bharat Mediratta 021b50178e Change quote style. 2009-02-26 02:00:49 +00:00
Bharat Mediratta 1cb250ecc0 Minor cleanups. 2009-02-26 01:59:02 +00:00
Bharat Mediratta 5702556499 Minor style changes. 2009-02-26 01:56:00 +00:00
Bharat Mediratta 90a066a727 Make scaffold into a menu, move translation option into it and shorten
it so that it fits on one line.
2009-02-26 01:50:52 +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
Chad Kieffer 2e06250f9a Restore sidebar_top() 2009-02-25 06:54:41 +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 585ea81957 Fix for ticket #98.
The problem was that item::delete was deleting the parent album
2009-02-24 19:52:01 +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 2c5e06221b Minor README update for alpha 2 2009-02-24 06:54:30 +00:00
Andy Staudacher c5964c74cd Fix i18n create table sql (forgot to change core_install.php) 2009-02-24 06:10:40 +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 b40f25cbed Remove debugging information 2009-02-23 22:37:49 +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 c0049dce03 1) Optimize the loop in graphics::generate so it uses the $ops as the
key and path.  This way it won't try to generate a resize for movies.
2) Changed the options on the ffmpeg command in movie::extract_image
so we actually see a frame not the black one that starts the movie.
2009-02-23 17:13:58 +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