|
From: <wis...@us...> - 2014-12-08 20:57:09
|
Revision: 12893
http://sourceforge.net/p/xoops/svn/12893
Author: wishcraft
Date: 2014-12-08 20:57:03 +0000 (Mon, 08 Dec 2014)
Log Message:
-----------
Fixing Trunk
Added Paths:
-----------
XoopsModules/signed/trunk/modules/signed/class/
XoopsModules/signed/trunk/modules/signed/class/cache/
XoopsModules/signed/trunk/modules/signed/class/cache/apc.php
XoopsModules/signed/trunk/modules/signed/class/cache/file.php
XoopsModules/signed/trunk/modules/signed/class/cache/index.html
XoopsModules/signed/trunk/modules/signed/class/cache/memcache.php
XoopsModules/signed/trunk/modules/signed/class/cache/model.php
XoopsModules/signed/trunk/modules/signed/class/cache/signedcache.php
XoopsModules/signed/trunk/modules/signed/class/cache/xcache.php
XoopsModules/signed/trunk/modules/signed/class/captcha/
XoopsModules/signed/trunk/modules/signed/class/captcha/index.html
XoopsModules/signed/trunk/modules/signed/class/captcha/signedcaptcha.php
XoopsModules/signed/trunk/modules/signed/class/event_links.php
XoopsModules/signed/trunk/modules/signed/class/events.php
XoopsModules/signed/trunk/modules/signed/class/file/
XoopsModules/signed/trunk/modules/signed/class/file/index.html
XoopsModules/signed/trunk/modules/signed/class/file/signedfile.php
XoopsModules/signed/trunk/modules/signed/class/index.html
XoopsModules/signed/trunk/modules/signed/class/mail/
XoopsModules/signed/trunk/modules/signed/class/mail/index.html
XoopsModules/signed/trunk/modules/signed/class/mail/signedmultimailer.php
XoopsModules/signed/trunk/modules/signed/class/mobile/
XoopsModules/signed/trunk/modules/signed/class/mobile/handlers/
XoopsModules/signed/trunk/modules/signed/class/mobile/handlers/index.html
XoopsModules/signed/trunk/modules/signed/class/mobile/handlers/sms.cardboardfish.php
XoopsModules/signed/trunk/modules/signed/class/mobile/index.html
XoopsModules/signed/trunk/modules/signed/class/mobile/plugin/
XoopsModules/signed/trunk/modules/signed/class/mobile/plugin/index.html
XoopsModules/signed/trunk/modules/signed/class/mobile/signedsmscontroller.php
XoopsModules/signed/trunk/modules/signed/class/mobile/signedsmsmobile.php
XoopsModules/signed/trunk/modules/signed/class/qcp/
XoopsModules/signed/trunk/modules/signed/class/qcp/index.html
XoopsModules/signed/trunk/modules/signed/class/qcp/qcp.base.php
XoopsModules/signed/trunk/modules/signed/class/qcp/qcp.class.php
XoopsModules/signed/trunk/modules/signed/class/qcp/qcp.enumerator.php
XoopsModules/signed/trunk/modules/signed/class/qcp/qcp.leaver-beaver.php
XoopsModules/signed/trunk/modules/signed/class/signatures.php
XoopsModules/signed/trunk/modules/signed/class/signedapi.php
XoopsModules/signed/trunk/modules/signed/class/signedarrays.php
XoopsModules/signed/trunk/modules/signed/class/signedcanvas.php
XoopsModules/signed/trunk/modules/signed/class/signedciphers.php
XoopsModules/signed/trunk/modules/signed/class/signededitor/
XoopsModules/signed/trunk/modules/signed/class/signededitor/index.html
XoopsModules/signed/trunk/modules/signed/class/signededitor/readme.txt
XoopsModules/signed/trunk/modules/signed/class/signededitor/signededitor.php
XoopsModules/signed/trunk/modules/signed/class/signedform/
XoopsModules/signed/trunk/modules/signed/class/signedform/form.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formbutton.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formbuttontray.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formcaptcha.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formcheckbox.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formcolorpicker.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formdatetime.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formdhtmltextarea.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formeditor.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formelement.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formelementtray.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formfile.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formhidden.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formhiddentoken.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formlabel.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formpassword.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formradio.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formradioyn.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselect.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselectcheckgroup.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselectcountry.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselecteditor.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselectenumerator.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselectmatchoption.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselectmonths.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselecttimezone.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formselectyears.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formtext.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formtextarea.php
XoopsModules/signed/trunk/modules/signed/class/signedform/formtextdateselect.php
XoopsModules/signed/trunk/modules/signed/class/signedform/index.html
XoopsModules/signed/trunk/modules/signed/class/signedform/simpleform.php
XoopsModules/signed/trunk/modules/signed/class/signedform/tableform.php
XoopsModules/signed/trunk/modules/signed/class/signedform/themeform.php
XoopsModules/signed/trunk/modules/signed/class/signedformloader.php
XoopsModules/signed/trunk/modules/signed/class/signedlists.php
XoopsModules/signed/trunk/modules/signed/class/signedlogger.php
XoopsModules/signed/trunk/modules/signed/class/signedmailer.php
XoopsModules/signed/trunk/modules/signed/class/signedmobile.php
XoopsModules/signed/trunk/modules/signed/class/signedobject.php
XoopsModules/signed/trunk/modules/signed/class/signedpackages.php
XoopsModules/signed/trunk/modules/signed/class/signedprocesses.php
XoopsModules/signed/trunk/modules/signed/class/signedprompts.php
XoopsModules/signed/trunk/modules/signed/class/signedsecurity.php
XoopsModules/signed/trunk/modules/signed/class/signedsession.php
XoopsModules/signed/trunk/modules/signed/class/signedstorage.php
XoopsModules/signed/trunk/modules/signed/class/uploader.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/
XoopsModules/signed/trunk/modules/signed/class/wideimage/Canvas.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Coordinate.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Exception.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Font/
XoopsModules/signed/trunk/modules/signed/class/wideimage/Font/GDF.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Font/PS.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Font/TTF.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Image.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Mapper/
XoopsModules/signed/trunk/modules/signed/class/wideimage/Mapper/BMP.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Mapper/GD.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Mapper/GD2.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Mapper/GIF.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Mapper/JPEG.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Mapper/PNG.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Mapper/TGA.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/MapperFactory.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/AddNoise.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/ApplyConvolution.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/ApplyFilter.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/ApplyMask.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/AsGrayscale.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/AsNegative.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/AutoCrop.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/CopyChannelsPalette.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/CopyChannelsTrueColor.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/CorrectGamma.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/Crop.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/Flip.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/GetMask.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/Merge.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/Mirror.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/Resize.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/ResizeCanvas.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/Rotate.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/RoundCorners.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/Operation/Unsharp.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/OperationFactory.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/PaletteImage.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/TrueColorImage.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/WideImage.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/index.html
XoopsModules/signed/trunk/modules/signed/class/wideimage/vendor/
XoopsModules/signed/trunk/modules/signed/class/wideimage/vendor/de77/
XoopsModules/signed/trunk/modules/signed/class/wideimage/vendor/de77/BMP.php
XoopsModules/signed/trunk/modules/signed/class/wideimage/vendor/de77/TGA.php
XoopsModules/signed/trunk/modules/signed/class/xmlarray.php
XoopsModules/signed/trunk/modules/signed/class/xmlwrapper.php
XoopsModules/signed/trunk/modules/signed/crons/
XoopsModules/signed/trunk/modules/signed/crons/.htaccess
XoopsModules/signed/trunk/modules/signed/crons/callbacks.php
XoopsModules/signed/trunk/modules/signed/crons/expires.php
XoopsModules/signed/trunk/modules/signed/crons/expiry.php
XoopsModules/signed/trunk/modules/signed/crons/index.html
XoopsModules/signed/trunk/modules/signed/crons/request.php
XoopsModules/signed/trunk/modules/signed/css/
XoopsModules/signed/trunk/modules/signed/css/calendar-blue.css
XoopsModules/signed/trunk/modules/signed/css/index.html
XoopsModules/signed/trunk/modules/signed/css/signed.css
XoopsModules/signed/trunk/modules/signed/css/style.css
XoopsModules/signed/trunk/modules/signed/docs/
XoopsModules/signed/trunk/modules/signed/docs/changelog.txt
XoopsModules/signed/trunk/modules/signed/docs/credits.txt
XoopsModules/signed/trunk/modules/signed/docs/index.html
XoopsModules/signed/trunk/modules/signed/docs/install.txt
XoopsModules/signed/trunk/modules/signed/docs/lang_diff.txt
XoopsModules/signed/trunk/modules/signed/dojsonids.php
XoopsModules/signed/trunk/modules/signed/dojsonoperations.php
XoopsModules/signed/trunk/modules/signed/fonts/
XoopsModules/signed/trunk/modules/signed/fonts/COOPBL.eot
XoopsModules/signed/trunk/modules/signed/fonts/COOPBL.otf
XoopsModules/signed/trunk/modules/signed/fonts/COOPBL.svg
XoopsModules/signed/trunk/modules/signed/fonts/COOPBL.ttf
XoopsModules/signed/trunk/modules/signed/fonts/COOPBL.woff
XoopsModules/signed/trunk/modules/signed/fonts/ERASMD.eot
XoopsModules/signed/trunk/modules/signed/fonts/ERASMD.otf
XoopsModules/signed/trunk/modules/signed/fonts/ERASMD.svg
XoopsModules/signed/trunk/modules/signed/fonts/ERASMD.ttf
XoopsModules/signed/trunk/modules/signed/fonts/ERASMD.woff
XoopsModules/signed/trunk/modules/signed/fonts/index.html
XoopsModules/signed/trunk/modules/signed/footer.php
XoopsModules/signed/trunk/modules/signed/generator.php
XoopsModules/signed/trunk/modules/signed/go/
XoopsModules/signed/trunk/modules/signed/go/.htaccess
XoopsModules/signed/trunk/modules/signed/go/index.php
XoopsModules/signed/trunk/modules/signed/header.php
XoopsModules/signed/trunk/modules/signed/image/
XoopsModules/signed/trunk/modules/signed/image/icons/
XoopsModules/signed/trunk/modules/signed/image/icons/16/
XoopsModules/signed/trunk/modules/signed/image/icons/16/index.html
XoopsModules/signed/trunk/modules/signed/image/icons/32/
XoopsModules/signed/trunk/modules/signed/image/icons/32/about.png
XoopsModules/signed/trunk/modules/signed/image/icons/32/event.png
XoopsModules/signed/trunk/modules/signed/image/icons/32/identity.png
XoopsModules/signed/trunk/modules/signed/image/icons/32/index.html
XoopsModules/signed/trunk/modules/signed/image/icons/32/security.png
XoopsModules/signed/trunk/modules/signed/image/icons/index.html
XoopsModules/signed/trunk/modules/signed/image/index.html
XoopsModules/signed/trunk/modules/signed/image/signed.png
XoopsModules/signed/trunk/modules/signed/image/watermark.gif
XoopsModules/signed/trunk/modules/signed/image/watermark.php
XoopsModules/signed/trunk/modules/signed/include/
XoopsModules/signed/trunk/modules/signed/include/common.php
XoopsModules/signed/trunk/modules/signed/include/configs.php
XoopsModules/signed/trunk/modules/signed/include/constants.php
XoopsModules/signed/trunk/modules/signed/include/form-edit-object.php
XoopsModules/signed/trunk/modules/signed/include/form-generic-edit-form.php
XoopsModules/signed/trunk/modules/signed/include/form-generic-form.php
XoopsModules/signed/trunk/modules/signed/include/form-identification-edit-form.php
XoopsModules/signed/trunk/modules/signed/include/form-identification-form.php
XoopsModules/signed/trunk/modules/signed/include/form-object.php
XoopsModules/signed/trunk/modules/signed/include/functions.php
XoopsModules/signed/trunk/modules/signed/include/index.html
XoopsModules/signed/trunk/modules/signed/include/language.php
XoopsModules/signed/trunk/modules/signed/index.php
XoopsModules/signed/trunk/modules/signed/js/
XoopsModules/signed/trunk/modules/signed/js/calendar.js
XoopsModules/signed/trunk/modules/signed/js/color-picker.js
XoopsModules/signed/trunk/modules/signed/js/formdhtmltextarea.js
XoopsModules/signed/trunk/modules/signed/js/index.html
XoopsModules/signed/trunk/modules/signed/js/json.validation.js
XoopsModules/signed/trunk/modules/signed/js/layersmenu.js
XoopsModules/signed/trunk/modules/signed/js/signed.js
XoopsModules/signed/trunk/modules/signed/language/
XoopsModules/signed/trunk/modules/signed/language/english/
XoopsModules/signed/trunk/modules/signed/language/english/admin.php
XoopsModules/signed/trunk/modules/signed/language/english/calendar.php
XoopsModules/signed/trunk/modules/signed/language/english/captcha.php
XoopsModules/signed/trunk/modules/signed/language/english/content.php
XoopsModules/signed/trunk/modules/signed/language/english/countries.php
XoopsModules/signed/trunk/modules/signed/language/english/errors.php
XoopsModules/signed/trunk/modules/signed/language/english/formdhtmltextarea.php
XoopsModules/signed/trunk/modules/signed/language/english/global.php
XoopsModules/signed/trunk/modules/signed/language/english/help/
XoopsModules/signed/trunk/modules/signed/language/english/help/help.html
XoopsModules/signed/trunk/modules/signed/language/english/help/index.html
XoopsModules/signed/trunk/modules/signed/language/english/index.html
XoopsModules/signed/trunk/modules/signed/language/english/mail.php
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/html/
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/html/expired-identification.html
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/html/expired-signature.html
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/html/index.html
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/html/signature-email.html
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/html/update-request.html
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/html/verify-email.html
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/index.html
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/text/
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/text/expired-identification.txt
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/text/expired-signature.txt
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/text/index.html
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/text/signature-email.txt
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/text/update-request.txt
XoopsModules/signed/trunk/modules/signed/language/english/mail_template/text/verify-email.txt
XoopsModules/signed/trunk/modules/signed/language/english/main.php
XoopsModules/signed/trunk/modules/signed/language/english/modinfo.php
XoopsModules/signed/trunk/modules/signed/language/english/months.php
XoopsModules/signed/trunk/modules/signed/language/english/signedmailerlocal.php
XoopsModules/signed/trunk/modules/signed/language/english/signedmobilelocal.php
XoopsModules/signed/trunk/modules/signed/language/english/sms_template/
XoopsModules/signed/trunk/modules/signed/language/english/sms_template/index.html
XoopsModules/signed/trunk/modules/signed/language/english/sms_template/verify-mobile.txt
XoopsModules/signed/trunk/modules/signed/language/english/style.css
XoopsModules/signed/trunk/modules/signed/language/english/timezone.php
XoopsModules/signed/trunk/modules/signed/language/english/titles.php
XoopsModules/signed/trunk/modules/signed/language/english/uploader.php
XoopsModules/signed/trunk/modules/signed/language/index.html
XoopsModules/signed/trunk/modules/signed/preloads/
XoopsModules/signed/trunk/modules/signed/preloads/api.php
XoopsModules/signed/trunk/modules/signed/preloads/index.html
XoopsModules/signed/trunk/modules/signed/request.php
XoopsModules/signed/trunk/modules/signed/reset.php
XoopsModules/signed/trunk/modules/signed/sql/
XoopsModules/signed/trunk/modules/signed/sql/index.html
XoopsModules/signed/trunk/modules/signed/sql/mysql.sql
XoopsModules/signed/trunk/modules/signed/templates/
XoopsModules/signed/trunk/modules/signed/templates/admin/
XoopsModules/signed/trunk/modules/signed/templates/admin/index.html
XoopsModules/signed/trunk/modules/signed/templates/admin/signed_events.html
XoopsModules/signed/trunk/modules/signed/templates/admin/signed_signatures.html
XoopsModules/signed/trunk/modules/signed/templates/common/
XoopsModules/signed/trunk/modules/signed/templates/common/api.php
XoopsModules/signed/trunk/modules/signed/templates/common/canvas.php
XoopsModules/signed/trunk/modules/signed/templates/common/index.html
XoopsModules/signed/trunk/modules/signed/templates/common/no-url.php
XoopsModules/signed/trunk/modules/signed/templates/common/reset.php
XoopsModules/signed/trunk/modules/signed/templates/common/start.php
XoopsModules/signed/trunk/modules/signed/templates/common/update-identification.php
XoopsModules/signed/trunk/modules/signed/templates/common/verify-email.php
XoopsModules/signed/trunk/modules/signed/templates/common/verify-mobile.php
XoopsModules/signed/trunk/modules/signed/templates/deployed/
XoopsModules/signed/trunk/modules/signed/templates/deployed/entity/
XoopsModules/signed/trunk/modules/signed/templates/deployed/entity/index.html
XoopsModules/signed/trunk/modules/signed/templates/deployed/entity/send-email.php
XoopsModules/signed/trunk/modules/signed/templates/deployed/entity/update-email.php
XoopsModules/signed/trunk/modules/signed/templates/deployed/index.html
XoopsModules/signed/trunk/modules/signed/templates/deployed/personal/
XoopsModules/signed/trunk/modules/signed/templates/deployed/personal/index.html
XoopsModules/signed/trunk/modules/signed/templates/deployed/personal/send-email.php
XoopsModules/signed/trunk/modules/signed/templates/deployed/personal/update-email.php
XoopsModules/signed/trunk/modules/signed/templates/fields/
XoopsModules/signed/trunk/modules/signed/templates/fields/entity/
XoopsModules/signed/trunk/modules/signed/templates/fields/entity/generic-edit-form.php
XoopsModules/signed/trunk/modules/signed/templates/fields/entity/generic-form.php
XoopsModules/signed/trunk/modules/signed/templates/fields/entity/index.html
XoopsModules/signed/trunk/modules/signed/templates/fields/identification/
XoopsModules/signed/trunk/modules/signed/templates/fields/identification/identification-edit-form.php
XoopsModules/signed/trunk/modules/signed/templates/fields/identification/identification-form.php
XoopsModules/signed/trunk/modules/signed/templates/fields/identification/index.html
XoopsModules/signed/trunk/modules/signed/templates/fields/index.html
XoopsModules/signed/trunk/modules/signed/templates/fields/personal/
XoopsModules/signed/trunk/modules/signed/templates/fields/personal/generic-edit-form.php
XoopsModules/signed/trunk/modules/signed/templates/fields/personal/generic-form.php
XoopsModules/signed/trunk/modules/signed/templates/fields/personal/index.html
XoopsModules/signed/trunk/modules/signed/templates/help/
XoopsModules/signed/trunk/modules/signed/templates/help/entity/
XoopsModules/signed/trunk/modules/signed/templates/help/entity/finished.php
XoopsModules/signed/trunk/modules/signed/templates/help/entity/index.html
XoopsModules/signed/trunk/modules/signed/templates/help/entity/introduction.php
XoopsModules/signed/trunk/modules/signed/templates/help/identification/
XoopsModules/signed/trunk/modules/signed/templates/help/identification/finished-update.php
XoopsModules/signed/trunk/modules/signed/templates/help/identification/index.html
XoopsModules/signed/trunk/modules/signed/templates/help/identification/needed.php
XoopsModules/signed/trunk/modules/signed/templates/help/index.html
XoopsModules/signed/trunk/modules/signed/templates/help/personal/
XoopsModules/signed/trunk/modules/signed/templates/help/personal/finished.php
XoopsModules/signed/trunk/modules/signed/templates/help/personal/index.html
XoopsModules/signed/trunk/modules/signed/templates/help/personal/introduction.php
XoopsModules/signed/trunk/modules/signed/templates/index.html
XoopsModules/signed/trunk/modules/signed/templates/signed_wrapper.html
XoopsModules/signed/trunk/modules/signed/templates/update/
XoopsModules/signed/trunk/modules/signed/templates/update/identification/
XoopsModules/signed/trunk/modules/signed/templates/update/identification/identification-form.php
XoopsModules/signed/trunk/modules/signed/templates/update/identification/index.html
XoopsModules/signed/trunk/modules/signed/templates/update/index.html
XoopsModules/signed/trunk/modules/signed/updator.php
XoopsModules/signed/trunk/modules/signed/verifor.php
XoopsModules/signed/trunk/modules/signed/xoops_version.php
Added: XoopsModules/signed/trunk/modules/signed/class/cache/apc.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/class/cache/apc.php (rev 0)
+++ XoopsModules/signed/trunk/modules/signed/class/cache/apc.php 2014-12-08 20:57:03 UTC (rev 12893)
@@ -0,0 +1,126 @@
+<?php
+/**
+ * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @copyright Chronolabs Cooperative http://labs.coop
+ * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
+ * @package signed
+ * @since 1.13
+ * @author Simon Roberts <wis...@us...>
+ * @author Antony Cipher <ci...@la...>
+ * @subpackage cache
+ * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ */
+
+defined('_PATH_ROOT') or die('Restricted access');
+
+/**
+ * APC storage engine for cache.
+ *
+ *
+ * PHP versions 4 and 5
+ *
+ * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
+ * Copyright 2005-2008, Cake Software Foundation, Inc.
+ * 1785 E. Sahara Avenue, Suite 490-204
+ * Las Vegas, Nevada 89104
+ *
+ * Licensed under The MIT License
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @filesource
+ * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
+ * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @package cake
+ * @subpackage cake.cake.libs.cache
+ * @since CakePHP(tm) v 1.2.0.4933
+ * @version $Revision: 8066 $
+ * @modifiedby $LastChangedBy: beckmi $
+ * @lastmodified $Date: 2011-11-06 01:09:33 -0400 (Sun, 06 Nov 2011) $
+ * @license http://www.opensource.org/licenses/mit-license.php The MIT License
+ */
+
+/**
+ * APC storage engine for cache
+ *
+ * @package cake
+ * @subpackage cake.cake.libs.cache
+ */
+class signedCacheApc extends signedCacheEngine
+{
+ /**
+ * Initialize the Cache Engine
+ *
+ * Called automatically by the cache frontend
+ * To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
+ *
+ * @param array $setting array of setting for the engine
+ * @return boolean True if the engine has been successfully initialized, false if not
+ * @see CacheEngine::__defaults
+ * @access public
+ */
+ function init($settings = array())
+ {
+ parent::init($settings);
+ return function_exists('apc_cache_info');
+ }
+
+ /**
+ * Write data for key into cache
+ *
+ * @param string $key Identifier for the data
+ * @param mixed $value Data to be cached
+ * @param integer $duration How long to cache the data, in seconds
+ * @return boolean True if the data was succesfully cached, false on failure
+ * @access public
+ */
+ function write($key, &$value, $duration)
+ {
+ return apc_store($key, $value, $duration);
+ }
+
+ /**
+ * Read a key from the cache
+ *
+ * @param string $key Identifier for the data
+ * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it
+ * @access public
+ */
+ function read($key)
+ {
+ return apc_fetch($key);
+ }
+
+ /**
+ * Delete a key from the cache
+ *
+ * @param string $key Identifier for the data
+ * @return boolean True if the value was succesfully deleted, false if it didn't exist or couldn't be removed
+ * @access public
+ */
+ function delete($key)
+ {
+ return apc_delete($key);
+ }
+
+ /**
+ * Delete all keys from the cache
+ *
+ * @return boolean True if the cache was succesfully cleared, false otherwise
+ * @access public
+ */
+ function clear()
+ {
+ return apc_clear_cache('user');
+ }
+}
+
+?>
\ No newline at end of file
Property changes on: XoopsModules/signed/trunk/modules/signed/class/cache/apc.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: XoopsModules/signed/trunk/modules/signed/class/cache/file.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/class/cache/file.php (rev 0)
+++ XoopsModules/signed/trunk/modules/signed/class/cache/file.php 2014-12-08 20:57:03 UTC (rev 12893)
@@ -0,0 +1,317 @@
+<?php
+/**
+ * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @copyright Chronolabs Cooperative http://labs.coop
+ * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
+ * @package signed
+ * @since 1.13
+ * @author Simon Roberts <wis...@us...>
+ * @author Antony Cipher <ci...@la...>
+ * @subpackage cache
+ * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ */
+
+defined('_PATH_ROOT') or die('Restricted access');
+
+/**
+ * File Storage engine for cache
+ *
+ *
+ * PHP versions 4 and 5
+ *
+ * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
+ * Copyright 2005-2008, Cake Software Foundation, Inc.
+ * 1785 E. Sahara Avenue, Suite 490-204
+ * Las Vegas, Nevada 89104
+ *
+ * Licensed under The MIT License
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @filesource
+ * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
+ * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @package cake
+ * @subpackage cake.cake.libs.cache
+ * @since CakePHP(tm) v 1.2.0.4933
+ * @version $Revision: 10686 $
+ * @modifiedby $LastChangedBy: beckmi $
+ * @lastmodified $Date: 2013-01-06 14:07:24 -0500 (Sun, 06 Jan 2013) $
+ * @license http://www.opensource.org/licenses/mit-license.php The MIT License
+ */
+
+/**
+ * File Storage engine for cache
+ *
+ * @todo use the File and Folder classes (if it's not a too big performance hit)
+ * @package cake
+ * @subpackage cake.cake.libs.cache
+ */
+class signedCacheFile extends signedCacheEngine
+{
+ /**
+ * Instance of File class
+ *
+ * @var object
+ * @access private
+ */
+ var $file = null;
+
+ /**
+ * settings
+ * path = absolute path to cache directory, default => CACHE
+ * prefix = string prefix for filename, default => signed_
+ * lock = enable file locking on write, default => false
+ * serialize = serialize the data, default => false
+ *
+ * @var array
+ * @see CacheEngine::__defaults
+ * @access public
+ */
+ var $settings = array();
+
+ /**
+ * Set to true if FileEngine::init(); and FileEngine::active(); do not fail.
+ *
+ * @var boolean
+ * @access private
+ */
+ var $active = false;
+
+ /**
+ * True unless FileEngine::active(); fails
+ *
+ * @var boolean
+ * @access private
+ */
+ var $init = true;
+
+ /**
+ * Initialize the Cache Engine
+ *
+ * Called automatically by the cache frontend
+ * To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
+ *
+ * @param array $setting array of setting for the engine
+ * @return boolean True if the engine has been successfully initialized, false if not
+ * @access public
+ */
+ function init($settings = array())
+ {
+ parent::init($settings);
+ $defaults = array('path' => _PATH_CACHE , 'extension' => '.php' , 'prefix' => 'signed_' , 'lock' => false , 'serialize' => false , 'duration' => 31556926);
+ $this->settings = array_merge($defaults, $this->settings);
+ if (!isset($this->file)) {
+ include_once _PATH_ROOT . _DS_ . 'class' . _DS_ . 'file' . _DS_ . 'signedfile.php';
+ $this->file = signedFile::getHandler('file', $this->settings['path'] . '/index.html', true);
+ }
+ $this->settings['path'] = $this->file->folder->cd($this->settings['path']);
+ if (empty($this->settings['path'])) {
+ return false;
+ }
+ return $this->active();
+ }
+
+ /**
+ * Garbage collection. Permanently remove all expired and deleted data
+ *
+ * @return boolean True if garbage collection was succesful, false on failure
+ * @access public
+ */
+ function gc()
+ {
+ return $this->clear(true);
+ }
+
+ /**
+ * Write data for key into cache
+ *
+ * @param string $key Identifier for the data
+ * @param mixed $data Data to be cached
+ * @param mixed $duration How long to cache the data, in seconds
+ * @return boolean True if the data was succesfully cached, false on failure
+ * @access public
+ */
+ function write($key, $data = null, $duration = null)
+ {
+ if (!isset($data) || ! $this->init) {
+ return false;
+ }
+
+ if ($this->setKey($key) === false) {
+ return false;
+ }
+
+ if ($duration == null) {
+ $duration = $this->settings['duration'];
+ }
+ $windows = false;
+ $lineBreak = "\n";
+
+ if (substr(PHP_OS, 0, 3) == "WIN") {
+ $lineBreak = "\r\n";
+ $windows = true;
+ }
+ $expires = time() + $duration;
+ if (!empty($this->settings['serialize'])) {
+ if ($windows) {
+ $data = str_replace('\\', '\\\\\\\\', serialize($data));
+ } else {
+ $data = serialize($data);
+ }
+ $contents = $expires . $lineBreak . $data . $lineBreak;
+ } else {
+ $contents = $expires . $lineBreak . "return " . var_export($data, true) . ";" . $lineBreak;
+ }
+
+ if ($this->settings['lock']) {
+ $this->file->lock = true;
+ }
+ $success = $this->file->write($contents);
+ if ($GLOBALS['logger'] = signedLogger::getInstance())
+ $GLOBALS['logger']->logBytes(strlen($contents), 'cache-written');
+ $this->file->close();
+ return $success;
+ }
+
+ /**
+ * Read a key from the cache
+ *
+ * @param string $key Identifier for the data
+ * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it
+ * @access public
+ */
+ function read($key)
+ {
+ if ($this->setKey($key) === false || ! $this->init) {
+ return false;
+ }
+ if ($this->settings['lock']) {
+ $this->file->lock = true;
+ }
+ $cachetime = $this->file->read(11);
+
+ if ($cachetime !== false && intval($cachetime) < time()) {
+ $this->file->close();
+ $this->file->delete();
+ return false;
+ }
+
+ $data = $this->file->read(true);
+ if ($GLOBALS['logger'] = signedLogger::getInstance())
+ $GLOBALS['logger']->logBytes(strlen($data), 'cache-read');
+ if (!empty($data) && !empty($this->settings['serialize'])) {
+ $data = stripslashes($data);
+ $data = preg_replace('!s:(\d+):"(.*?)";!se', "'s:'.strlen('$2').':\"$2\";'", $data);
+ $data = unserialize($data);
+ if (is_array($data)) {
+ signedLoad::load('signedUtility');
+ $data = signedUtility::recursive('stripslashes', $data);
+ }
+ } else if ($data && empty($this->settings['serialize'])) {
+ $data = eval($data);
+ }
+ $this->file->close();
+ return $data;
+ }
+
+ /**
+ * Delete a key from the cache
+ *
+ * @param string $key Identifier for the data
+ * @return boolean True if the value was successfully deleted, false if it didn't exist or couldn't be removed
+ * @access public
+ */
+ function delete($key)
+ {
+ if ($this->setKey($key) === false || ! $this->init) {
+ return false;
+ }
+ return $this->file->delete();
+ }
+
+ /**
+ * Delete all values from the cache
+ *
+ * @param boolean $check Optional - only delete expired cache items
+ * @return boolean True if the cache was succesfully cleared, false otherwise
+ * @access public
+ */
+ function clear($check = true)
+ {
+ if (!$this->init) {
+ return false;
+ }
+ $dir = dir($this->settings['path']);
+ if ($check) {
+ $now = time();
+ $threshold = $now - $this->settings['duration'];
+ }
+ while (($entry = $dir->read()) !== false) {
+ if ($this->setKey(str_replace($this->settings['prefix'], '', $entry)) === false) {
+ continue;
+ }
+ if ($check) {
+ $mtime = $this->file->lastChange();
+
+ if ($mtime === false || $mtime > $threshold) {
+ continue;
+ }
+
+ $expires = $this->file->read(11);
+ $this->file->close();
+
+ if ($expires > $now) {
+ continue;
+ }
+ }
+ $this->file->delete();
+ }
+ $dir->close();
+ return true;
+ }
+
+ /**
+ * Get absolute file for a given key
+ *
+ * @param string $key The key
+ * @return mixed Absolute cache file for the given key or false if erroneous
+ * @access private
+ */
+ function setKey($key)
+ {
+ $this->file->folder->cd($this->settings['path']);
+ $this->file->name = $this->settings['prefix'] . $key . $this->settings['extension'];
+ $this->file->handle = null;
+ $this->file->info = null;
+ if (!$this->file->folder->inPath($this->file->pwd(), true)) {
+ return false;
+ }
+ }
+ /**
+ * Determine is cache directory is writable
+ *
+ * @return boolean
+ * @access private
+ */
+ function active()
+ {
+ if (!$this->active && $this->init && ! is_writable($this->settings['path'])) {
+ $this->init = false;
+ trigger_error(sprintf('%s is not writable', $this->settings['path']), E_USER_WARNING);
+ } else {
+ $this->active = true;
+ }
+ return true;
+ }
+}
+
+?>
\ No newline at end of file
Property changes on: XoopsModules/signed/trunk/modules/signed/class/cache/file.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: XoopsModules/signed/trunk/modules/signed/class/cache/index.html
===================================================================
--- XoopsModules/signed/trunk/modules/signed/class/cache/index.html (rev 0)
+++ XoopsModules/signed/trunk/modules/signed/class/cache/index.html 2014-12-08 20:57:03 UTC (rev 12893)
@@ -0,0 +1 @@
+ <script>history.go(-1);</script>
\ No newline at end of file
Property changes on: XoopsModules/signed/trunk/modules/signed/class/cache/index.html
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: XoopsModules/signed/trunk/modules/signed/class/cache/memcache.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/class/cache/memcache.php (rev 0)
+++ XoopsModules/signed/trunk/modules/signed/class/cache/memcache.php 2014-12-08 20:57:03 UTC (rev 12893)
@@ -0,0 +1,183 @@
+<?php
+/**
+ * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @copyright Chronolabs Cooperative http://labs.coop
+ * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
+ * @package signed
+ * @since 1.13
+ * @author Simon Roberts <wis...@us...>
+ * @author Antony Cipher <ci...@la...>
+ * @subpackage cache
+ * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ */
+
+defined('_PATH_ROOT') or die('Restricted access');
+
+/**
+ * Memcache storage engine for cache
+ *
+ *
+ * PHP versions 4 and 5
+ *
+ * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
+ * Copyright 2005-2008, Cake Software Foundation, Inc.
+ * 1785 E. Sahara Avenue, Suite 490-204
+ * Las Vegas, Nevada 89104
+ *
+ * Licensed under The MIT License
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @filesource
+ * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
+ * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @package cake
+ * @subpackage cake.cake.libs.cache
+ * @since CakePHP(tm) v 1.2.0.4933
+ * @version $Revision: 8066 $
+ * @modifiedby $LastChangedBy: beckmi $
+ * @lastmodified $Date: 2011-11-06 01:09:33 -0400 (Sun, 06 Nov 2011) $
+ * @license http://www.opensource.org/licenses/mit-license.php The MIT License
+ */
+/**
+ * Memcache storage engine for cache
+ *
+ * @package cake
+ * @subpackage cake.cake.libs.cache
+ */
+class signedCacheMemcache extends signedCacheEngine
+{
+ /**
+ * Memcache wrapper.
+ *
+ * @var object
+ * @access private
+ */
+ var $memcache = null;
+ /**
+ * settings
+ * servers = string or array of memcache servers, default => 127.0.0.1
+ * compress = boolean, default => false
+ *
+ * @var array
+ * @access public
+ */
+ var $settings = array();
+ /**
+ * Initialize the Cache Engine
+ *
+ * Called automatically by the cache frontend
+ * To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
+ *
+ * @param array $setting array of setting for the engine
+ * @return boolean True if the engine has been successfully initialized, false if not
+ * @access public
+ */
+ function init($settings = array())
+ {
+ if (!class_exists('Memcache')) {
+ return false;
+ }
+ parent::init($settings);
+ $defaults = array(
+ 'servers' => array(
+ '127.0.0.1') ,
+ 'compress' => false);
+ $this->settings = array_merge($defaults, $this->settings);
+
+ if (!$this->settings['compress']) {
+ $this->settings['compress'] = MEMCACHE_COMPRESSED;
+ }
+ if (!is_array($this->settings['servers'])) {
+ $this->settings['servers'] = array(
+ $this->settings['servers']);
+ }
+ $this->memcache = null;
+ $this->memcache = new Memcache();
+ foreach ($this->settings['servers'] as $server) {
+ $parts = explode(':', $server);
+ $host = $parts[0];
+ $port = 11211;
+ if (isset($parts[1])) {
+ $port = $parts[1];
+ }
+ if ($this->memcache->addServer($host, $port)) {
+ return true;
+ }
+ }
+ return false;
+ }
+ /**
+ * Write data for key into cache
+ *
+ * @param string $key Identifier for the data
+ * @param mixed $value Data to be cached
+ * @param integer $duration How long to cache the data, in seconds
+ * @return boolean True if the data was succesfully cached, false on failure
+ * @access public
+ */
+ function write($key, &$value, $duration)
+ {
+ return $this->memcache->set($key, $value, $this->settings['compress'], $duration);
+ }
+ /**
+ * Read a key from the cache
+ *
+ * @param string $key Identifier for the data
+ * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it
+ * @access public
+ */
+ function read($key)
+ {
+ return $this->memcache->get($key);
+ }
+ /**
+ * Delete a key from the cache
+ *
+ * @param string $key Identifier for the data
+ * @return boolean True if the value was succesfully deleted, false if it didn't exist or couldn't be removed
+ * @access public
+ */
+ function delete($key)
+ {
+ return $this->memcache->delete($key);
+ }
+ /**
+ * Delete all keys from the cache
+ *
+ * @return boolean True if the cache was succesfully cleared, false otherwise
+ * @access public
+ */
+ function clear()
+ {
+ return $this->memcache->flush();
+ }
+ /**
+ * Connects to a server in connection pool
+ *
+ * @param string $host host ip address or name
+ * @param integer $port Server port
+ * @return boolean True if memcache server was connected
+ * @access public
+ */
+ function connect($host, $port = 11211)
+ {
+ if ($this->memcache->getServerStatus($host, $port) === 0) {
+ if ($this->memcache->connect($host, $port)) {
+ return true;
+ }
+ return false;
+ }
+ return true;
+ }
+}
+
+?>
\ No newline at end of file
Property changes on: XoopsModules/signed/trunk/modules/signed/class/cache/memcache.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: XoopsModules/signed/trunk/modules/signed/class/cache/model.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/class/cache/model.php (rev 0)
+++ XoopsModules/signed/trunk/modules/signed/class/cache/model.php 2014-12-08 20:57:03 UTC (rev 12893)
@@ -0,0 +1,224 @@
+<?php
+/**
+ * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @copyright Chronolabs Cooperative http://labs.coop
+ * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
+ * @package signed
+ * @since 1.13
+ * @author Simon Roberts <wis...@us...>
+ * @author Antony Cipher <ci...@la...>
+ * @subpackage cache
+ * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ */
+
+defined('_PATH_ROOT') or die('Restricted access');
+
+/**
+ * Database Storage engine for cache
+ *
+ *
+ * PHP versions 4 and 5
+ *
+ * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
+ * Copyright 2005-2008, Cake Software Foundation, Inc.
+ * 1785 E. Sahara Avenue, Suite 490-204
+ * Las Vegas, Nevada 89104
+ *
+ * Licensed under The MIT License
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @filesource
+ * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
+ * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @package cake
+ * @subpackage cake.cake.libs.cache
+ * @since CakePHP(tm) v 1.2.0.4933
+ * @version $Revision: 8066 $
+ * @modifiedby $LastChangedBy: beckmi $
+ * @lastmodified $Date: 2011-11-06 01:09:33 -0400 (Sun, 06 Nov 2011) $
+ * @license http://www.opensource.org/licenses/mit-license.php The MIT License
+ */
+/**
+ * Database Storage engine for cache
+ *
+ * @package cake
+ * @subpackage cake.cake.libs.cache
+ */
+class signedCacheModel extends signedCacheEngine
+{
+ /**
+ * settings
+ * className = name of the model to use, default => Cache
+ * fields = database fields that hold data and ttl, default => data, expires
+ *
+ * @var array
+ * @access public
+ */
+ var $settings = array();
+
+ /**
+ * Model instance.
+ *
+ * @var object
+ * @access private
+ */
+ var $model = null;
+
+ /**
+ * Model instance.
+ *
+ * @var object
+ * @access private
+ */
+ var $fields = array();
+
+ /**
+ * Initialize the Cache Engine
+ *
+ * Called automatically by the cache frontend
+ * To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
+ *
+ * @param array $setting array of setting for the engine
+ * @return boolean True if the engine has been successfully initialized, false if not
+ * @access public
+ */
+ function init($settings)
+ {
+ $signedDB =& signedDatabaseFactory::getDatabaseConnection();
+
+ parent::init($settings);
+ $defaults = array('fields' => array('data' , 'expires'));
+ $this->settings = array_merge($defaults, $this->settings);
+ $this->fields = $this->settings['fields'];
+ $this->model = new signedCacheModelHandler($signedDB);
+ return true;
+ }
+
+ /**
+ * Garbage collection. Permanently remove all expired and deleted data
+ *
+ * @access public
+ */
+ function gc()
+ {
+ return $this->model->deleteAll(new Criteria($this->fields[1], time, '<= '));
+ }
+
+ /**
+ * Write data for key into cache
+ *
+ * @param string $key Identifier for the data
+ * @param mixed $data Data to be cached
+ * @param integer $duration How long to cache the data, in seconds
+ * @return boolean True if the data was succesfully cached, false on failure
+ * @access public
+ */
+ function write($key, $data, $duration)
+ {
+ // if (isset($this->settings['serialize'])) {
+ $data = serialize($data);
+ // }
+ if (! $data) {
+ return false;
+ }
+ $cache_obj = $this->model->create();
+ $cache_obj->setVar($this->model::KEYNAME, $key);
+ $cache_obj->setVar($this->fields[0], $data);
+ $cache_obj->setVar($this->fields[1], time() + $duration);
+ return $this->model->insert($cache_obj);
+ }
+
+ /**
+ * Read a key from the cache
+ *
+ * @param string $key Identifier for the data
+ * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it
+ * @access public
+ */
+ function read($key)
+ {
+ $criteria = new CriteriaCompo(new Criteria($this->model::KEYNAME, $key));
+ $criteria->add(new Criteria($this->fields[1], time(), ">"));
+ $criteria->setLimit(1);
+ $data = $this->model->getAll($criteria);
+ if (!$data) {
+ return null;
+ }
+ return unserialize($data[0]);
+ }
+
+ /**
+ * Delete a key from the cache
+ *
+ * @param string $key Identifier for the data
+ * @return boolean True if the value was succesfully deleted, false if it didn't exist or couldn't be removed
+ * @access public
+ */
+ function delete($key)
+ {
+ return $this->model->delete($key);
+ }
+
+ /**
+ * Delete all keys from the cache
+ *
+ * @return boolean True if the cache was succesfully cleared, false otherwise
+ * @access public
+ */
+ function clear()
+ {
+ return $this->model->deleteAll();
+ }
+}
+
+/**
+ * signedCacheModelObject
+ *
+ * @package
+ * @author John
+ * @copyright Copyright (c) 2009
+ * @version $Id: model.php 8066 2011-11-06 05:09:33Z beckmi $
+ * @access public
+ */
+class signedCacheModelObject extends signedObject
+{
+ function signedCacheModelObject()
+ {
+ $this->__construct();
+ }
+
+ function __construct()
+ {
+ parent::__construct();
+ $this->initVar('key', XOBJ_DTYPE_TXTBOX);
+ $this->initVar('data', XOBJ_DTYPE_SOURCE);
+ $this->initVar('expires', XOBJ_DTYPE_INT);
+ }
+}
+
+/**
+ * signedCacheModelHandler
+ *
+ * @package
+ * @author John
+ * @copyright Copyright (c) 2009
+ * @version $Id: model.php 8066 2011-11-06 05:09:33Z beckmi $
+ * @access public
+ */
+class signedCacheModelHandler extends signedPersistableObjectHandler
+{
+ const TABLE = 'cache_model';
+ const CLASSNAME = 'signedCacheModelObject';
+ const KEYNAME = 'key';
+}
+
+?>
\ No newline at end of file
Property changes on: XoopsModules/signed/trunk/modules/signed/class/cache/model.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: XoopsModules/signed/trunk/modules/signed/class/cache/signedcache.php
===================================================================
--- XoopsModules/signed/trunk/modules/signed/class/cache/signedcache.php (rev 0)
+++ XoopsModules/signed/trunk/modules/signed/class/cache/signedcache.php 2014-12-08 20:57:03 UTC (rev 12893)
@@ -0,0 +1,495 @@
+<?php
+/**
+ * Chronolabs Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ *
+ * You may not change or alter any portion of this comment or credits
+ * of supporting developers from this source code or any supporting source code
+ * which is considered copyrighted (c) material of the original comment or credit authors.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @copyright Chronolabs Cooperative http://labs.coop
+ * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html)
+ * @package signed
+ * @since 1.13
+ * @author Simon Roberts <wis...@us...>
+ * @author Antony Cipher <ci...@la...>
+ * @subpackage cache
+ * @description Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ * @link https://signed.labs.coop Digital Signature Generation & API Services (Psuedo-legal correct binding measure)
+ */
+
+defined('_PATH_ROOT') or die('Restricted access');
+
+/**
+ * Caching for CakePHP.
+ *
+ * @package cake
+ * @subpackage cake.cake.libs
+ */
+class signedCache
+{
+ /**
+ * Cache engine to use
+ *
+ * @var object
+ * @access protected
+ */
+ var $engine = null;
+ // static $engine = null;
+
+
+ /**
+ * Cache configuration stack
+ *
+ * @var array
+ * @access private
+ */
+ var $configs = array();
+
+ /**
+ * Holds name of the current configuration being used
+ *
+ * @var array
+ * @access private
+ */
+ var $name = null;
+
+ /**
+ * signedCache::__construct()
+ */
+ function __construct()
+ {
+ }
+
+ /**
+ * Returns a singleton instance
+ *
+ * @return object
+ * @access public
+ */
+ static function &getInstance()
+ {
+ static $instance;
+ if (!isset($instance)) {
+ $class = __CLASS__;
+ $instance = new $class();
+ }
+ return $instance;
+ }
+
+ /**
+ * Tries to find and include a file for a cache engine and returns object instance
+ *
+ * @param $name Name of the engine
+ * @return mixed $engine object or null
+ * @access private
+ */
+ function loadEngine($name)
+ {
+ if (!class_exists('signedCache' . ucfirst($name))) {
+ if (file_exists($file = dirname(__FILE__) . '/' . strtolower($name) . '.php')) {
+ include $file;
+ } else {
+ trigger_error('File :' . $file . ' not found in file : ' . __FILE__ . ' at line: ' . __LINE__, E_USER_WARNING);
+ return false;
+ }
+ }
+ return true;
+ }
+
+ /**
+ * Set the cache configuration to use
+ *
+ * @param string $name Name of the configuration
+ * @param array $settings Optional associative array of settings passed to the engine
+ * @return array (engine, settings) on success, false on failure
+ * @access public
+ */
+ function config($name = 'default', $settings = array())
+ {
+ $_this =& signedCache::getInstance();
+ if (is_array($name)) {
+ extract($name);
+ }
+
+ if (isset($_this->configs[$name])) {
+ $settings = array_merge($_this->configs[$name], $settings);
+ } else if (!empty($settings)) {
+ $_this->configs[$name] = $settings;
+ } else if ($_this->configs !== null && isset($_this->configs[$_this->name])) {
+ $name = $_this->name;
+ $settings = $_this->configs[$_this->name];
+ } else {
+ $name = 'default';
+ if (!empty($_this->configs['default'])) {
+ $settings = $_this->configs['default'];
+ } else {
+ $settings = array(
+ 'engine' => 'file');
+ }
+ }
+ $engine = 'file';
+ if (!empty($settings['engine'])) {
+ $engine = $settings['engine'];
+ }
+
+ if ($name !== $_this->name) {
+ if ($_this->engine($engine, $settings) === false) {
+ trigger_error("Cache Engine {$engine} is not set", E_USER_WARNING);
+ return false;
+ }
+ $_this->name = $name;
+ $_this->configs[$name] = $_this->settings($engine);
+ }
+
+ $settings = $_this->configs[$name];
+ return compact('engine', 'settings');
+ }
+
+ /**...
[truncated message content] |