dylansserver.git
13 years agoNow buffering output for errors
Dylan Lloyd [Sun, 6 Mar 2011 06:14:11 +0000 (01:14 -0500)] 
Now buffering output for errors

13 years agoFixed exhibit margins
Dylan Lloyd [Sun, 6 Mar 2011 05:53:45 +0000 (00:53 -0500)] 
Fixed exhibit margins

13 years agoFixed off by one error
Dylan Lloyd [Sun, 6 Mar 2011 05:49:44 +0000 (00:49 -0500)] 
Fixed off by one error

13 years agoAdded cms.php
Dylan Lloyd [Sun, 6 Mar 2011 04:19:42 +0000 (23:19 -0500)] 
Added cms.php

...Added cms.php, don't know how I missed that...

Everything works but #contact_me isn't spaced correctly and gets screwy with an exhibit open.

Have realized there is no way to erase what PHP has already printed to the client after issuing a 404. The method of output needs to be changed to allow for this.

Would very much like to implement note lists with /notes/YYYY/MM/DD.

13 years agoNow issues 404 if page # not found
Dylan Lloyd [Sat, 5 Mar 2011 21:07:42 +0000 (16:07 -0500)] 
Now issues 404 if page # not found

13 years agoEverything now comes from cms.php
Dylan Lloyd [Sat, 5 Mar 2011 20:58:12 +0000 (15:58 -0500)] 
Everything now comes from cms.php

Now every page is generated by includes/cms.php. I still need to do more checks to issue 404s appropriately.

Some leftover cruft from past merges was cleaned.

13 years agoMySQL q's are now prepared. Added includes/cms.php
Dylan Lloyd [Thu, 24 Feb 2011 01:02:10 +0000 (20:02 -0500)] 
MySQL q's are now prepared. Added includes/cms.php

All MySQL queries from $_GET are now prepared. This logic has been placed in `$this->query($sql, $data_types, $dirty_data, $dirty_data...)`.

Projects are now also handled by includes/cms.php.

I still don't feel as though the code is entirely DRY, and the object schema still feels somewhat procedural.

The publish_* scripts need to be updated or gotten rid of for a nice interface.

The date_posted storage needs to be switched to datetime, that was a silly decision to start with.

13 years agoMerged branch 'no-javascript' with notes
Dylan Lloyd [Thu, 17 Feb 2011 04:38:42 +0000 (23:38 -0500)] 
Merged branch 'no-javascript' with notes

Now gracefully falls back to friendly URL's when javascript is disabled. Links are adjusted to anchors with javascript on page load.

notes/ are paginated with index.php and rewritten to from /notes/page/# and notes are permalinked at /notes/note_title. index.php loads exhibits from MySQL to allow for this.

notes/ are published via publish.py, and exhibits are published via publish_projects.py. THESE SCRIPTS ARE NOT SAFE - they trust user input implicitly and are chmodded 700.

mysql> show tables;
+----------------------------+
| Tables_in_dylanstestserver |
+----------------------------+
| notes                      |
| projects                   |
+----------------------------+
2 rows in set (0.00 sec)

mysql> desc notes;
+-------------+--------------+------+-----+---------+----------------+
| Field       | Type         | Null | Key | Default | Extra          |
+-------------+--------------+------+-----+---------+----------------+
| id          | int(11)      | NO   | PRI | NULL    | auto_increment |
| date_posted | date         | NO   |     | NULL    |                |
| title       | varchar(255) | NO   |     | NULL    |                |
| text        | longblob     | NO   |     | NULL    |                |
| url         | varchar(255) | NO   |     | NULL    |                |
+-------------+--------------+------+-----+---------+----------------+
5 rows in set (0.00 sec)

mysql> desc projects;
+-------+--------------+------+-----+---------+----------------+
| Field | Type         | Null | Key | Default | Extra          |
+-------+--------------+------+-----+---------+----------------+
| id    | int(11)      | NO   | PRI | NULL    | auto_increment |
| title | varchar(255) | NO   |     | NULL    |                |
| text  | longblob     | NO   |     | NULL    |                |
+-------+--------------+------+-----+---------+----------------+
3 rows in set (0.00 sec)

13 years agonotes/ now working!
Dylan Lloyd [Wed, 16 Feb 2011 06:29:39 +0000 (01:29 -0500)] 
notes/ now working!

13 years agoLooks okay, gotta decide on a cms
Dylan Lloyd [Mon, 14 Feb 2011 09:31:01 +0000 (04:31 -0500)] 
Looks okay, gotta decide on a cms

