Project

General

Profile

Statistics
| Revision:

# Date Author Comment
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

7930 03/11/2013 10:31 PM Aaron Marcuse-Kubitza

web/vegpath/main.css: Added .indent

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

7927 03/11/2013 10:06 PM Aaron Marcuse-Kubitza

Added schemas/VegCore/Brad_Boyle/ with Brad's VegCore IDs terms spreadsheets

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

7908 03/11/2013 07:48 PM Aaron Marcuse-Kubitza

web/vegpath/util.php: Added array_non_empty(), join_non_empty()

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.

7903 03/11/2013 06:41 PM Aaron Marcuse-Kubitza

web/vegpath/main.css: Added entries for h6

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

7901 03/11/2013 06:24 PM Aaron Marcuse-Kubitza

web/vegpath/util.php: Path: Made $tail default to ""

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

7898 03/11/2013 06:04 PM Aaron Marcuse-Kubitza

web/vegpath/util.php: partition(): Fixed bug where strpos() actually does take the search-for param second rather than first (but returns false on no match)

7897 03/11/2013 06:00 PM Aaron Marcuse-Kubitza

web/vegpath/util.php: partition(): Fixed bug where strpos() returns false rather than -1 on no match

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()

7892 03/11/2013 04:59 PM Aaron Marcuse-Kubitza

web/vegpath/.htaccess: mod_rewrite: RewriteBase: Changed to / now that VegPath is hosted at vegbiendev.nceas.ucsb.edu

7891 03/11/2013 04:58 PM Aaron Marcuse-Kubitza

web/vegpath/.htaccess: unknown paths: Don't redirect to index.php if the path already starts with index.php, to help avoid infinite redirect recursion

7890 03/11/2013 04:54 PM Aaron Marcuse-Kubitza

web/vegpath/.htaccess: unknown paths: Removed no longer accurate VegRef from comment header

7889 03/11/2013 04:43 PM Aaron Marcuse-Kubitza

vegpath/.htaccess: DirectorySlash: Lowercased On for consistency with other boolean directives

7888 03/11/2013 04:26 PM Aaron Marcuse-Kubitza

Added web/vegpath.conf with Apache VirtualHost config

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="

7885 03/11/2013 03:23 PM Aaron Marcuse-Kubitza

vegpath/: Archived no longer used vegpath/index.htm

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

vegpath/index.*: IH: URL-encode ' in search URL to avoid needing to backslash-escape it

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;)

7878 03/10/2013 06:10 AM Aaron Marcuse-Kubitza

VegRef/.htaccess: URL resolution: mod_rewrite: Fixed bug where also need to consider if %{REQUEST_FILENAME} is a dir or symlink, which occurs e.g. when redirecting to the VegRef/ dir itself

7877 03/09/2013 10:50 PM Aaron Marcuse-Kubitza

web/VegRef/.htaccess: Turned off RewriteEngine temporarily because it was preventing the internal VegRef redirection from working

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.

7875 03/08/2013 10:26 PM Aaron Marcuse-Kubitza

inputs/NCU/Specimen/map.csv: cultivated: Map false (0) to NULL because cultivated can only be true or NULL, not false

7874 03/08/2013 09:14 PM Aaron Marcuse-Kubitza

inputs/CTFS/_src/_README.TXT: Added e-mails from Brad Boyle about issues with species aggregation methods

7873 03/07/2013 06:27 PM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/map.csv: Populated specimenHolderInstitutions

7872 03/07/2013 03:21 PM Aaron Marcuse-Kubitza

Added planning/goals/BIEN3_derived_data_products.docx.url

7871 03/07/2013 03:19 PM Aaron Marcuse-Kubitza

Added planning/goals/BIEN3_derived_data_products.docx

7870 03/06/2013 11:00 PM Aaron Marcuse-Kubitza

inputs/ARIZ/omoccurrences/map.csv: cultivationStatus: Map to NULL if it's false, because cultivated can only be true or NULL

7869 03/06/2013 10:01 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: Merged taxonName_verbatim and scientificNameAuthorship_verbatim into scientificName_verbatim

7868 03/06/2013 09:29 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_plot: Added specimens fields at the end, for use by plots data that also tracks specimens (e.g. Madidi, SALVIAS)

7867 03/06/2013 09:21 PM Aaron Marcuse-Kubitza

README.TXT: Full database import: In PostgreSQL: Removed tests related to unscrubbed_taxondetermination_view and TNRS taxondeterminations, which are no longer needed because TNRS is joined directly to analytical_stem_view

7866 03/06/2013 08:36 PM Aaron Marcuse-Kubitza

mappings/VegCore.htm: Regenerated from wiki. Renamed specimenDonor to specimenDonorInstitution to clarify that this is an institution, not a collector.

