Show
Ignore:
Timestamp:
09/06/06 09:01:54 (6 years ago)
Author:
benoitg
Message:

filter content type according to various criteria. Will be used more
extensively in the profile manager.

  • Content manager: Use content type filter to only allow Simple

content types (Content without metadata) to be used for metadata.

banner adds, or any other image rotation. Size constraints not yet
implemented

  • Move externally maintained class.phpmailer.php, class.smtp.php

into lib where they belong

  • DateTime?.php: Make class handle an empty date sensibly.
  • Network.php: Show the network again when there is only one.

It was confusing in some screens.

  • page.php: Clarify error message, and set a more reasonnable

paging cascade:

5 min, 30 min, 2 hours, 1 day, 1 week, 1 month

  • Finally fix #127
  • At last, working content scheduled display and expiration for

ContentGroups?. Archiving does not yet have a UI. Content that expires
will simply seem to disapear.

  • Fix #247 (somebody filed a bug before I commited, conveniently

saving me the need to describe it).

  • The Fix for #106 in [1089] returned non-objects, causing error

messages and not displaying what it was meant to display.

Used Guest instead of Annonymous, which will probably be

used for different purpose in the future.

This re-fix does not include duplicate counting yet.

Splash users are not the only users that could log-in multiple times.

I don't have a staging server here, a fix will be

commited in a few minutes if something goes wrong.

  • Cleanup coments.
  • Sync schemas
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Cache.php

    r1013 r1090  
    5757     * Defines if caching is enabled or not 
    5858     * 
    59      * @var bool 
    60      * @access public 
    6159     */ 
    6260    public $isCachingEnabled = false; 
     
    6563     * Lifetime of cache (value in seconds or null). 
    6664     * 
    67      * @var mixed (int or null) 
    68      * @access private 
     65 
    6966     */ 
    7067    private $_lifeTime = null; 
     
    7370     * PEAR::Cache_Lite object. 
    7471     * 
    75      * @var object 
    76      * @access private 
     72 
    7773     */ 
    7874    private $_cacheLite; 
     
    8177     * ID of PEAR::Cache_Lite object. 
    8278     * 
    83      * @var mixed (string or null) 
    84      * @access private 
     79 
    8580     */ 
    8681    private $_cacheID = null; 
     
    8984     * Group of PEAR::Cache_Lite object. 
    9085     * 
    91      * @var string 
    92      * @access private 
     86 
    9387     */ 
    9488    private $_cacheGroup = "default"; 
     
    10195     * 
    10296     * @return void 
    103      * 
    104      * @access public 
    10597     */ 
    10698    public function __construct($id, $group = "default", $lifeTime = null) 
     
    141133     * 
    142134     * @return bool Caching enabled or disabled. 
    143      * 
    144      * @access private 
     135 
    145136     */ 
    146137    private function _cachingEnabled() 
     
    165156     * @return int Lifetime of an cache object in seconds or null if lifetime 
    166157     *             is unlimited 
    167      * 
    168      * @access public 
    169158     */ 
    170159    public function getLifeTime() 
     
    180169     * 
    181170     * @return void 
    182      * 
    183      * @access public 
    184171     */ 
    185172    public function setLifeTime($lifetime) 
     
    201188     * 
    202189     * @return string Data of cache. 
    203      * 
    204      * @access public 
    205190     */ 
    206191    public function getCachedData($cacheType = "string") 
     
    236221     * 
    237222     * @return bool Saving data into cache was successful or not. 
    238      * 
    239      * @access public 
    240223     */ 
    241224    public function saveCachedData($data, $cacheType = "string") 
     
    260243     * 
    261244     * @return bool Removing data from cache was successful or not. 
    262      * 
    263      * @access public 
    264245     */ 
    265246    public function eraseCachedData() 
     
    281262     * 
    282263     * @return bool Removing data from cache was successful or not. 
    283      * 
    284      * @access public 
    285264     */ 
    286265    public function eraseCachedGroupData()