Project

General

Profile

# Date Author Comment
13305 04/23/2014 06:02 PM Aaron Marcuse-Kubitza

bugfix: web/index.php: full directory index: only display if invoked as "vegpath.org/", not "vegpath.org/index.php"

11970 01/20/2014 11:33 AM Aaron Marcuse-Kubitza

moved everything into /trunk/ to create the standard svn layout, for use with tools that require this (eg. git-svn). IMPORTANT: do NOT do an `svn up`. instead, re-use your working copy's existing files with `svn switch` (http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.switch.html).

9613 05/29/2013 10:17 AM Aaron Marcuse-Kubitza

web/index.php: use XHTML DOCTYPE to match what's used by mod_autoindex. this requires some adjustments in spacing for XHTML's slightly different formatting

9607 05/29/2013 09:36 AM Aaron Marcuse-Kubitza

bugfix: web/index.php: added space between the full directory index and the preceding content

9606 05/29/2013 09:35 AM Aaron Marcuse-Kubitza

web/index.php: moved the full directory index within the rest of the document body

9605 05/29/2013 08:58 AM Aaron Marcuse-Kubitza

web/index.php: include full directory index, since the URL patterns list is just a subset of the content available through vegpath.org

9601 05/29/2013 04:58 AM Aaron Marcuse-Kubitza

web/index.php: removed no longer needed custom alias j.mp/vegpath# for when page reached through vegbiendev.nceas.ucsb.edu, because vegpath.org is a much more reliable domain than the previous path.vg, and a separate way to reach VegPath when path.vg is down is no longer needed

8371 04/09/2013 02:36 PM Aaron Marcuse-Kubitza

Renamed www/ back to web/

8368 04/09/2013 02:24 PM Aaron Marcuse-Kubitza

web/: Moved auxiliary files into the main/ subdir in preparation for having just the web/ dir. Renamed web/ to www/ so it can be replaced with web/main/.

8365 04/09/2013 01:26 PM Aaron Marcuse-Kubitza

web/main/index.php: Updated fragment redirect for new dotpath format (using ? instead of a relative path)

8364 04/09/2013 01:20 PM Aaron Marcuse-Kubitza

web/main/index.php: Updated path templates for new dotpath format (using ? instead of /)

8050 03/16/2013 02:56 AM Aaron Marcuse-Kubitza

web/main/index.php: Replaced - with . in namespaces to conform to new dotpath naming convention, which allows nesting of namespaces

8044 03/16/2013 01:43 AM Aaron Marcuse-Kubitza

web/main/index.php: Added back smaller spacing between the table columns

8042 03/16/2013 01:39 AM Aaron Marcuse-Kubitza

web/main/index.php: Changed Brad-Boyle to just Brad because people's names only have to be unique within VegPath

8033 03/16/2013 12:08 AM Aaron Marcuse-Kubitza

web/main/index.php: Use absolute URLs for dependencies to work with subdomain translation, which adds components to the URL path

7998 03/14/2013 11:57 PM Aaron Marcuse-Kubitza

