Project

General

Profile

Statistics
| Revision:
  • svn:ignore: extern

# Date Author Comment
13702 06/07/2014 12:12 AM Aaron Marcuse-Kubitza

web/username_prefix.php: user2path(): added support for comment prefixes, which can be used to include term categories. note: when URL is used without http:// , you must include a non-letter in the comment (eg. c_:x@url) to work in Firefox.

13701 06/06/2014 11:52 PM Aaron Marcuse-Kubitza

web/username_prefix.php: user2path(): visually separated steps for easier readability

13700 06/06/2014 11:30 PM Aaron Marcuse-Kubitza

fix: schemas/VegBIEN/VegBIEN data dictionary.xlsx: updated: restored "" that had been stripped out when the data was pasted in. set column widths to fit on a laptop screen.

13699 06/06/2014 11:20 PM Aaron Marcuse-Kubitza

added schemas/VegBIEN/VegBIEN data dictionary.xlsx

13698 06/06/2014 10:47 PM Aaron Marcuse-Kubitza

bugfix: web/username_prefix.php: user2path(): padding used to visually separate 1st element of URL: require all padding to be __ because sometimes terms contain a leading or trailing _

13697 06/06/2014 10:37 PM Aaron Marcuse-Kubitza

bugfix: web/username_prefix.php: user2path(): padding used to visually separate 1st element of URL: support embedded @ inside highlighted part: also need to match end-padding when followed by "."

13696 06/06/2014 10:34 PM Aaron Marcuse-Kubitza

web/username_prefix.php: user2path(): padding used to visually separate 1st element of URL: support embedded @ inside highlighted part

13695 06/06/2014 10:18 PM Aaron Marcuse-Kubitza

web/username_prefix.php: user2path(): added support for padding used to visually separate 1st element of URL (x@url -> x@url)

13694 06/06/2014 08:32 PM Aaron Marcuse-Kubitza

bugfix: web/username_prefix.php: need to handle : in login (which would normally indicate a password)

13693 06/06/2014 08:43 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: example terms from each source: added location in the VegBIEN core DB

13692 06/06/2014 08:15 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: terms in normalized schemas: put the source name right next to the term name (instead of after the table name) so it's easy to find

13691 06/06/2014 08:08 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: VegX terms: populated definitions

13690 06/06/2014 07:52 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: VegX terms: referenced to the specific table/subpath that they are in

13689 06/06/2014 07:32 AM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: analytical_stem_view: locationName: re-sourced to VegX because this is actually not a DwC term

13688 06/06/2014 07:24 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: populated definitions of linked DwC terms from DwC data dictionary

13687 06/06/2014 07:09 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: renamed terms to link URLs, using the steps at wiki.vegpath.org/VegBIEN_schema_refactoring#data-dictionary-rename-terms-to-link-URLs

