Commit Graph

263 Commits

Author SHA1 Message Date
mike.morgan%oregonstate.edu
c1fa0f65b8 Fixed ordering in startProcessing so is_cached() can work properly. 2006-02-19 13:34:06 +00:00
mike.morgan%oregonstate.edu
c8b79f112b Added central config for caching and shadow DB. 2006-02-19 13:26:05 +00:00
mike.morgan%oregonstate.edu
02bce9a349 Fixed missing app param in link. 2006-02-02 02:29:50 +00:00
mike.morgan%oregonstate.edu
1dc0a2d8dc Added rotating features to the front page. These will be controlled using the "reviews manager" of the existing developer tools.
The rotating feature on the front page assumes that:
    a) there is already a feature that exists -- it barfs when there are zero features in the database for a given application
    b) the main preview (preview='yes' in previews):
        i) exists
        ii) is a reasonable size

Some additions to the reviews manager would be:
    a) adding the "feature" screenshot along with the review so admins have control over what the actual feature looks like
    b) possibly requireing screenshots marked as "preview" to be a certain dimension so we can actually rely on the pixel width assumption
2006-01-30 08:44:02 +00:00
mike.morgan%oregonstate.edu
475fdad335 Fixed css and templates for login/comment/logout/createaccount.
Probably missed a couple of items, but will get to that tomorrow night.

Stored CSS in forms.css so we can reuse it for other forms.
2006-01-30 06:08:00 +00:00
mike.morgan%oregonstate.edu
face90c3bb Added SQL for recommended addons, cleaned up other queries. 2006-01-30 05:10:41 +00:00
mike.morgan%oregonstate.edu
f99f84eea6 Fixed CSS for recommended page. Added dynamic recommended page and template. Fixed link to recommended page. 2006-01-30 05:09:33 +00:00
mike.morgan%oregonstate.edu
01e48ad118 Fixed more broken links. 2006-01-30 02:36:04 +00:00
mike.morgan%oregonstate.edu
dd20c6fea7 New rewrite rules to break stuff (unintentionally!). 2006-01-30 02:27:11 +00:00
mike.morgan%oregonstate.edu
4d1708360a Added links, etc., to follow new rewrite rules. Things might break. 2006-01-30 02:25:46 +00:00
mike.morgan%oregonstate.edu
fc6c4fc984 Fixed header/footer to link to feeds/login/logout/register.
Added feeds template.
2006-01-29 23:47:15 +00:00
mike.morgan%oregonstate.edu
896a892c65 Added flexibility for human-readable args in rss.php.
Added feeds.php, to list possible feeds -- reference page.
2006-01-29 23:46:42 +00:00
mike.morgan%oregonstate.edu
f656039e25 Forgot to turn caching back on. 2006-01-29 23:13:29 +00:00
mike.morgan%oregonstate.edu
300ffd6807 First working version of RSS, with caching. 2006-01-29 23:12:35 +00:00
mike.morgan%oregonstate.edu
b3baf28f0a Fixed references to non-existent header/footer files. 2006-01-29 07:07:15 +00:00
bugzilla%micropipes.com
35ca9cbb82 - Ratecomment is now secured
- Made create, verify, recover, and reset scripts
2006-01-29 06:49:48 +00:00
bugzilla%micropipes.com
b19702c3f7 wrote:
User::addUser()
User::sendMail()
User::sendConfirmation()
User::confirm()
User::getUserByEmail()
User::generateConfirmationCode()
User::sendPasswordRecoveryEmail()
User::checkResetPasswordCode()
User::setPassword()
2006-01-29 06:48:38 +00:00
bugzilla%micropipes.com
4c6b53b7db Minor modifications to addon/login
New templates:  createaccount.tpl recoverpassword.tpl resetpassword.tpl verifyaccount.tpl
2006-01-29 06:47:24 +00:00
mike.morgan%oregonstate.edu
0b0d831ef9 Cleaned up the author panel, fixed link titles. 2006-01-28 23:57:27 +00:00
mike.morgan%oregonstate.edu
8b8c44a885 Modified version query so it, like, works and stuff. Me dumb, me no likey SQL. 2006-01-28 23:03:22 +00:00
mike.morgan%oregonstate.edu
40293fe93a Fixed version history and moved it to the bottom of the addon list. It's not an important feature. 2006-01-28 23:02:34 +00:00
mike.morgan%oregonstate.edu
b964f0ed01 Progress with RSS, fixes for wrappers, comment styles, navigation, etc. 2006-01-28 22:42:26 +00:00
mike.morgan%oregonstate.edu
6d61b0e87b REPO_DIR doesn't apply to public/ so it shouldn't be in init.php. 2006-01-28 22:18:13 +00:00
mike.morgan%oregonstate.edu
68d7c5899c Modified config-dist.php. 2006-01-28 22:14:43 +00:00
bugzilla%micropipes.com
53a83cd19a added sql changes for the link between users and feedback 2006-01-28 22:10:36 +00:00
bugzilla%micropipes.com
db42e94c3d Added the call so the template starts - page works now 2006-01-28 18:34:15 +00:00
mike.morgan%oregonstate.edu
60121de43f Couple of minor changes. 2006-01-26 16:26:18 +00:00
bugzilla%micropipes.com
44a47cc603 - Finished addcomment.php. Comments actually go in the db now
- Added a convienence function to auth to get the user id quickly
2006-01-26 05:59:30 +00:00
mike.morgan%oregonstate.edu
61f888bf96 Fixed getters so they get instead of set in amo.class.php. 2006-01-26 00:54:11 +00:00
mike.morgan%oregonstate.edu
c9cb8eccae Fixed validation errors, bad links, added cat sidebar, themes, extensions. 2006-01-26 00:53:30 +00:00
mike.morgan%oregonstate.edu
65182984f8 Finished extensions / themes and mofidied the search to work with the updated amo.class.php, which doesn't set class vars but instead was updated so the gets actually just return data instead of setting things. Makes sense, no? 2006-01-26 00:52:44 +00:00
bugzilla%micropipes.com
d877ee50d2 Minor changes concerning how input checking was handled. Query is nearly ready to be
run, waiting on answers to a couple questions (ie. do we continue duplicating data,
or rely on foriegn keys?)
2006-01-24 05:25:51 +00:00
mike.morgan%oregonstate.edu
e17e6bd51c Ok, added these for real this time. :)
Still have to flesh these out, but that won't take long.
2006-01-23 03:29:51 +00:00
mike.morgan%oregonstate.edu
48d03b8682 *.tpl
Modified multiple template files to fix validation errors.
    Removed outdated template files for header/footer.tpl.
    Updated links and search forms to point to the correct href/action.
    Added themes/extensions templates.
    Fixed application values in main navigation so when app=null it wouldn't persist and instead be set to firefox by default.

