Archives for: August 2012

31/08/12

Permalink 02:22:33 pm, by mholmes, 67 words, 141 views   English (CA)
Categories: Activity log; Mins. worked: 300

Link checker working

I have the link checker requested by AC coded up and working, and it's been tested in the VPN, Manifest and Trials dbs (tested in dev, then rolled out to live). I will also roll it out to JSRDocs when I get a chance (there's no dev there, so I always do that one last), and possible Properties (although there are no links in that DB AFAIK).

30/08/12

Permalink 03:28:57 pm, by mholmes, 153 words, 122 views   English (CA)
Categories: Activity log; Mins. worked: 180

First pass at a link-checking utility page

I have a working link-checker for FLD_LINK and FLD_LINKSET fields throughout the database, which uses CURL to check links and reports when they fail. There is still some work to do on this, because I'm not yet correctly escaping characters such as apostrophes which should never turn up in filenames or folder names, but which do regularly turn up because users love to ignore instructions. I'll have to decide whether I should report these as errors even though the links work (on the basis that the names are likely to cause problems down the road), in which case I should also add regex checking to the input fields on the page, or whether I should just escape the characters so that CURL can handle them, and give up on trying to badger people into using sensible filenames.

This feature was requested for VPN, but will also be useful for JW's projects.

27/08/12

Permalink 09:31:33 am, by mholmes, 32 words, 118 views   English (CA)
Categories: Activity log; Mins. worked: 20

Fixed AdaptiveDB bug

The table returned from record deletion was embellished with the old column-header filter fields. I've now got rid of those, since they're obsolete. PUshed out the fix to all current live projects.

17/08/12

Permalink 09:52:34 am, by mholmes, 15 words, 110 views   English (CA)
Categories: Activity log; Mins. worked: 60

Updated existing dbs with new code

Updated the VPN, Properties, Trials, Manifest, and JSRDocs database projects with the new codebase changes.

Permalink 09:51:17 am, by mholmes, 58 words, 155 views   English (CA)
Categories: Activity log, Tasks; Mins. worked: 15

Task: rework the db instructions integration with project_variables.php

Right now the project_variables_SAMPLE.php file, which is copied to create a working file, contains a hard-coded set of instructions for the db. These should be linked via an include somehow, because as the db code develops, the instructions change, and the ones in project files get out of date and have to be updated manually.

16/08/12

Permalink 03:57:43 pm, by mholmes, 133 words, 99 views   English (CA)
Categories: Activity log; Mins. worked: 180

New features added

As part of the VPN project, phase one (agreed by the HCMC Committee), I've enhanced the Adaptive DB codebase with a couple of new features:

  • You can now search for a comma-separated list of integers in an integer field (so you can retrieve a specific known set of records by their ids, for instance).
  • Input from the search form is much better sanitized than before.
  • The search wildcard character has been switched from the SQL % to the more familiar asterisk (*), and backslash-escaping of the wildcard now allows you to search for it as a literal character.
  • Help pages and popup help buttons have been enhanced.

This development was done on the VPN dev db, and will be rolled out to the live version for full testing, before being rolled out to other dbs.

Adaptive Database

This project aims to design a flexible online database which can be set up as very quickly for a researcher requiring a relational database, and is easy to modify and extend. The Web GUI provides tools for data-entry in as simple and convenient a manner as possible, while also allowing data-integrity checks. The application development sandbox is currently at https://hcmc.uvic.ca/people/martin/potluck/editor/index.php; and half a dozen UVic projects are already using the codebase. The code is managed through SVN here: https://revision.tapor.uvic.ca/svn/adaptivedb/.

Reports

Categories

August 2012
Sun Mon Tue Wed Thu Fri Sat
 << < Current> >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

XML Feeds