13 years agoChanged my repo to link to gitweb
Dylan Lloyd [Sat, 12 Feb 2011 07:54:37 +0000 (02:54 -0500)] 
Changed my repo to link to gitweb

13 years agoAdded a 'pragma directive' to declare UTF-8 char encoding
Dylan Lloyd [Fri, 4 Feb 2011 20:52:40 +0000 (15:52 -0500)] 
Added a 'pragma directive' to declare UTF-8 char encoding

13 years agoAdded a 404.php title and tidy'd it
Dylan Lloyd [Sat, 22 Jan 2011 06:00:03 +0000 (01:00 -0500)] 
Added a 404.php title and tidy'd it

13 years agoFixed mistake in .htaccess for ErrorDocument 404.
Dylan Lloyd [Sat, 22 Jan 2011 05:05:04 +0000 (00:05 -0500)] 
Fixed mistake in .htaccess for ErrorDocument 404.

The path of the document must begin with a leading / and consist of the full path to the document relative to the DocumentRoot (which is the virtual host root dylanstestserver.com).

Reference here:
http://serverfault.com/questions/81061/htaccess-redirect-of-404-error-just-prints-filename-doesnt-execute-file

13 years agoAdded .htaccess and 404.phpfor a custom ErrorDocument.
Dylan Lloyd [Sat, 22 Jan 2011 05:01:48 +0000 (00:01 -0500)] 
Added .htaccess and 404.phpfor a custom ErrorDocument.

13 years agoChanged #portfolio li font-family to sans-serif.
Dylan Lloyd [Sat, 22 Jan 2011 04:54:15 +0000 (23:54 -0500)] 
Changed #portfolio li font-family to sans-serif.

13 years agochanged i_like_pandora blurb
Dylan Lloyd [Tue, 18 Jan 2011 23:50:29 +0000 (18:50 -0500)] 
changed i_like_pandora blurb

13 years agogot peepshow italic, by adding css for #peepshow_
Dylan Lloyd [Thu, 13 Jan 2011 02:43:00 +0000 (21:43 -0500)] 
got peepshow italic, by adding css for #peepshow_

13 years agofixed validation error
Dylan Lloyd [Wed, 12 Jan 2011 00:26:32 +0000 (19:26 -0500)] 
fixed validation error

13 years agoSwapped class names, cleaned CSS & HTML, tidy'd.
Dylan Lloyd [Wed, 12 Jan 2011 00:05:09 +0000 (19:05 -0500)] 
Swapped class names, cleaned CSS & HTML, tidy'd.

Switched .exhibit to .tab and .tab to .exhibit. Changed project specific class name's to ID's and standardized the naming. Added comments to group the ID's in includes/style.css.

Got rid of empty li elements and moved virtually all style to the stylesheet as it should be.

For some reason I can't figure out, the #peepshow_entry_title-2 anchor element is not inheriting font-style:italics.

13 years agoslowed the slide effect to 600, not sure why it was at 400
Dylan Lloyd [Tue, 11 Jan 2011 04:47:19 +0000 (23:47 -0500)] 
slowed the slide effect to 600, not sure why it was at 400

13 years agogot rid of kjondesign
Dylan Lloyd [Sat, 8 Jan 2011 05:11:02 +0000 (00:11 -0500)] 
got rid of kjondesign

13 years agoadded my repo, moved everything up by 15px, got rid of blank space at the bottom...
Dylan Lloyd [Sat, 8 Jan 2011 04:00:23 +0000 (23:00 -0500)] 
added my repo, moved everything up by 15px, got rid of blank space at the bottom and tidy'd.

13 years agotidy'd and fixed another class typo
Dylan Lloyd [Sat, 8 Jan 2011 03:53:07 +0000 (22:53 -0500)] 
tidy'd and fixed another class typo

13 years agofixed class typos and resized i_like_pandora title
Dylan Lloyd [Sat, 8 Jan 2011 03:37:42 +0000 (22:37 -0500)] 
fixed class typos and resized i_like_pandora title

13 years agoadded i_like_pandora
Dylan Lloyd [Sat, 8 Jan 2011 02:58:30 +0000 (21:58 -0500)] 
added i_like_pandora

13 years agofixed favicon link
Dylan Lloyd [Sat, 25 Dec 2010 06:16:40 +0000 (01:16 -0500)] 
fixed favicon link

13 years agotrimmed jquery-components, combined .js files
Dylan Lloyd [Sat, 25 Dec 2010 05:31:27 +0000 (00:31 -0500)] 
trimmed jquery-components, combined .js files

cat jquery-core.js jquery-custom-min.js tabs.js > all.js