*.sql
    Added v2.sql and updated amo.sql to contain the correct database structure.
    Note: v2.sql is for the v1->v2 migration when the public v2 is released.

search.php
    Fixed selected values for application, and cleaned up code.

session.class.php, includes.php
    No longer need session.class.php, it is replaced by auth.class.php.
2006-01-23 03:28:26 +00:00
bugzilla%micropipes.com
46aa28a059 - Logins (sessions) now work. (There are no links to logout.php, so if you want to
logout you'll have to type it manually)

- Add comment is started, but doesn't actually do any data insertion yet

- We need CSS pretty badly
2006-01-23 01:24:47 +00:00
bugzilla%micropipes.com
96546cc2ff USE_DB_SESSIONS does nothing now 2006-01-22 23:51:06 +00:00
bugzilla%micropipes.com
3d955f4983 fixed typo 2006-01-22 23:49:48 +00:00
bugzilla%micropipes.com
815c948b0b Typo in these files, </body> and </html> was in there twice 2006-01-22 23:47:39 +00:00
mike.morgan%oregonstate.edu
bcd05ec36e Removed from root. 2006-01-22 23:33:59 +00:00
mike.morgan%oregonstate.edu
285c64340d Updated the addons template to not have missing links. 2006-01-18 22:54:38 +00:00
mike.morgan%oregonstate.edu
3e9a032c95 Migrated and modified maintenance.php, where session garbage collection should live -- so it can be called by cron.
Added update.php to replace ./update/VersionCheck.php in v1.0.  Enabled 1-hour caching for this page and verified XML output in client tests.
Added accompanying template for update script.
Moved annoying local configurations found in .htaccess into htaccess.dist so it's readily visible.
Removed old .htaccess file, since it was evil.
2006-01-18 10:11:04 +00:00
mike.morgan%oregonstate.edu
77eec7a4b0 Added comment about avoiding caching. 2006-01-12 03:17:55 +00:00
mconnor%steelgryphon.com
0cfe61a0d9 more fixes 2005-12-30 04:51:35 +00:00
mike.morgan%oregonstate.edu
188e943861 Fixed up, commented, and implemented multiple caching.
Added global variables:
    cacheId
    compileId
    currentTab
    clean
    sql

Moved trusted var arrays into init -- since they are always there, and if they are not used it'll just be a null array.
2005-12-29 02:22:18 +00:00
mike.morgan%oregonstate.edu
d15fb387a3 Fixed broken links. 2005-12-29 02:13:18 +00:00
mike.morgan%oregonstate.edu
aa719b39ec Fixed naming inconsistencies. 2005-12-29 02:10:55 +00:00
mike.morgan%oregonstate.edu
0098441920 Cleaned up the crappy indenting and commenting. 2005-12-28 23:20:40 +00:00
mike.morgan%oregonstate.edu
fc2a4ee7de Fixed pre-processing and includes for all scripts. 2005-12-28 23:17:17 +00:00
mike.morgan%oregonstate.edu
95c61d1973 Fixed image paths. "img" is deprecated, sticking with "images" even though it's 3 characters crappier. :) 2005-12-28 23:16:55 +00:00
mike.morgan%oregonstate.edu
b3b615b654 Added .htaccess file, fixed some comments, updated config-dist so it's a little less confusing. 2005-12-22 22:28:57 +00:00
mike.morgan%oregonstate.edu
f6b48cad4f Placeholder for developer stuff. 2005-12-22 20:51:39 +00:00
mike.morgan%oregonstate.edu
ee8937265c Removing css dir. 2005-12-22 20:49:03 +00:00
mike.morgan%oregonstate.edu
8554cdf091 restructuring... 2005-12-22 20:45:57 +00:00
mike.morgan%oregonstate.edu
7e4ea8d609 Added htaccess back in. 2005-12-22 20:41:50 +00:00
mike.morgan%oregonstate.edu
0e3bd756d8 Removed this, no longer needed. 2005-12-22 20:37:58 +00:00
mike.morgan%oregonstate.edu
f2a2d9e030 Added shared and developer sections. 2005-12-22 20:34:05 +00:00
mike.morgan%oregonstate.edu
3b9875fc95 Restructuring repository for improved modularity. 2005-12-22 20:30:28 +00:00
mike.morgan%oregonstate.edu
abc89631cc Removing Smarty from CVS -- because it should be managed at a system level. 2005-12-22 19:41:58 +00:00
mike.morgan%oregonstate.edu
3a5f2bf54e Removed demo dir. 2005-12-22 19:35:53 +00:00
mconnor%steelgryphon.com
034c49bb0a big shiny perf rework 2005-12-22 18:55:38 +00:00
mike.morgan%oregonstate.edu
4c87a4c463 Added missing search plug-in images. 2005-12-22 18:02:43 +00:00
mike.morgan%oregonstate.edu
cd20407fa4 Fixed favicon path in header. 2005-12-22 02:40:55 +00:00
mike.morgan%oregonstate.edu
383aae738a Added favicon. 2005-12-22 02:40:24 +00:00
mike.morgan%oregonstate.edu
5493e6a851 No need for directories. 2005-12-22 02:34:51 +00:00
mike.morgan%oregonstate.edu
1b7d5a350d Added search engines, images, new CSS for v2.0. 2005-12-22 02:28:25 +00:00
mike.morgan%oregonstate.edu
89d8a85dae Added search-engine data and images. 2005-12-22 01:27:05 +00:00
mike.morgan%oregonstate.edu
3d7d169c72 Added images needed for v2.0. 2005-12-22 01:17:22 +00:00
mike.morgan%oregonstate.edu
ba9d7d9509 Removing img dir -- gonna replace with images. 2005-12-22 01:08:16 +00:00
mike.morgan%oregonstate.edu
ccb7354501 Added rdf parsing code. 2005-10-27 16:49:22 +00:00
mike.morgan%oregonstate.edu
01ad63892a php5 -> php4 2005-10-24 17:06:43 +00:00
mike.morgan%oregonstate.edu
71628d46eb Changes for database-driven PHPSESSION implementation. See bug 312629. 2005-10-17 20:27:34 +00:00
mike.morgan%oregonstate.edu
045c44e988 Fix for bug 312611. 2005-10-17 17:47:40 +00:00
mike.morgan%oregonstate.edu
9ede96ad49 checking in HREF fix for author homepages. 2005-10-12 00:14:37 +00:00
mike.morgan%oregonstate.edu
973d61d599 Patch from bug 311920. 2005-10-11 23:26:42 +00:00
mike.morgan%oregonstate.edu
9b5c176491 Started the creation of the session handler / auth class. Made some minor modifications elsewhere. 2005-08-16 01:52:38 +00:00
mike.morgan%oregonstate.edu
77f14de1f5 updated comments - sorry. 2005-08-09 00:32:52 +00:00
mike.morgan%oregonstate.edu
1d40a2f6f1 added generic error handling - for lazy people. :) 2005-08-09 00:31:56 +00:00
mike.morgan%oregonstate.edu
539456bf48 comments, etc:
Some adjustments to comments pages and styles.

