isso.git
18 years agoAdded debugging check info
Robert Sesek [Sat, 13 Aug 2005 18:39:43 +0000 (18:39 +0000)]
Added debugging check info

18 years agoNow we can do the top level... bah
Robert Sesek [Sat, 13 Aug 2005 18:35:03 +0000 (18:35 +0000)]
Now we can do the top level... bah

18 years agoGetting closer to it working fully now; just need to figure out the second relativity bit
Robert Sesek [Sat, 13 Aug 2005 18:25:23 +0000 (18:25 +0000)]
Getting closer to it working fully now; just need to figure out the second relativity bit

18 years agoStill not working right on <else />
Robert Sesek [Sat, 13 Aug 2005 08:24:21 +0000 (08:24 +0000)]
Still not working right on <else />

18 years agoWe're getting closer witht his method :)
Robert Sesek [Sat, 13 Aug 2005 07:04:10 +0000 (07:04 +0000)]
We're getting closer witht his method :)

18 years agoLots of broken nothingness
Robert Sesek [Fri, 12 Aug 2005 21:23:31 +0000 (21:23 +0000)]
Lots of broken nothingness

18 years agoCreated a conditional testing system
Robert Sesek [Tue, 2 Aug 2005 04:46:24 +0000 (04:46 +0000)]
Created a conditional testing system

18 years agoBack-porting the trunk back onto branch
Robert Sesek [Tue, 2 Aug 2005 04:36:22 +0000 (04:36 +0000)]
Back-porting the trunk back onto branch

18 years agoElse tags are now working again. The problem was that if in a nested <if>, one of...
Robert Sesek [Mon, 25 Jul 2005 00:51:27 +0000 (00:51 +0000)]
Else tags are now working again. The problem was that if in a nested <if>, one of the children had an <else /> but the parent didn't, then it would break.

18 years agoSaving token creation code.
Robert Sesek [Mon, 25 Jul 2005 00:33:57 +0000 (00:33 +0000)]
Saving token creation code.

18 years agoMerging trunk back onto the template parsing branch
Robert Sesek [Mon, 25 Jul 2005 00:22:20 +0000 (00:22 +0000)]
Merging trunk back onto the template parsing branch

18 years agoRemoved the $globaltz option.
Robert Sesek [Tue, 19 Jul 2005 20:40:05 +0000 (20:40 +0000)]
Removed the $globaltz option.

18 years agoForgot to put the name in the header.
Robert Sesek [Fri, 15 Jul 2005 02:47:49 +0000 (02:47 +0000)]
Forgot to put the name in the header.

18 years agoOnly do the referer check if we have the HTTP_REFERER; Norton Internet Security remov...
Robert Sesek [Sun, 10 Jul 2005 20:49:18 +0000 (20:49 +0000)]
Only do the referer check if we have the HTTP_REFERER; Norton Internet Security removes it, making the applications unusable.