7865 03/06/2013 08:30 PM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/map.csv: Mapped flower, fruit -> reproductiveCondition using translation is from e-mail conv between Jim Matthews at Habitat Assessment and Bob Peet on 2010-12-2~3

7864 03/06/2013 08:17 PM Aaron Marcuse-Kubitza

make_analytical_db: Support the $log flag, which toggles output to the terminal or a log file

7863 03/06/2013 07:50 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: Updated import times. The core import time has dropped by more than half (!) to ~12 hours, now that the TNRS scrubbing is added using a simple LEFT JOIN, instead of being pushed through the normalized schema. Not since October has the import been this fast!

7862 03/06/2013 07:27 PM Aaron Marcuse-Kubitza

import_times: When there are no matching logs, exit with status 0 instead of 1 because this is a normal condition

7861 03/06/2013 07:26 PM Aaron Marcuse-Kubitza

import_times: Fixed bug where sed would wait for user input from stdin when there were no matching logs

7860 03/06/2013 07:22 PM Aaron Marcuse-Kubitza

README.TXT: Full database import: record the import times in inputs/import.stats.xls: If the row counts do not match up: Added step to get the datasource names from the log file footers

7859 03/06/2013 07:12 PM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/map.csv: cultivated: assume anything non-NULL to be cultivated, so that we err on the side of excluding possibly-cultivated specimens

7858 03/06/2013 06:49 PM Aaron Marcuse-Kubitza

inputs/UNCC/_src/_README.TXT: Added e-mail conv between Jim Matthews at Habitat Assessment and Bob Peet about the meanings of the Leaf, Flower, Fruit, and Root codes

7857 03/06/2013 05:38 PM Aaron Marcuse-Kubitza

README.TXT: Full database import: Added steps to manually back up the DB. (These steps are specific to the import process, and include filters to exclude previous imports. There are also general backup steps in the Backups > Full DB section.)

7856 03/06/2013 02:56 PM Aaron Marcuse-Kubitza

inputs/ACAD/Specimen/map.csv: institutionCode: Replace "Acadia University" with the IH code ACAD

7855 03/06/2013 02:18 PM Aaron Marcuse-Kubitza

inputs/.TNRS/data.sql: Re-ran TNRS on the test_taxonomic_names so that the sample data would contain all the accepted names under the current acceptedScientificName formula, and would not produce any entries for unscrubbed names in tnrs_input_name

7854 03/06/2013 01:59 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: tnrs_input_name: taxonlabel.taxonomicname subquery: Don't exclude taxonlabels with a matched_label_id, because matched_label_id is no longer used to indicate that a name has a scrubbed name (this was used when all of TNRS was imported at the beginning of the import)

7853 03/06/2013 01:56 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: tnrs_input_name: accepted_name subquery: Renamed to the VegCore table name AcceptedTaxon

7852 03/06/2013 01:54 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: tnrs_input_name: taxonlabel.taxonomicname subquery: Use new MatchedTaxon view, which use VegCore column names where possible

7851 03/06/2013 01:46 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: tnrs_input_name: accepted_name subquery: Use new MatchedTaxon, AcceptedTaxon views, which use VegCore column names where possible

7850 03/06/2013 01:22 PM Aaron Marcuse-Kubitza

README.TXT: Full database import: Added instructions to run TNRS and view the TNRS log

7849 03/06/2013 10:21 AM Aaron Marcuse-Kubitza

README.TXT: Full database import: Removed no longer necessary command to scrub unscrubbed taxondeterminations

7848 03/05/2013 11:07 PM Aaron Marcuse-Kubitza

*.sql: concat_ws() calls: Fixed bug where need to surround it with NULLIF because concat_ws() returns '' instead of the required NULL when supplied with only NULL args

7847 03/05/2013 10:22 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: concat_ws() calls: Fixed bug where arguments were still enclosed in ARRAY[], because the name had been changed from concat_delim() but PostgreSQL removed the VARIADIC keyword without also removing the ARRAY[] wrapper

7846 03/05/2013 10:11 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Removed no longer needed unscrubbed_taxondetermination_view. Use taxonlabel joined to ScrubbedTaxon instead.

7845 03/05/2013 10:05 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: ScrubbedTaxon: Include only matches with a match score of at least 0.8 (score_ok())

7844 03/05/2013 09:59 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: Added back score_ok() and tnrs.tnrs_score_ok index

7843 03/05/2013 09:53 PM Aaron Marcuse-Kubitza

*.sql: Replaced concat_delim() with concat_ws(), which is built-in as of PostgreSQL 9.1 (http://stackoverflow.com/questions/1943433/postgresql-concat-ws-like-function)

7842 03/05/2013 09:08 PM Aaron Marcuse-Kubitza

inputs/U/Specimen/map.csv: Populated specimenHolderInstitutions