css:
    Opinions adjustments.

addons:
    Fixed some bugs.
2005-08-09 00:30:39 +00:00
mike.morgan%oregonstate.edu
f404a1f5d0 Also not a good idea... I am going to hand all this off to the server's PEAR installation. 2005-08-08 21:43:19 +00:00
mike.morgan%oregonstate.edu
fe1437cf9f yea - so this wasn't the best way to do this. 2005-08-08 21:34:22 +00:00
mike.morgan%oregonstate.edu
187b99b6bb PEAR libraries, installed locally because they do not exist in REHL stable repo 2005-08-08 16:34:09 +00:00
mike.morgan%oregonstate.edu
73ca7ae764 added some TODOs 2005-08-08 16:20:22 +00:00
mozilla%colinogilvie.co.uk
afdb1c6622 Missing comma from last checkin 2005-07-30 20:42:05 +00:00
mozilla%colinogilvie.co.uk
af1acb65df Ability to rate a comment. Currently, this uses GET requests - may be necessary to change it to a POST request to stop abuse of it at a later date 2005-07-30 19:29:14 +00:00
mike.morgan%oregonstate.edu
e666986cc6 added jump-to for single results in search.php. adjusted the length of displayed descriptions on thef ront page. added an @todo for search.php, also affected: addon.php -- some addons do not have proper application metadata... :\ 2005-07-26 03:27:21 +00:00
mike.morgan%oregonstate.edu
0d0bb4dca0 Additional changes to search. No pagination, just prev|next. Works4me.
Fixed some image sizing in addon.tpl and search.tpl.
2005-07-26 00:27:55 +00:00
mike.morgan%oregonstate.edu
b1b91e495a Bloated and greedy search, no pagination yet (other than the limit for # of records per page).
I have concerns about how much this hammers the database.  We may have to trim down the constructor for the AddOn class.
2005-07-25 20:12:22 +00:00
mike.morgan%oregonstate.edu
236db4ab1f Policy documents. 2005-07-25 07:36:05 +00:00
mike.morgan%oregonstate.edu
1fd86e033d nightly checkin. adjustments in some naming conventions. 2005-07-25 07:35:01 +00:00
mike.morgan%oregonstate.edu
0293051b7f Search options are now populated. Next up is query forumlation and pagination along with displaying results. 2005-07-24 11:34:05 +00:00
mike.morgan%oregonstate.edu
7ae3ffd70f Search modifications. 2005-07-24 10:31:23 +00:00
mike.morgan%oregonstate.edu
bcf85afacf updated some search items. 2005-07-24 02:05:49 +00:00
mike.morgan%oregonstate.edu
a815398e0c Started messing with the search template. Not even 5% done. Added some global CatName stuff to init.php. Will find a better home for that later. 2005-07-23 08:57:41 +00:00
mike.morgan%oregonstate.edu
87adb6b038 Template changes in order to eliminate need for overview.php. Main page is combined, top header is simplified, and navigation for addon view is greatly improved. 2005-07-21 23:21:27 +00:00
mozilla%colinogilvie.co.uk
ee67153a84 Add initial support for viewing an item's history.
This needs some more work to improve it, but committing anyway.
2005-07-21 18:44:43 +00:00
mozilla%colinogilvie.co.uk
b7fca4a56a Add support for viewing all the preview images 2005-07-21 17:03:09 +00:00
mozilla%colinogilvie.co.uk
56813efb0f Add CommentID to the comments section of an addon for rating etc. as its already referenced in the code there 2005-07-21 15:51:30 +00:00
mike.morgan%oregonstate.edu
ef763e09a5 installation instructions. 2005-07-21 02:00:57 +00:00
mike.morgan%oregonstate.edu
dd10817fab Placeholder for addon previews page. 2005-07-21 01:59:50 +00:00
mike.morgan%oregonstate.edu
be846deeeb Messed with paths, search boxes, etc. Nothing here is permanent. 2005-07-21 01:58:50 +00:00
mike.morgan%oregonstate.edu
eaec74e2ae addon.php
added title, filled out passing of proper vars.
faq.php
    fixed title.
overview.php
    fixed title.
content.css
    added some styles for user opinions.
developers/index.php
    fixed title.
lib/addon.class.php
    added class vars and some extra stuff in constructor in order to populate all addon information during object instantiation.
lib/amo.class.php
    added setVar and setVars functions, which set object parameters one at a time or via array, respectively.
tpl/addon.tpl
    fleshed out addon summary page to look mostly like existing pages.
tpl/inc/header.tpl
    added line for page title.
2005-07-20 23:32:22 +00:00
mike.morgan%oregonstate.edu
e8ce397588 7->5 in overview.
put in a more graceful db error handler (although it's not the prettiest).
cleaned up main object definitions.
2005-07-20 12:43:17 +00:00
mike.morgan%oregonstate.edu
3eeb4ba91e install include. 2005-07-19 00:23:24 +00:00
mike.morgan%oregonstate.edu
1247576db1 css/base/template.css
added tab styles for overview.php
addon.php
    created file to pass addon information to addon.tpl, partially done
lib/addon.class.php
    class for gathering addon information, all inclusive -- it will make it much easier in the long run
tpl/addon.tpl
    general template for an addon summary - equivalent to "moreinfo.php"
2005-07-19 00:22:46 +00:00
mike.morgan%oregonstate.edu
ad733c846c adjusted Themes blocks in order to include description and be consistent. 2005-07-18 08:59:50 +00:00
mike.morgan%oregonstate.edu
540992eb4e added overview tabs and content bar. 2005-07-18 08:44:49 +00:00
mike.morgan%oregonstate.edu
ccaef20f8a added overview page, serves as overview for a specific application 2005-07-18 08:26:54 +00:00
mike.morgan%oregonstate.edu
ca7adb558e .htaccess
added comments and config line for include_path, which is important for install
inc/finish.php, inc/init.php
    adjusted how globals were set up
    tried working with non-global db/tpl but it was not scalable so it was switched back
faq.php, index.php, developers/index.php
    smarty -> tpl
lib/addon.class.php
    proper constructor now in place
lib/amo.class.php
    object definition for all basic objects
    sets up tpl,db globals for use in all extending classes
addon.php
    home page for an addon
item.php
    too generic, nuked it
2005-07-18 03:50:30 +00:00
mike.morgan%oregonstate.edu
e76424d9e4 Fixed home link at top of main header 2005-07-13 04:44:58 +00:00
mike.morgan%oregonstate.edu
f48271932b removed advancedsearch.php - does not need to be a separate doc 2005-07-12 11:35:58 +00:00
mike.morgan%oregonstate.edu
400c45a982 .htaccess, README
updated .htaccess file to define include_path to prepend/append files are processed properly.
    added installation instructions.

config-dist.php
    added REPO_DIR to store constant for repository.
    added site config information handoff to smarty display object for correct webpaths.

developers/*
    developers index page along with accompanying template.

search.php
    this will be the main search (placeholder).
2005-07-12 11:34:42 +00:00
mike.morgan%oregonstate.edu
74c38d79b3 .htaccess
auto_prepend, auto_append
        both were missing in the initial checkin.
2005-07-12 00:46:56 +00:00
mike.morgan%oregonstate.edu
1a6a0dd16f Initial checkin of AMO v2.0 framework.
Notes:
    index.php - example document for main index, default.tpl wrapper
    faq.php - example document for faq page, nonav.tpl wrapper
2005-07-11 23:52:20 +00:00