jquery-custom-min.js will need to be recompiled from their website to add functionality. jquery-all-components has all components for easy testing of features.

13 years agochanged .js link to reflect rename from last commit
Dylan Lloyd [Sat, 25 Dec 2010 05:24:12 +0000 (00:24 -0500)] 
changed .js link to reflect rename from last commit

13 years agogot rid of accidental files from blueprint.css which i'm not using
Dylan Lloyd [Sat, 25 Dec 2010 05:21:39 +0000 (00:21 -0500)] 
got rid of accidental files from blueprint.css which i'm not using

13 years agofixd 2links, rm READOO/, should now be rdy for ec2
Dylan Lloyd [Tue, 21 Dec 2010 23:18:29 +0000 (18:18 -0500)] 
fixd 2links, rm READOO/, should now be rdy for ec2

13 years agono more peepshow_html, keep it simple, stupid
Dylan Lloyd [Tue, 21 Dec 2010 22:44:54 +0000 (17:44 -0500)] 
no more peepshow_html, keep it simple, stupid

13 years agotidy'd
Dylan Lloyd [Mon, 20 Dec 2010 21:51:58 +0000 (16:51 -0500)] 
tidy'd

13 years agofixed spacing error and changed header link to W3C/unicorn
Dylan Lloyd [Mon, 20 Dec 2010 21:39:31 +0000 (16:39 -0500)] 
fixed spacing error and changed header link to W3C/unicorn

13 years agofixed stylesheet typos, now validates
Dylan Lloyd [Mon, 20 Dec 2010 21:23:52 +0000 (16:23 -0500)] 
fixed stylesheet typos, now validates

13 years agofixed linking to anchor
Dylan Lloyd [Mon, 20 Dec 2010 17:21:55 +0000 (12:21 -0500)] 
fixed linking to anchor

13 years ago<h3> not allowed in <span>
Dylan Lloyd [Mon, 20 Dec 2010 17:09:39 +0000 (12:09 -0500)] 
<h3> not allowed in <span>

13 years agomore typos
Dylan Lloyd [Mon, 20 Dec 2010 03:41:47 +0000 (22:41 -0500)] 
more typos

13 years agotypo
Dylan Lloyd [Mon, 20 Dec 2010 03:33:24 +0000 (22:33 -0500)] 
typo

13 years agoadded youtube_backup
Dylan Lloyd [Mon, 20 Dec 2010 03:28:01 +0000 (22:28 -0500)] 
added youtube_backup

13 years agofixed bad commit on index.php, restored to HEAD^
dylan [Mon, 6 Dec 2010 04:36:09 +0000 (23:36 -0500)] 
fixed bad commit on index.php, restored to HEAD^

13 years agoadded favicon
dylan [Thu, 2 Dec 2010 06:41:56 +0000 (01:41 -0500)] 
added favicon

14 years agoadded drawcss, showdivs function
dylan [Mon, 25 Oct 2010 05:57:32 +0000 (01:57 -0400)] 
added drawcss, showdivs function

14 years agosome things work sometimes incorrectly
dylan [Thu, 21 Oct 2010 19:00:09 +0000 (15:00 -0400)] 
some things work sometimes incorrectly

14 years agochgd effects, fixd typos, betr formatting, += copy
dylan [Tue, 19 Oct 2010 23:31:03 +0000 (19:31 -0400)] 
chgd effects, fixd typos, betr formatting, += copy

need to: analyze http requests, get rid of unnecessary jquery components

14 years agoformatting fixes & tabs fully functioning
dylan [Mon, 18 Oct 2010 20:43:25 +0000 (16:43 -0400)] 
formatting fixes & tabs fully functioning

14 years agofirst jQ tab functions.
dylan [Mon, 18 Oct 2010 18:04:22 +0000 (14:04 -0400)] 
first jQ tab functions.

in retrospect, the naming for .tabs/.projects could not be more backwards. somebody should switch them. hmm.

14 years agoadded hidden div & jQ proofofconcept on 1st link
dylan [Mon, 18 Oct 2010 17:53:00 +0000 (13:53 -0400)] 
added hidden div & jQ proofofconcept on 1st link

14 years agotypos
dylan [Mon, 18 Oct 2010 06:25:41 +0000 (02:25 -0400)] 
typos

14 years agoadded / to banner, added links & headers
dylan [Mon, 18 Oct 2010 05:54:20 +0000 (01:54 -0400)] 
added / to banner, added links & headers

14 years agofirst commit
dylan [Mon, 18 Oct 2010 04:12:54 +0000 (00:12 -0400)] 
first commit