18 years agoAdded another way to remove the full path from errors (it didn't always work).
Robert Sesek [Sun, 10 Jul 2005 20:23:58 +0000 (20:23 +0000)]
Added another way to remove the full path from errors (it didn't always work).

18 years agoThe $adjust paramater in format() wasn't doing anything... now it is
Robert Sesek [Sun, 10 Jul 2005 19:29:02 +0000 (19:29 +0000)]
The $adjust paramater in format() wasn't doing anything... now it is

18 years agoAdded date formatting framework.
Robert Sesek [Sun, 10 Jul 2005 19:21:18 +0000 (19:21 +0000)]
Added date formatting framework.

18 years agoFixed a duplicate variable name problem(?).
Robert Sesek [Tue, 5 Jul 2005 18:44:25 +0000 (18:44 +0000)]
Fixed a duplicate variable name problem(?).

18 years agoChanging the way we detect PHP 4.1.0
Robert Sesek [Sun, 26 Jun 2005 14:08:56 +0000 (14:08 +0000)]
Changing the way we detect PHP 4.1.0

18 years agoMessage text colour should be black
Robert Sesek [Sun, 26 Jun 2005 12:19:26 +0000 (12:19 +0000)]
Message text colour should be black

19 years agoRemoving the apidoc/ folder
Robert Sesek [Thu, 2 Jun 2005 14:22:50 +0000 (14:22 +0000)]
Removing the apidoc/ folder

19 years agoAdded scandir() function
Robert Sesek [Thu, 2 Jun 2005 04:51:34 +0000 (04:51 +0000)]
Added scandir() function

19 years agoOn XML parsing fail, use trigger_error() not some random print() statement
Robert Sesek [Tue, 31 May 2005 23:45:13 +0000 (23:45 +0000)]
On XML parsing fail, use trigger_error() not some random print() statement

19 years agoISSO's input handler now merges $_COOKIE into the mix
Robert Sesek [Mon, 30 May 2005 17:54:15 +0000 (17:54 +0000)]
ISSO's input handler now merges $_COOKIE into the mix

19 years agoRemoved ISSO::i and ISSO::input; the only input mechanism is ISSO::in
Robert Sesek [Mon, 30 May 2005 17:46:29 +0000 (17:46 +0000)]
Removed ISSO::i and ISSO::input; the only input mechanism is ISSO::in

19 years agoMade the docs less colloquial
Robert Sesek [Sat, 14 May 2005 20:03:38 +0000 (20:03 +0000)]
Made the docs less colloquial

19 years agoAdded fetch_max_attachment_size()
Robert Sesek [Fri, 13 May 2005 23:20:22 +0000 (23:20 +0000)]
Added fetch_max_attachment_size()

19 years agoIncreased the nesting depth a little so we can test the parser some more
Robert Sesek [Tue, 10 May 2005 03:48:51 +0000 (03:48 +0000)]
Increased the nesting depth a little so we can test the parser some more

19 years agoksort() the $return array so tags are in order
Robert Sesek [Tue, 10 May 2005 03:46:33 +0000 (03:46 +0000)]
ksort() the $return array so tags are in order

19 years agoFixed the XML parser so it actually works now... how exciting!
Robert Sesek [Tue, 10 May 2005 02:39:18 +0000 (02:39 +0000)]
Fixed the XML parser so it actually works now... how exciting!

19 years agoForgot to change the name of the XML-in data
Robert Sesek [Tue, 10 May 2005 02:09:23 +0000 (02:09 +0000)]
Forgot to change the name of the XML-in data

19 years agoRenaming downloads.xml to xmltest.xml
Robert Sesek [Tue, 10 May 2005 02:02:30 +0000 (02:02 +0000)]
Renaming downloads.xml to xmltest.xml

19 years agoFixed the second ignore clause... it was in the wrong place (woops!)
Robert Sesek [Tue, 10 May 2005 01:58:13 +0000 (01:58 +0000)]
Fixed the second ignore clause... it was in the wrong place (woops!)

19 years agoChecking in the parser:
Robert Sesek [Mon, 9 May 2005 23:46:59 +0000 (23:46 +0000)]
Checking in the parser:
- Doesn't work
- Includes raw DEBUG data
- Tag stack is operating weirdly
- Need to fix before the next release

19 years ago- Simplified dev/downloads.xml to have only a few items
Robert Sesek [Mon, 9 May 2005 23:45:21 +0000 (23:45 +0000)]
- Simplified dev/downloads.xml to have only a few items
- Wrote our test XML instance parser

19 years ago- New folder called "dev" for all of our fun little things
Robert Sesek [Mon, 9 May 2005 18:50:03 +0000 (18:50 +0000)]
- New folder called "dev" for all of our fun little things
- Make phpdoc.sh ignore our new folder
- Completely remove and recreate ./apidoc/ when we run phpdoc.sh

19 years agoAdded fetch_extension() method
Robert Sesek [Sun, 8 May 2005 22:43:16 +0000 (22:43 +0000)]
Added fetch_extension() method

19 years agoMake ISSO::escape() force by default, as all strings should be automagically escaped...
Robert Sesek [Wed, 4 May 2005 16:36:25 +0000 (16:36 +0000)]
Make ISSO::escape() force by default, as all strings should be automagically escaped at init.

19 years agoAdded fetch_microtime_diff() function
Robert Sesek [Sun, 24 Apr 2005 22:33:54 +0000 (22:33 +0000)]
Added fetch_microtime_diff() function

19 years agoFixed: Fatal error: Call to undefined function: mysql_error_no() in /WebRoot/htdocs...
Robert Sesek [Sun, 24 Apr 2005 21:37:43 +0000 (21:37 +0000)]
Fixed: Fatal error: Call to undefined function: mysql_error_no() in /WebRoot/htdocs/isso/db_mysql.php on line 274

19 years agoDocumented @return for Functions::array_set_current()
Robert Sesek [Sun, 24 Apr 2005 04:32:56 +0000 (04:32 +0000)]
Documented @return for Functions::array_set_current()

19 years agoAdded array_set_current() function.
Robert Sesek [Fri, 22 Apr 2005 22:51:14 +0000 (22:51 +0000)]
Added array_set_current() function.

19 years agoAdded description of what phpdoc.sh does
Robert Sesek [Tue, 19 Apr 2005 01:30:33 +0000 (01:30 +0000)]
Added description of what phpdoc.sh does

19 years agoAdding apidoc/ folder so phpdoc.sh script will work out-of-the-box.
Robert Sesek [Tue, 19 Apr 2005 01:28:31 +0000 (01:28 +0000)]
Adding apidoc/ folder so phpdoc.sh script will work out-of-the-box.

19 years agoFixed documentation langage mistake
Robert Sesek [Sun, 17 Apr 2005 19:35:52 +0000 (19:35 +0000)]
Fixed documentation langage mistake

19 years agoMarking iff() as deprecated.
Robert Sesek [Sun, 17 Apr 2005 05:28:17 +0000 (05:28 +0000)]
Marking iff() as deprecated.

19 years agoChanged default output format.
Robert Sesek [Sun, 17 Apr 2005 05:22:21 +0000 (05:22 +0000)]
Changed default output format.

19 years agoMaking everything properly documented so that we don't produce warnings when running...
Robert Sesek [Sun, 17 Apr 2005 05:05:06 +0000 (05:05 +0000)]
Making everything properly documented so that we don't produce warnings when running ./phpdoc.sh

19 years agoRemoved echo() debug for error reporting stuff.
Robert Sesek [Wed, 13 Apr 2005 23:55:53 +0000 (23:55 +0000)]
Removed echo() debug for error reporting stuff.

19 years agoUpdated error reporting stuff. It was really broken before and I'm not exactly sure...
Robert Sesek [Wed, 13 Apr 2005 23:53:18 +0000 (23:53 +0000)]
Updated error reporting stuff. It was really broken before and I'm not exactly sure why. We now also use the pre-defined PHP constants instead of the ERR_* ones.

19 years agoUpdated file headers to be our new one.
Robert Sesek [Wed, 13 Apr 2005 22:12:51 +0000 (22:12 +0000)]
Updated file headers to be our new one.

19 years agoUpdated initial copyright year from 2003 to 2002
Robert Sesek [Wed, 13 Apr 2005 03:58:06 +0000 (03:58 +0000)]
Updated initial copyright year from 2003 to 2002

19 years agoRemoved some unnecessary function calls from DB_Template::_parse_conditionals()
Robert Sesek [Mon, 11 Apr 2005 00:21:47 +0000 (00:21 +0000)]
Removed some unnecessary function calls from DB_Template::_parse_conditionals()

19 years agoFixed faulty documentation.
Robert Sesek [Mon, 11 Apr 2005 00:20:32 +0000 (00:20 +0000)]
Fixed faulty documentation.

19 years ago- White space OCD
Robert Sesek [Mon, 11 Apr 2005 00:11:24 +0000 (00:11 +0000)]
- White space OCD
- Documentation

19 years agoDo not replace the WWW at the start of our host when we do the POST referer check.
Robert Sesek [Fri, 8 Apr 2005 02:42:33 +0000 (02:42 +0000)]
Do not replace the WWW at the start of our host when we do the POST referer check.

19 years agoChanged ISSO::debug() to not only work under debug mode because we want to show that...
Robert Sesek [Thu, 31 Mar 2005 22:15:28 +0000 (22:15 +0000)]
Changed ISSO::debug() to not only work under debug mode because we want to show that the POST check works, and we can't if we use that method.

19 years agoWe now hide the path when we use ISSO::_error_handler(). Added ability to check for...
Robert Sesek [Thu, 31 Mar 2005 22:07:51 +0000 (22:07 +0000)]
We now hide the path when we use ISSO::_error_handler(). Added ability to check for foreign host POST requests.

19 years agoRemoved iff() from use in ISSO. Placed notice on the function to state that it's...
Robert Sesek [Wed, 30 Mar 2005 23:06:15 +0000 (23:06 +0000)]
Removed iff() from use in ISSO. Placed notice on the function to state that it's being deprecated.

19 years agoAdded force paramater on ISSO::escape to disable magic quotes fix.
Robert Sesek [Wed, 30 Mar 2005 08:50:21 +0000 (08:50 +0000)]
Added force paramater on ISSO::escape to disable magic quotes fix.

19 years agoAllow ISSO::funct::rand() to take array(LOW VAL, HIGH VAL) just like rand() normally...
Robert Sesek [Wed, 30 Mar 2005 01:25:50 +0000 (01:25 +0000)]
Allow ISSO::funct::rand() to take array(LOW VAL, HIGH VAL) just like rand() normally would.

19 years agoCreated live query printing for debugging purposes.
Robert Sesek [Wed, 30 Mar 2005 01:05:39 +0000 (01:05 +0000)]
Created live query printing for debugging purposes.

19 years agoOnly use ISSO::db::escape_string() when we have binary data, otherwise it'll escape...
Robert Sesek [Sun, 27 Mar 2005 18:16:04 +0000 (18:16 +0000)]
Only use ISSO::db::escape_string() when we have binary data, otherwise it'll escape new line and carriage return characters.

19 years agoWoops... didn't want that damn keyword to expand.
Robert Sesek [Wed, 23 Mar 2005 03:58:54 +0000 (03:58 +0000)]
Woops... didn't want that damn keyword to expand.

19 years agoAdded more tests for not under source control things.
Robert Sesek [Wed, 23 Mar 2005 03:57:57 +0000 (03:57 +0000)]
Added more tests for not under source control things.

19 years agoFixed:
Robert Sesek [Wed, 23 Mar 2005 03:28:29 +0000 (03:28 +0000)]
Fixed:

- ksort() expects parameter 1 to be array, null given in /WebRoot/htdocs/isso/template.php on line 460
- Invalid argument supplied for foreach() in /WebRoot/htdocs/isso/template.php on line 461

19 years agoNo longer need to fetch the character of $i in the conditional parser.
Robert Sesek [Tue, 22 Mar 2005 19:59:45 +0000 (19:59 +0000)]
No longer need to fetch the character of $i in the conditional parser.

19 years agoSimplified ISSO::escape() a little.
Robert Sesek [Tue, 22 Mar 2005 19:37:44 +0000 (19:37 +0000)]
Simplified ISSO::escape() a little.

19 years agoMoving the tpl-if-fix/ branch from tags/ to branches/. My bad.
Robert Sesek [Sat, 19 Mar 2005 05:37:28 +0000 (05:37 +0000)]
Moving the tpl-if-fix/ branch from tags/ to branches/. My bad.

19 years agoMoving the tpl-if-fix/ branch from tags/ to branches/. My bad.
Robert Sesek [Sat, 19 Mar 2005 05:37:28 +0000 (05:37 +0000)]
Moving the tpl-if-fix/ branch from tags/ to branches/. My bad.

19 years agoRemoved unnecessary extraction of the condition. Made comments clearer and cleaner...
Robert Sesek [Sat, 19 Mar 2005 05:36:36 +0000 (05:36 +0000)]
Removed unnecessary extraction of the condition. Made comments clearer and cleaner. Changed the else parser to use the $tag_else variable instead of just '<else />'

19 years agoMerging tpl-if-fix/ branch into trunk. We now properly handle nested conditionals...
Robert Sesek [Sat, 19 Mar 2005 05:26:19 +0000 (05:26 +0000)]
Merging tpl-if-fix/ branch into trunk. We now properly handle nested conditionals with our bran-spankin' new parser.

19 years agoRemoved debugging code and old code.
Robert Sesek [Sat, 19 Mar 2005 05:18:56 +0000 (05:18 +0000)]
Removed debugging code and old code.

19 years agoNOW it works completely.
Robert Sesek [Sat, 19 Mar 2005 05:16:56 +0000 (05:16 +0000)]
NOW it works completely.

19 years agoBy golly I think we have it!
Robert Sesek [Sat, 19 Mar 2005 05:09:59 +0000 (05:09 +0000)]
By golly I think we have it!

19 years agoIT WORKS... well... almost. <else /> doesn't YET.
Robert Sesek [Sat, 19 Mar 2005 05:01:45 +0000 (05:01 +0000)]
IT WORKS... well... almost. <else /> doesn't YET.

19 years agoBroken, just checking in code.
Robert Sesek [Sat, 19 Mar 2005 04:28:36 +0000 (04:28 +0000)]
Broken, just checking in code.

19 years agoBack to tokenization. The stack method WORKS, but we need to figure out why parsing...
Robert Sesek [Sat, 19 Mar 2005 03:39:10 +0000 (03:39 +0000)]
Back to tokenization. The stack method WORKS, but we need to figure out why parsing it does not. *sigh* so complicated... wait... I think I know... HOLD ON :).

19 years agoHackish way to do it by just replacing strings. Ugh.
Robert Sesek [Sat, 19 Mar 2005 01:07:03 +0000 (01:07 +0000)]
Hackish way to do it by just replacing strings. Ugh.

19 years agoNot working... just checking in.
Robert Sesek [Sat, 19 Mar 2005 00:58:35 +0000 (00:58 +0000)]
Not working... just checking in.

19 years agoWe now properly extract the condition :-)
Robert Sesek [Sat, 19 Mar 2005 00:48:22 +0000 (00:48 +0000)]
We now properly extract the condition :-)

