[MODDB] phpBB Code Repository 1.0.x "Juno"

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [RC2] phpBB-CRS (Code Repository System)

Post by Obsidian »

Status update!

Okay, the [url=http://fail.infinityhouse.org/code.php]demo version of CRS[/url] is now running a slightly tweaked (to allow it to work without some features in place) prerelease version of RC3.

Big changes include bugfixes to repair caching and file downloading, removing the phpbb_root_path and site_source_path from displayed file locations, updating GeSHi to the most recent release (1.0.8.2), some template alterations to make it look nicer, and displaying the current browsing location within the CRS navbar.

Still on the todo list is auths integration, an installer, pagination, updating the send_file_to_browser function for IE8 compatibility, and getting image piping to work (It's currently disabled via hardcoding).

There's a development tracker post over on my dev.Board [url=http://fail.infinityhouse.org/viewtopic.php?p=28#p28]here[/url], take a look at it if you're curious about the changes as I go. I'll eventually port over my 1.2.x and (gasp!) 2.0.x to-do lists to that topic also.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [RC3] phpBB-CRS (Code Repository System)

Post by Obsidian »

Changes in Release Candidate 3 -
  • [Fix] Caching now works properly.
  • [Fix] Downloading files works correctly now.
  • [Fix] Show the friendly filetypes finally.
  • [Security] Remove the root_path from the file's location
  • [Security] Don't reference images directly from their location in the source/ dir, use image piping.
  • [Update] GeSHi updated to 1.0.8.2.
  • [Update] Crawldir and caching framework updated to version 1.2.0.
  • [Change] Rewrote the constructor class for more logical layout.
  • [Change] Separated the view-source and directory browser modes.
  • [Change] Add quick download links.
  • [Change] Show current location-path in the navbar area.
  • [Change] Make highlighting its own mode.
  • [Change] Organize out the functions! Separated file functions into their own class, along with misc functions.
  • [Change] Using a Bootstrap system for smarter layout of code.
  • [Feature] Asyncronous installations possible with a few file edits and some file copying.
  • [Feature] Add authorizations for phpBB-CRS.
  • [Feature] Allow source file directory to be changed in an ACP module.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository

Post by Obsidian »

Changes between 1.0.0 and 1.0.0 Release Candidate 3 -
  • [Update] Crawldir caching framework slightly updated.
  • [Change] Move recaching of Code Repository filelist to ACP module.
  • [Change] Altered template file a bit, merged the filelist and directory list into one giant glob.
  • [Change] Add quick highlight links if permitted to use highlighting.
  • [Change] Asyncronous installation removed.
  • [Change] XHTML Source built for code highlighting now XHTML 1.0 Strict valid.
  • [Feature] Dynamic updir!
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository

Post by Obsidian »

Changes in 1.0.1 -
  • [Security] IN_PHPBB checks stuffed into GeSHi language files and GeSHi itself.
  • [Change] Fix the MODx file for proper date format.
  • [Change] Hide the download information in the template file if the user cannot download.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository

Post by Obsidian »

Changes in 1.0.2 -
  • [Feature] $id$ replacement (like SVN).
  • [Feature] Show file type that's detected in the browse mode in the view mode.
  • [Feature] Added a version check.
  • [Change] Use static class for crs_file_fns references.
  • [Change] Rename crs_file_fns class to file_fns.
  • [Change] Added image filetypes to the guess_lang function. Will now know PNG, JPG, and GIF files.
  • [Change] Slightly better error handling. Will now check to see if the GeSHi is loaded before attempting to initiate it.
  • [Change] Now using a constant CRS_VERSION for storing file-based version number.
  • [Change] Have a proper blank mode instead of hardcoding it to browse.
  • [Change] Using static call to crs_core in file_fns::identify_ext. No longer dependent on $crs being initiated.
  • [Change] Added mimetype-guessing function guess_mimetype to includes/crs/crs_download.php to guess mimetype VIA file's extension.
  • [Change] Make Windows XP display the code in a readable size, already. Using a useragent check for this.
  • [Change] Cleaned up code in code.php, includes/crs/crs_core.php, includes/crs/bootstrap.php, and elsewhere.
  • [Fix] Fixed extension handling. It's now safe to use non-lowercase extensions.
  • [Fix] If viewing an image, get a "Viewing Image" title and not a "Viewing Source Code" title.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository

Post by Obsidian »

Changes in 1.0.3 -
  • [Feature] EAMI integration in installer, automatically add ACP module.
  • [Change] Move guess_mimetype() and get_mimetype() functions from includes/crs/crs_download.php to includes/crs/crs_misc_functions.php
  • [Change] Have file_fns::check_image() use get_mimetype() and a strpos check instead of what it currently is.
  • [Change] Fix commenting style in the language file. Sheesh, you validators are picky. :P
  • [Fix] Fix indentation in code.php.
  • [Fix] Fix HTML use in code.php
  • [Fix] Cleaned up ACP module
  • [Fix] Get the font-size make-bigger-thinger to work for Windows users, finally. -.-;
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository

Post by Obsidian »

Changes in 1.0.4 -
  • [Update] Crawldir and caching framework updated to version 1.4.1.
  • [Fix] Fix relative path issue.
  • [Fix] Version checking in ACP no longer causes the recache button to disappear.
  • [Fix] Undefined function file_gc() that was forgotten was added to includes/crs/crs_download.php.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository

Post by Obsidian »

Package update. :?
User avatar
Afterlife(69)
Member
Member
Posts: 175
Joined: 30 Jun 2006, 21:23
Real name: Dean
Location: Sydney, Australia

Re: [Release] phpBB Code Repository

Post by Afterlife(69) »

Hmm, long time no see round here.

Look interesting, but what does it offer over a simple .htaccess with a stripped directoryindex and forcetype directives?

ie.

Code: Select all

DirectoryIndex noindex

<Files *.php>
    ForceType application/x-httpd-php-source
</Files>

<Files *.inc>
    ForceType application/x-httpd-php-source
</Files>

<Files *.html>
        ForceType text/plain
</Files>

<Files *.css>
    ForceType text/plain
</Files>
Life in the house :)
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository

Post by Obsidian »

Afterlife(69) wrote:Hmm, long time no see round here.

Look interesting, but what does it offer over a simple .htaccess with a stripped directoryindex and forcetype directives?

ie.

Code: Select all

DirectoryIndex noindex

<Files *.php>
    ForceType application/x-httpd-php-source
</Files>

<Files *.inc>
    ForceType application/x-httpd-php-source
</Files>

<Files *.html>
        ForceType text/plain
</Files>

<Files *.css>
    ForceType text/plain
</Files>


Download integration, md5 hash generation of the file's contents, identifying what the heck the file is (filetypes), and syntax highlighting using GeSHi.

Mainly, though, I'm using it as a base for the next line of development, codenamed [url=http://code.assembla.com/phpbb_crs_xerxes/subversion/nodes]Xerxes[/url], which will be a Project management system.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: [Release] phpBB Code Repository

Post by RMcGirr83 »

I get "general error" :lol: for the demo links. Any chance to fix that?
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository

Post by Obsidian »

RMcGirr83 wrote:I get "general error" :lol: for the demo links. Any chance to fix that?


Yeah, the demo URL got changed. Oops. :lol:

(Yeah, you're getting my error pages. I actually do have a General Error registered on my site, as a site mascot. :P )
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Release] phpBB Code Repository 1.0.x "Juno"

Post by Obsidian »

Changes in 1.0.5 -
  • [Fix] Fix downloading issue.
  • [Change] Remove $Id$ replacement feature.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [MODDB] phpBB Code Repository 1.0.x "Juno"

Post by Obsidian »

MOD Validated and released into the MODs database

Changes in 1.0.6 -
  • [Fix] Fix installer issue.
  • [Fix] MODX mistakes for EAMI.
  • [Sec] Fix a mistake in the ACP module for setting source dir.
Post Reply