summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-04Rename the get_url function in organize.js so that it doesn't collide with theTim Almdal
one in server_add
2009-07-04Lets try the BBCode conversion again... go with basic tags even if some areTim Almdal
deprecated.
2009-07-04Forgot this file when i was fixing #477Tim Almdal
2009-07-04Change the BBCode Transformation to use the <span class=""> where possibleTim Almdal
2009-07-04Revert "Change the bbcode transformation to more standard tags that can be"Tim Almdal
This reverts commit 4ba022438e29dd305435a18e94a0bc08b5dd76a4.
2009-07-04Change the bbcode transformation to more standard tags that can beTim Almdal
easily style via css
2009-07-04Use TMPPATH in the purifier config instead of var/tmpTim Almdal
2009-07-04Found another place that p:purify was required.Tim Almdal
Generalize the dynamic.html so it doesn't require a tag element
2009-07-04Fix for ticket #477. Use nl2br method when rendering comment::text andTim Almdal
item::description. In addition add p::clean or p::purify to places that xss cleaning had missed (i.e. rss feeds)
2009-07-03Split the clean method into two clean and purify. clean is a light weightTim Almdal
approach using html::specialchars and purify uses HTMLPurifier to intelligently cleanse the output fields. Use purifier for text and title fields where it is likely that a user would enter html to format their data.
2009-07-03Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-03Ticket 104: Adding "Copy sourc text" button to l10n UI (usability / ↵Andy Staudacher
productivity improvement)
2009-07-03Ignore lib/ folders in l10n_scanner task.Andy Staudacher
1. Because it makes sense. 2. As a quick fix - For some reason it wouldn't work properly anymore now with the HTMLPurifier lib
2009-07-03Fix for ticket 510: i18n fixes - localize module / theme name in some status ↵Andy Staudacher
messages
2009-07-03Update the source so the third party code passes the File Structure TestTim Almdal
2009-07-03Fix for ticket #400: Add HTMLPurifier to gallery3 and change p::clean() to ↵Tim Almdal
call HTMLPurifier->purify()
2009-07-03Fix for ticket #400: Add HTMLPurifier to gallery3 and change p::clean() to ↵Tim Almdal
call HTMLPurifier->purify()
2009-07-03Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-03Fix for #364 = G2 Import Doesn't support markupTim Almdal
Create a _transform_bbcode which coverts the g2 bbcode to html. The html won't be rendered until ticket #400 is implemented as pclean() excapse the html
2009-07-03Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-02Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-02Fix for ticket 470. Replace ReCaptcha with reCAPTCHA in user visible strings.Andy Staudacher
2009-07-02Use Unicode characters (looks better to translator, and fixes normalization ↵Andy Staudacher
issue in translation server)
2009-07-02Fix for ticket #359 and a partial fix for ticket #345.Tim Almdal
In G2, text strings have the &, ", < and > replaced by &amp;, &quote;, &lt; and &gt; respectively. Created the _decode_html_special_chars method in helpers/g2_import.php to revert these character strings.
2009-07-02Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
Conflicts: modules/server_add/controllers/admin_server_add.php
2009-07-02Temporary version add() that just dumps out the values for now.Bharat Mediratta
2009-07-02@todo if we uncheck all the children for a parent, we should uncheck theBharat Mediratta
parent itself, otherwise in the code we'll add the entire parent since if we find an album as a leaf, we assume that it's never been expanded in the UI.
2009-07-02Properly manage disabled state for the [add] button.Bharat Mediratta
2009-07-02Only enable the [add] button when boxes are checked.Bharat Mediratta
2009-07-02Add some jsDoc.Bharat Mediratta
2009-07-02Partial pass of server_add cleanup. It's broken at this stage sinceBharat Mediratta
I've redone the browsing code but I have not implemented the adding code. 1) Rename index() to browse() since index is too generic. 2) Simplify the data that we pass to _dialog and _tree 3) Change _tree to return list items only, so that the outer dialog can be a <ul> for consistency. 4) Simplify the data structures so that we're not tracking checked vs. unchecked status in the PHP code, it's all done in jquery where we can do it with just a line or two of JS 5) use glob() which pretty much entirely replaces _get_children
2009-07-02Fix for ticket #390.Tim Almdal
Added a call to GalleryCoreApi::fetchItemViewCounts to retrieve the gallery2 view counts forthe imported items.
2009-07-02Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-02Suppress the filesize error if the thumbnail is not found so we can getTim Almdal
an EMPTY_INPUT_FILE exception which we can then log and continue. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-02Start of fixing a problem with importing movies w/o a thumbnailTim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-02Fix for ticket #357.Tim Almdal
Changed the set the created date as part of the import and change models/comment::save() to not set the creation date if it is already set. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-02Suppress the filesize error if the thumbnail is not found so we can getTim Almdal
an EMPTY_INPUT_FILE exception which we can then log and continue.
2009-07-02Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-02Eliminate temporary variables by passing the $item into the view andBharat Mediratta
making API calls on the item.
2009-07-02Remove empty <script> block.Bharat Mediratta
2009-07-02ORM::Factory -> ORM::factoryBharat Mediratta
2009-07-02In remove_path(), if the path is invalid don't echo it back in the UI.Bharat Mediratta
2009-07-01Start of fixing a problem with importing movies w/o a thumbnailTim Almdal
2009-07-012 fixes:Bharat Mediratta
1) Include the url in the cache key so that if the Gallery moves, we don't use old cached entries. 2) Use the relative path to files in the comments that we embed in our files so that we don't leak local paths.
2009-07-01Fix for ticket #357.Tim Almdal
Changed the set the created date as part of the import and change models/comment::save() to not set the creation date if it is already set.
2009-07-01Updated to Exifer r4159Tim Almdal
2009-07-01Add the partner id to the message being sent to digibugTim Almdal
2009-07-01Fix a bunch of XSS vulnerabilities turned up by manual inspectionBharat Mediratta
using the checklist in ticket #385.
2009-07-01Reapply c65bfb5a10b125b2cf04ebd5c5d1b58051281f8c without extraBharat Mediratta
whitespace changes.
2009-07-01Revert "Fix for ticket #437"Bharat Mediratta
This change had unintentional whitespace changes. Reverting for now, will reapply it. This reverts commit c65bfb5a10b125b2cf04ebd5c5d1b58051281f8c.