13686 06/06/2014 06:47 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: unsafe_taxon_names(): removed the name with "spp." now that this TNRS bug (https://pods.iplantcollaborative.org/jira/browse/TNRS-193) has been fixed

13685 06/06/2014 06:44 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: populated links from unrenamed term names, using the steps at wiki.vegpath.org/VegBIEN_schema_refactoring#data-dictionary-populate-links-from-unrenamed-term-names

13684 06/06/2014 06:02 AM Aaron Marcuse-Kubitza

fix: schemas/public_.sql: analytical_stem_view: links: removed = before them because the link is in fact one member in a list of definitions (the = would apply to all definitions, not just the link, and since it apply to all definitions, it's redundant because of course the comment is what the column equals)

13683 06/06/2014 05:27 AM Aaron Marcuse-Kubitza

web/.htaccess: auto-detect dotpath: need to explicitly set usernames_disabled=1, because for some reason the `%{QUERY_STRING} =""` check doesn't detect a query string

13682 06/06/2014 05:24 AM Aaron Marcuse-Kubitza

web/.htaccess: auto-detect dotpath: removed handling of no longer used @ prefix (used to be used by username-based prefix subpaths)

13681 06/06/2014 05:18 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: username-based prefix subpaths: usernames_disabled: also need to support it being set in the current round

13680 06/06/2014 05:16 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: username-based prefix subpaths: removed support for query strings because these are often used at the root level, and should then be treated as a regular dotpath rather than something with a username-based prefix

13679 06/06/2014 05:07 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: forced mod_autoindex listing: use $usernames_disabled to ensure that usernames stay disabled even when /all path is removed

13678 06/06/2014 05:06 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: username-based prefix subpaths: added back usernames_disabled env var, because it is needed if a RewriteRule in a previous round creates an empty path (mod_rewrite runs the RewriteRules repeatedly until no replacements are made)

13677 06/06/2014 05:01 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: username-based prefix subpaths: REDIRECT_REQUEST_URI: also allow it to be unset, as it is when using usernames

13676 06/06/2014 04:57 AM Aaron Marcuse-Kubitza

fix: web/index.php: directory index: don't append QUERY_STRING, as this is not used by /all

13675 06/06/2014 04:57 AM Aaron Marcuse-Kubitza

web/.htaccess: username-based prefix subpaths: removed usernames_disabled env var because the bug that appeared to require this has now been fixed

13674 06/06/2014 04:56 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: username-based prefix subpaths: also need to check original URL (REDIRECT_REQUEST_URI), in addition to current URL (REQUEST_URI) to see if usernames should be disabled

13673 06/06/2014 04:39 AM Aaron Marcuse-Kubitza

web/.htaccess: username-based prefix subpaths: allow explicitly disabling in a RewriteRule to handle special cases

13672 06/06/2014 04:28 AM Aaron Marcuse-Kubitza

web/.htaccess: auto-detect dotpath: removed handling of no longer used @ prefix (used to be used by username-based prefix subpaths)

13671 06/06/2014 04:20 AM Aaron Marcuse-Kubitza

bugfix: web/index.php: directory index: use QUERY_STRING, not HTTP_AUTHORIZATION (HTTP_AUTHORIZATION was probably left over from a previous attempt to provide username-based prefix subpaths)

13670 06/06/2014 02:44 AM Aaron Marcuse-Kubitza

fix: schemas/public_.sql: analytical_stem_view: vegpath.org links: use ; instead of : between link and definition, because it makes more grammatical sense

13669 06/06/2014 02:42 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: vegpath.org links: removed no longer needed // suffix

13668 06/06/2014 02:38 AM Aaron Marcuse-Kubitza

web/.htaccess, username_prefix.php: username-based prefix subpaths: don't require the // at the end , to avoid clutter. IMPORTANT: in order to access the home page after visiting a URL with a username, you must now append "." to the host ("vegpath.org.") (other pages are not affected by this problem). since vegpath.org is a URL shortener, this is a worthwhile tradeoff to avoid needing the // suffixes everywhere.

13667 06/06/2014 02:19 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: subdomains: each path element must be non-empty, to avoid matching a trailing . incorrectly

13666 06/06/2014 01:18 AM Aaron Marcuse-Kubitza

web/.htaccess: username-based prefix subpaths: updated documentation to use leading // instead of trailing ? or ?@

13665 06/06/2014 01:14 AM Aaron Marcuse-Kubitza

web/username_prefix.php: $_SERVER["PHP_AUTH_USER"] test: factored $_SERVER["SCRIPT_URL"] out of both branches of if statement

13664 06/06/2014 12:36 AM Aaron Marcuse-Kubitza

web/username_prefix.php: don't remove @ from query string because that is no longer a special character

13663 06/06/2014 12:08 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: added links and definitions for half a dozen of the terms from various sources

13662 06/05/2014 11:46 PM Aaron Marcuse-Kubitza

fix: web/.htaccess: username-based prefix subpaths: changed format to subpath@host//path because the trailing ? makes it look like the sentence the URL is in is a question

13661 06/05/2014 08:38 PM Aaron Marcuse-Kubitza

web/.phpPgAdmin/.htaccess: action redirect: only append ? if adding to the query string

13660 06/05/2014 01:17 PM Aaron Marcuse-Kubitza

inputs/publishable datasources.xlsx: updated

13659 06/05/2014 01:17 PM Aaron Marcuse-Kubitza

inputs/publishable datasources.xlsx: updated

13658 06/05/2014 12:27 PM Aaron Marcuse-Kubitza

inputs/publishable datasources.xlsx: updated

13657 06/05/2014 12:12 PM Aaron Marcuse-Kubitza

inputs/publishable datasources.xlsx: updated

13656 06/05/2014 11:33 AM Aaron Marcuse-Kubitza

web/.phpPgAdmin/.htaccess: view: default to displaying the columns rather than the definition

13655 06/05/2014 09:02 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: indicated provenance of the rest of the terms

13654 06/05/2014 08:32 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: flagged the DwC terms

13653 06/05/2014 08:20 AM Aaron Marcuse-Kubitza

web/.phpPgAdmin/.htaccess: support viewing the columns of a view rather than the definition

13652 06/05/2014 08:16 AM Aaron Marcuse-Kubitza

web/.phpPgAdmin/.htaccess: RewriteRules: use overridable action var

13651 06/05/2014 08:14 AM Aaron Marcuse-Kubitza

web/.phpPgAdmin/.htaccess: support overriding action param in a later RewriteRule

13650 06/05/2014 08:04 AM Aaron Marcuse-Kubitza

web/.phpPgAdmin/.htaccess: removed skip= because this creates a confusing control flow, and prevents using chain

13649 06/05/2014 07:51 AM Aaron Marcuse-Kubitza

backups/TNRS.backup.md5: updated

13648 06/05/2014 07:30 AM Aaron Marcuse-Kubitza

schemas/public_.sql: added plot.**.modify()

13647 06/05/2014 07:24 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: *_modify(): removed the need to manually maintain copies of the dependent view definitions with the *s in place, because the *s are now added automatically by view_def_to_orig()

13646 06/05/2014 07:21 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: *_modify(): removed the need to manually maintain copies of the dependent view definitions with the *s in place, because the *s are now added automatically by view_def_to_orig()

13645 06/05/2014 07:15 AM Aaron Marcuse-Kubitza

fix: schemas/util.sql: view_def_to_orig(): also need to merge .* expressions resulting from a SELECT * of a join, to avoid duplicated columns

13644 06/05/2014 06:52 AM Aaron Marcuse-Kubitza

fix: schemas/util.sql: view_def_to_orig(): require at least 6 cols to avoid false positives in the expansion match pattern

13643 06/05/2014 06:49 AM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: view_def_to_orig(): 1st col: can't prepend \y because it considers only \w chars, not "

13642 06/05/2014 06:35 AM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: view_def_to_orig(): don't match whitespace in the middle of a "" identifier, as this could throw off the parser

13641 06/05/2014 06:34 AM Aaron Marcuse-Kubitza

schemas/util.sql: eval(): restore user's intent by running util.view_def_to_orig() on the query to unexpand expanded * expressions

13640 06/05/2014 05:50 AM Aaron Marcuse-Kubitza

schemas/util.sql: pg_get_viewdef(): use util.view_def_to_orig()

13639 06/05/2014 05:50 AM Aaron Marcuse-Kubitza

schemas/util.sql: added view_def_to_orig()

13638 06/05/2014 05:46 AM Aaron Marcuse-Kubitza

fix: schemas/util.sql: pg_get_viewdef(): should be STABLE because it references system catalogs

13637 06/05/2014 05:44 AM Aaron Marcuse-Kubitza

schemas/util.sql: added pg_get_viewdef() wrapper, which unexpands expanded * expressions

13636 06/05/2014 04:30 AM Aaron Marcuse-Kubitza

lib/tnrs.py: max_names: raised back up to 500 now that a workaround for the Internal Server Errors is in place (https://github.com/iPlantCollaborativeOpenSource/TNRS/issues/7)

13635 06/05/2014 03:57 AM Aaron Marcuse-Kubitza

fix: schemas/public_.sql: tnrs_input_name: added ORDER BY to ensure a stable sort order. this also creates better query plans by enabling merge joins.

13634 06/05/2014 03:50 AM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: tnrs_input_name: need to exclude unsafe taxon names as a workaround to #935 (TNRS crashes when scrubbing names with two infraspecific epithets)

13633 06/05/2014 03:45 AM Aaron Marcuse-Kubitza

schemas/public_.sql: taxonlabel: added index on taxonomicname to facilitate retrieving rows from tnrs_input_name

13632 06/05/2014 03:39 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: added taxon_name_is_safe()

13631 06/05/2014 03:30 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: added unsafe_taxon_names()

13630 06/04/2014 03:01 PM Aaron Marcuse-Kubitza

fix: lib/tnrs.py: max_names: lowered to 50 because the dev TNRS server is now always crashing with an Internal Server Error when scrubbing 500 names at a time (https://github.com/iPlantCollaborativeOpenSource/TNRS/issues/7)

13629 06/04/2014 11:41 AM Aaron Marcuse-Kubitza

web/.htaccess: auto-detect dotpath in query string: also auto-prepend & for query strings appended to a username-based prefix, so that these don't need to have & manually prepended to make them appendable

13628 06/04/2014 11:14 AM Aaron Marcuse-Kubitza

web/.htaccess: auto-detect dotpath in query string: also auto-detect dotpath for query strings appended to a username-based prefix, so that these don't need to have . prepended to make them appendable

13627 06/04/2014 02:25 AM Aaron Marcuse-Kubitza

web/username_prefix.php: no prefix: use $_SERVER["SCRIPT_URL"] instead of rtrimming $_SERVER["REQUEST_URI"]

13626 06/04/2014 02:24 AM Aaron Marcuse-Kubitza

web/username_prefix.php: has prefix: use same expr whether or not it has a query string, because the with-query-string expr works for both cases

13625 06/04/2014 02:20 AM Aaron Marcuse-Kubitza

web/username_prefix.php: use if statements instead of `? :` for clarity

13624 06/04/2014 02:10 AM Aaron Marcuse-Kubitza

web/username_prefix.php: use $subpath instead of $_SERVER["PHP_AUTH_USER"] for clarity

13623 06/04/2014 02:09 AM Aaron Marcuse-Kubitza

bugfix: **/.htaccess: redirects with fragment: qsappend does not support fragment, so append it separately

13622 06/04/2014 01:59 AM Aaron Marcuse-Kubitza

web/.htaccess, username_prefix.php: username-based prefix subpaths: support dotpath in query string (which will be appended verbatim to the prefix). use "__?@__" instead of "__?__&" to signal username-based prefix, so that the query string does not end in a dangling & .

13621 06/04/2014 01:53 AM Aaron Marcuse-Kubitza

bugfix: inputs/.TNRS/.htaccess: qsappend does not support fragment, so append it separately

13620 06/04/2014 01:06 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: auto-detect dotpath in query string: don't exclude dotpaths that come before a normal query string (&k=v...)

13619 06/04/2014 01:05 AM Aaron Marcuse-Kubitza

web/.htaccess: auto-detect dotpath in query string: documented what each RewriteCond does

13618 06/04/2014 01:03 AM Aaron Marcuse-Kubitza

web/.htaccess: auto-detect dotpath in query string: use %{QUERY_STRING} instead of %0 for clarity

13617 06/04/2014 12:48 AM Aaron Marcuse-Kubitza

web/.htaccess, web/username_prefix.php: username-based prefix subpaths: support query strings in addition to paths

13616 06/04/2014 12:18 AM Aaron Marcuse-Kubitza

web/index.php: removed no longer needed redirection of username-based prefix subpaths, which is now handled by web/.htaccess

13615 06/04/2014 12:16 AM Aaron Marcuse-Kubitza

web/.htaccess: handle username-based prefix subpaths (of the form "subpath@url?") for all paths rather than just for the root (which were handled by index.php)

13614 06/04/2014 12:11 AM Aaron Marcuse-Kubitza

added web/username_prefix.php, for use with username-based prefix redirects

13613 06/03/2014 11:13 PM Aaron Marcuse-Kubitza

web/index.php: subpath@host? redirects: also support multiple @ and nested . in prefix: @host? -> host?b.c.a

13612 06/03/2014 11:01 PM Aaron Marcuse-Kubitza

web/index.php: support prefix redirect of the form subpath@host? , which is better than subpath.host because case is preserved and special chars allowed. (must require trailing ? for redirect, to avoid needing login to view the page itself.)

13611 06/03/2014 10:47 PM Aaron Marcuse-Kubitza

bugfix: web/index.php: full directory index: appending query string: need to use $_SERVER["QUERY_STRING"], not $_SERVER["HTTP_AUTHORIZATION"] for this

13610 06/03/2014 11:36 AM Aaron Marcuse-Kubitza

schemas/public_.sql: sync_*(): renamed to *_modify() to facilitate finding these functions when modifying the corresponding view (using the new naming convention for a view's on-modify function)

13609 06/03/2014 10:36 AM Aaron Marcuse-Kubitza

bugfix: inputs/.TNRS/schema.sql: MatchedTaxon_modify(): updated to include taxon_scrub derived fields

13608 06/03/2014 10:25 AM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: mk_drop_from_create(): need to match first rather than last CREATE

13607 06/03/2014 10:21 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: *_modify(): allow running without a view_query, as recreate_view() now supports this

13606 06/03/2014 09:52 AM Aaron Marcuse-Kubitza

schemas/util.sql: recreate_view(): support omitting the view_query if the view has already been modified (eg. for public.*_view, which allow changing the view as a separate step)

13605 06/03/2014 08:56 AM Aaron Marcuse-Kubitza

fix: schemas/public_.sql: sync_*(): use util.copy() instead of CREATE TABLE AS so that table and column comments are also copied. this avoids the need to separately add the same comments to the view and its materialized table.

13604 06/03/2014 08:52 AM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: recreate(): need to handle case where util.mk_drop_from_create() is NULL

13603 06/03/2014 08:45 AM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: mk_drop_from_create(): only match CREATE if no custom DROP came before it