web/main/index.php: $root: Fixed bug where need to use gethostbyaddr($_SERVER["SERVER_ADDR"]) instead of $_SERVER["SERVER_NAME"] because SERVER_NAME is actually set to whichever hostname the server is accessed through (e.g. path.vg or vegbiendev.nceas.ucsb.edu), rather than always being set to the reverse-DNS lookup of SERVER_ADDR, as is specified in the Apache docs ("If no ServerName is specified, then the server attempts to deduce the hostname by performing a reverse lookup on the IP address" <http://httpd.apache.org/docs/2.2/mod/core.html#servername&gt;)

7990 03/13/2013 08:37 PM Aaron Marcuse-Kubitza

web/vegpath/: Renamed to web/main/ because the content here is the main site hosted on vegbiendev. It will eventually contain internal links to VegBIEN resources in addition to external links (persistent URLs) to sources used in creating VegBIEN.

7967 03/13/2013 08:39 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: Use $alias whenever VegPath was reached via the machine's own name (vegbiendev.nceas.ucsb.edu) rather than via a shortened domain (path.vg), so that the right path root can seamlessly be used when path.vg is down

7962 03/13/2013 07:14 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: Brad-Boyle root: Fixed link

7961 03/13/2013 07:12 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: CTFS root: Fixed link

7960 03/13/2013 07:11 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: CTFS-schema: Use $Redmine_svn

7956 03/13/2013 06:11 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: $alias: Use HTTP_HOST and SCRIPT_NAME so the alias doesn't need to be hardcoded

7954 03/13/2013 05:32 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: Switching back to path.vg now that the .vg root DNS is back online

7953 03/13/2013 04:36 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: Use REQUEST_URI (removing the script's own dir) instead of PATH_INFO, to support being used for the Apache ErrorDocument directive

7951 03/13/2013 01:39 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: Changed page title to contain "persistent URLs" because VegPaths are conceptually a type of PURL <http://en.wikipedia.org/wiki/PURL>

7950 03/13/2013 12:04 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: $alias: Switching back to j.mp/vegpath# because the .vg root DNS server is down. (The .vg registrar adamsnames.com also displays an under construction page.) If the registrar stays down, we may want to switch a different top-level domain.

7947 03/12/2013 07:37 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Use $PATH_INFO (i.e. index.php/$PATH_INFO) instead of the query string to pass the path to index.php, so that the query string can be used for other things

7946 03/12/2013 04:28 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: top-level path parsing: Use parse_dot_path() instead of parse_mixed_path() because XPaths are now (client-side) fragments, and don't need to be supported by the path mechanism

7945 03/12/2013 04:26 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: SALVIAS: Don't append #Plot_ when there is no subpath

7944 03/12/2013 03:19 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: SALVIAS: Factored out URL to $SALVIAS

7943 03/12/2013 03:16 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: SALVIAS: Appended Plot_ to dest URL because both data dictionary sections start with this, so it doesn't need to be included in the VegPath

7942 03/12/2013 02:56 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: XPath resources: Removed # at end of destination URL because the # is now part of the #/XPath suffix (and is added by the user)

7941 03/12/2013 02:53 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: XPath resources: Added # before XPath because the XPath is actually a location within the resource, and thus resolvable by the client (or user) themselves, rather than part of the redirected URL (which only needs to forward to the XML schema file)

7940 03/12/2013 02:41 AM Aaron Marcuse-Kubitza

web/vegpath/index.php: Updated $alias to the newly-registered path.vg domain, which is shorter and more intuitive-looking than the previous value j.mp/vegpath (from bitly.com). Note that using a domain also allows redirects without JavaScript, which can be used by any web client (such as a Python script), not just a web browser.

7939 03/11/2013 11:19 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Renamed ref to ns to emphasize that the resources in this field are namespaces for the paths

7938 03/11/2013 11:16 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: add_ref(): Renamed $suffix to $path_pat to distinguish it from the actual suffix string sent in the URL

7937 03/11/2013 11:09 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: custom_separator(): Marked optional params as such

7936 03/11/2013 11:07 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Terms: IH-db: Factored out phpMyAdmin URL into $IH_db

7935 03/11/2013 11:05 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Terms: Added IH-db

7934 03/11/2013 11:05 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: php*Admin(): Added support for a fixed table that doesn't need to be specified in the path

7933 03/11/2013 10:43 PM Aaron Marcuse-Kubitza

web/: Removed svn:executable permissions from non-executable files

7932 03/11/2013 10:36 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Data: Added Institutions subsection

7931 03/11/2013 10:33 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Placed Terms and Data sections side-by-side in two columns so that data resources would not need to come after a long list of terms resources

7929 03/11/2013 10:11 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: People: Added Brad's VegCore ID terms spreadsheets

7928 03/11/2013 10:10 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Factored Redmine svn URLs out into $Redmine_svn

7926 03/11/2013 09:51 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: URL fragment redirect: Removed loading indicator (blinking of resource being loaded) because for file downloads, the download will not redirect to a new page and the resource name will instead remain blinking

7925 03/11/2013 09:48 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: URL fragment redirect: Fixed bug where need to use parse_mixed_path() instead of parse_dot_path() to support XPaths

7924 03/11/2013 09:48 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Terms: Added CTFS

7923 03/11/2013 09:23 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: URL patterns header: Reworded comment to clarify that the elements that can be left out are in italics

7922 03/11/2013 09:09 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: URL fragment redirect: Only perform fragment redirect if URL shortener requires it (as indicated by the $alias ending in #)

7921 03/11/2013 09:01 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: nimoy nodes: Factored nimoy phpMyAdmin() calls out into nimoy_db() function

7920 03/11/2013 08:57 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: nimoy nodes: Factored nimoy URL prefix out into $nimoy

7919 03/11/2013 08:51 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: SALVIAS: Added subnodes for each SALVIAS database on nimoy

7918 03/11/2013 08:37 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: VegCore: Changed suffix from .table.column to .term because VegCore terms are globally unique and don't need a table prefix

7917 03/11/2013 08:36 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: BIEN2: Added subnodes for each BIEN2 database on nimoy

7916 03/11/2013 08:04 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Inlined VegBank() because it's only used once

7915 03/11/2013 08:01 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: VegBank(): Use custom_separator()'s new $main_url param

7914 03/11/2013 08:00 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: custom_separator(): Added $main_url param like in by_prefix(), for use when there is no path

7913 03/11/2013 07:55 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: VegBank(): Use new custom_separator()

7912 03/11/2013 07:55 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: VegBank(): Use new custom_separator()

7911 03/11/2013 07:53 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: VegBank(): Use new custom_separator()

7910 03/11/2013 07:53 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Added custom_separator()

7909 03/11/2013 07:52 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Add # suffix to $alias instead of adding it in add_ref(), because not all aliases will use a # suffix

7907 03/11/2013 07:14 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: add_ref(): redirect: Don't display "Loading" as the page itself is not shown to the user when using a Location: header

7906 03/11/2013 07:12 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: URL fragment redirect: Fixed bug where can't prefix the fragment with / because this won't work if VegPath is not at the top-level of the domain (and in any case is unnecessary to form a relative path)

7905 03/11/2013 07:09 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: URL fragment redirect: Blink the namespace being loaded, rather than displaying "Loading" at the bottom of the page, to make it clearer what's being loaded

7904 03/11/2013 06:42 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: add_ref(): Don't display the URL pattern in monospace, because fixed-width font is not needed and variable-width font is easier to read. This requires decreasing the header level because variable-width font is bigger than fixed-width font.

7902 03/11/2013 06:28 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: parse_dot_path() calls: Fixed bug where need to test result components using \`!== ""\` instead of just using the value as a boolean because PHP incorrectly interprets the string "0" as false

7900 03/11/2013 06:20 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: URL fragment redirect: Prepend / instead of ? because filesystem paths are now redirected using .htaccess, removing the need to set the query string

7899 03/11/2013 06:16 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: phpMyAdmin(): Fixed bug where can't use tbl_alter as the column target page because it requires a token param, which is only obtained after the user logs in

7896 03/11/2013 05:59 PM Aaron Marcuse-Kubitza

web/vegpath/util.php: partition(): Fixed bug where strpos() takes the search-for param first rather than second

7895 03/11/2013 05:37 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: php*Admin(): Append $target to $url in separate step from returning $url, to make it easier to debug-print the value of $url before returning it

7894 03/11/2013 05:30 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: BIEN2: Fixed to use phpMyAdmin with correct URL instead of vegbiendev phpPgAdmin placeholder

7893 03/11/2013 05:20 PM Aaron Marcuse-Kubitza

web/vegpath/index.php: Added phpMyAdmin()

7887 03/11/2013 03:26 PM Aaron Marcuse-Kubitza

vegpath/index.php: VegBank(): Fixed bug where name had incorrectly been replaced with $name

7886 03/11/2013 03:24 PM Aaron Marcuse-Kubitza

vegpath/index.php: phpPgAdmin(): Factored out appending of "&subject="

7883 03/11/2013 03:04 PM Aaron Marcuse-Kubitza

vegpath/index.php: IH: Fixed search URL to undo incorrect search-and-replace of + with .

7882 03/10/2013 06:51 AM Aaron Marcuse-Kubitza

vegpath/index.*: Changed "Supported URLs" to "Supported URL patterns" because the provided short URLs take parameters that are filled into the destination URL

7881 03/10/2013 06:46 AM Aaron Marcuse-Kubitza

vegpath/index.*: Removed tagline from window title because the window title (which becomes the bookmark name) only needs to be long enough to identify what the page is, and should not be cluttered with descriptions

7880 03/10/2013 06:43 AM Aaron Marcuse-Kubitza

vegpath/index.*: Changed tagline to emphasize that the shortened URLs are especially intended to be human-readable, e.g. for use as column names

7879 03/10/2013 06:37 AM Aaron Marcuse-Kubitza

VegRef/: Renamed to VegPath to make it clearer that the purpose of the web service is to provide short, globally unique paths to resources (e.g. for use as global IDs <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/Global_IDs&gt;)

7876 03/09/2013 10:48 PM Aaron Marcuse-Kubitza

Added web/VegRef/, which provides a URL-shortening service for vegetation references. VegRef URLs are short and human-readable enough to be used as database column names. This also causes Google spreadsheets to display a clickable link for each column name, which takes the user to the data dictionary definition for the term. String row IDs (such as global IDs <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/Global_IDs&gt;) can also be clickable VegRef URLs.