19 years agoIt's kind of working... not really, though. Bed time so I can't finish this now :-(.
Robert Sesek [Fri, 18 Mar 2005 08:32:02 +0000 (08:32 +0000)]
It's kind of working... not really, though. Bed time so I can't finish this now :-(.

19 years agoBase tokenizing parser in place
Robert Sesek [Fri, 18 Mar 2005 08:17:25 +0000 (08:17 +0000)]
Base tokenizing parser in place

19 years agoAdded debugging information.
Robert Sesek [Fri, 18 Mar 2005 06:51:21 +0000 (06:51 +0000)]
Added debugging information.

19 years agoOnly turn on magicquotes in exec_sanitize_data() if we are supposed to...
Robert Sesek [Mon, 14 Mar 2005 00:16:03 +0000 (00:16 +0000)]
Only turn on magicquotes in exec_sanitize_data() if we are supposed to...

19 years agoCleaned up error reporting stuff so it works better under PHP5... this seems to be...
Robert Sesek [Mon, 14 Mar 2005 00:13:23 +0000 (00:13 +0000)]
Cleaned up error reporting stuff so it works better under PHP5... this seems to be the only thing we ever do now :p

19 years agoFixed bug in ISSO::Mail::_convert_line_breaks where line breaks were in some cases...
Robert Sesek [Thu, 10 Mar 2005 00:22:47 +0000 (00:22 +0000)]
Fixed bug in ISSO::Mail::_convert_line_breaks where line breaks were in some cases being converted twice. The problem was that if you wanted to convert to \r\n you can't convert in a linear fashion (do all of the conversions to \r\n). Instead, you have to simplify everything to one line break, and then change the line breaks to the desired style. This is because \r\n would be converted into double line breaks if the old style was already \r\n.

19 years agoBetter detecting for PHP5.
Robert Sesek [Wed, 9 Mar 2005 22:57:24 +0000 (22:57 +0000)]
Better detecting for PHP5.

19 years agoAdded a parameter to ISSO::unsanitize to force magic quotes to be off (which is neede...
Robert Sesek [Mon, 21 Feb 2005 04:53:18 +0000 (04:53 +0000)]
Added a parameter to ISSO::unsanitize to force magic quotes to be off (which is needed by ISSO::Mail if we don't want escaped quotes in the mail).

19 years agoAll line breaks are now LF (http://us4.php.net/manual/en/function.mail.php). We leave...
Robert Sesek [Mon, 21 Feb 2005 04:05:22 +0000 (04:05 +0000)]
All line breaks are now LF (us4.php.net/manual/en/function.mail.php). We leave headers as such because the NB says that poor mailers will not send it, but it's a one-way street. Also, to follow the rest of send(), the headers are now stored in the object, not as a separate variable.

19 years agoShortened instance variables.
Robert Sesek [Mon, 21 Feb 2005 03:42:27 +0000 (03:42 +0000)]
Shortened instance variables.

19 years agoAdded mail framework. *BLIND COMMIT*
Robert Sesek [Mon, 21 Feb 2005 02:39:53 +0000 (02:39 +0000)]
Added mail framework. *BLIND COMMIT*

19 years agoAdded appversion instance variable.
Robert Sesek [Sun, 20 Feb 2005 21:49:52 +0000 (21:49 +0000)]
Added appversion instance variable.

19 years agoFixed possible exploit in query link where the original URI was not sanitized.
Robert Sesek [Sun, 20 Feb 2005 21:26:22 +0000 (21:26 +0000)]
Fixed possible exploit in query link where the original URI was not sanitized.

19 years agoAdded magic quotes mimicker, except it actually works well. Added support for isso...
Robert Sesek [Sun, 20 Feb 2005 01:43:25 +0000 (01:43 +0000)]
Added magic quotes mimicker, except it actually works well. Added support for isso::db::escape_string() for when isso::magicquotes is set to true.

19 years agoFixed debug HTML select tab spacing.
Robert Sesek [Sat, 19 Feb 2005 23:23:59 +0000 (23:23 +0000)]
Fixed debug HTML select tab spacing.

19 years agoAdded error handling so all E_USER_* would be disabled with their E_* counterparts.
Robert Sesek [Sun, 13 Feb 2005 00:17:37 +0000 (00:17 +0000)]
Added error handling so all E_USER_* would be disabled with their E_* counterparts.

19 years agoAdded random string generator.
Robert Sesek [Sun, 13 Feb 2005 00:07:54 +0000 (00:07 +0000)]
Added random string generator.

19 years agoAdded reference instance variables to isso::input (named i and in). Allows for more...
Robert Sesek [Wed, 9 Feb 2005 20:29:23 +0000 (20:29 +0000)]
Added reference instance variables to isso::input (named i and in). Allows for more short-hand processing.

19 years agoChanged ERR_ERROR to ERR_ALERT. Added PHP5 fix for error reporting. Error handler...
Robert Sesek [Sat, 22 Jan 2005 23:20:44 +0000 (23:20 +0000)]
Changed ERR_ERROR to ERR_ALERT. Added PHP5 fix for error reporting. Error handler now checks to make sure error_reporting is right.