openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
CompactCMS
Settings
|
Report Duplicate
1
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
1 day
ago. based on code collected
1 day
ago.
Aug 15, 2024 — Aug 15, 2025
Showing page 4 of 7
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
security part IV.b:
Ger Hobbelt
More...
almost 15 years ago
security part IV.1: partial move to getGET/POSTparam4xyz() calls instead of using $_GET/$_POST values directly. This should cut down nicely on the number of SQL injection and CSRF holes in here.
Ger Hobbelt
More...
almost 15 years ago
A slew of fixes (and some enhancements) for the MySQL db class: - more consistent & rigorous error checking - in the same line: better/early error propagation, i.e. errors are detected early and methods terminate ASAP. - all parts of the query building process now not only accept arrays but also literal strings as an alternative; that way specific parts of a query string can be prepared outside the method/class. This is useful for COUNT() queries such as this one: $total = $db->SelectSingleValue($cfg['db_prefix']."modcomment", array('pageID' => MySQL::SQLValue($pageID, MySQL::SQLVALUE_TEXT)), 'COUNT(commentID)');
Ger Hobbelt
More...
almost 15 years ago
HTML encode fix in contact.php: <> --> <>
Ger Hobbelt
More...
almost 15 years ago
Specify which is the default (slot [0]) template in config.inc.php -- no installer GUI addition for this yet.
Ger Hobbelt
More...
almost 15 years ago
fix: always ensure the set of templates is in a KNOWN order with the default (ccms) template ALWAYS in array slot [0], no matter what the names of your other templates are OR what the order of appearance is thanks to the current opendir/readdir whim -- on networked drives at least (and on some local disks as well!) these two do NOT guarantee a order, so we MUST sort the collective before handing it off to the rest of CCMS -- which assumes the ccms default template sits in slot [0] (in the CCMS admin code at least).
Ger Hobbelt
More...
almost 15 years ago
sounds like someone had a wicked problem once... $loc path ambiguity resolver removed in lieu of the regular way of doing this in CCMS.
Ger Hobbelt
More...
almost 15 years ago
';' semicolon missing in PHP statement (pedantic, I know. :-) )
Ger Hobbelt
More...
almost 15 years ago
edit_area JS: updated to bleeding edge 0.8.2
Ger Hobbelt
More...
almost 15 years ago
add .gitignore
Ger Hobbelt
More...
almost 15 years ago
tinyMCE: updated to bleeding edge 3.3.9.2
Ger Hobbelt
More...
almost 15 years ago
Language setup fix: now the code in sitemap has been wrapped in a function, so that the modules (comment and news) can access the same feature as well. Leads to better language handling in non-English settings when you don't want to fall back to the hard-coded English default but to your global CCMS language default instead.
Ger Hobbelt
More...
almost 15 years ago
template engine: setTemplate() member now accepts optional extra leadin and leadout strings.
Ger Hobbelt
More...
almost 15 years ago
Template engine: wee regex tweak
Ger Hobbelt
More...
almost 15 years ago
Dragged the template engine into the 21st century OO-wise: methods and members are now properly marked protected/public/public-static in the code, instead of just a comment here and there. PHP is buggerit-buggerit-buggerit millenium hand&shrimp already enough as it is, no need for more, ah, ambiguities.
Ger Hobbelt
More...
almost 15 years ago
Template engine code: fixed typo in the comments.
Ger Hobbelt
More...
almost 15 years ago
Template engine: setParams() methods now reports success or failure to set the specific parameters. Plus more rigorous checking whether the specific argument is indeed a usable class instance (i.e. has a 'getVar()' method).
Ger Hobbelt
More...
almost 15 years ago
split() is listed as DEPRECATED by PHP.NET; updated code in template engine.
Ger Hobbelt
More...
almost 15 years ago
Added the 'recursive variable' feature to the template engine: immediate benefit: the template engine can now peruse the language-specific texts in $ccms.tpl.html['lang']['abc']['xyz'] as loaded from /lib/languages/
Ger Hobbelt
More...
almost 15 years ago
A little side note how to restore some code I just stripped out (not available in git anywhere!): I was completely stumped about why the captcha wasn't working like it should, so I added special code at the /*MARKER*/ places to track who included what, when.
Ger Hobbelt
More...
almost 15 years ago
security part III : die horribly when you're not supposed to start with this PHP file...
Ger Hobbelt
More...
almost 15 years ago
'captcha' --> 'ccms_captcha' to prevent collision in the session variables plus updated the contact.php sample page to actually CHECK the captcha server-side like it should.
Ger Hobbelt
More...
almost 15 years ago
rand() to mt_rand(): a better random. Not that it matters a lot...
Ger Hobbelt
More...
almost 15 years ago
Fixed bug where JS/CSS encoding would not be detected in the combiner when the cache is DISabled ($cache=false).
Ger Hobbelt
More...
almost 15 years ago
copyright notice added -> identical to the other files. (Did add it to the 'experimental' branch as well; was a mistake that's actually not a bad mistake :-) )
Ger Hobbelt
More...
almost 15 years ago
security fixes part II:
Ger Hobbelt
More...
almost 15 years ago
Security fixes part I: define("COMPACTCMS_CODE") + BASE_PATH
Ger Hobbelt
More...
almost 15 years ago
added lightbox related language entries (English only)
Ger Hobbelt
More...
almost 15 years ago
* Bug in lightbox: when multiple albums are assigned to a single page, only the 'first' one shows up, ever * Couple of oddities in the code fixed as well - call it cleanup (including encoding various POST/GET params on the way in)
Ger Hobbelt
More...
almost 15 years ago
Bug in admin backend: backup/restore page. Fix attached in form of zipped patch file (as produced by Beyond Compare 3.x)
Ger Hobbelt
More...
almost 15 years ago
←
1
2
3
4
5
6
7
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree