Code Monkey home page Code Monkey logo

heuristnetwork / heurist Goto Github PK

View Code? Open in Web Editor NEW
54.0 5.0 24.0 233.71 MB

Core development repository. gitHub: Vsn 6 (2020 - ), Vsn 5 (2018 - 2020), Vsn 4 (2014-2017). Sourceforge: Vsn 3 (2009-2013), Vsn 1 & 2 (2005-2009)

Home Page: http://HeuristNetwork.org

License: GNU General Public License v3.0

PHP 36.45% HTML 11.40% Smarty 0.07% JavaScript 47.92% CSS 2.68% Shell 0.43% Batchfile 0.01% SCSS 1.06%
humanities database-management database database-as-a-service database-design archaeological-information-system history-management history historical-data historical-database

heurist's People

Contributors

amadeusgwin avatar bmckay13 avatar dartion avatar dependabot[bot] avatar frankcan24 avatar ijohnson222 avatar itsakontra avatar michaelgfalk avatar mitema avatar osmakov avatar tcooke-unistra avatar vpaillusson avatar yangli0516 avatar zkhan17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

heurist's Issues

[Moved to JT] Improvements to login dialogue to better eflect different user status (new, forgotten password)

Register allows you to request access to the database (it is enabled by a checkbox in database properties) AND creates a profile, but this needs to be distinguished from someone who already has a Heurist profile (who currently needs to "Contact the owner").

  • Add a blank line where shown by > and <
  • Should not show N/A (not sure what this is meant to render)
  • Change text as follows:
    All Heurist databases require a login. If you wish to access the data this database but do not have a login for it, please click the Register button (if shown), otherwise email contact the owner:

<db owner - user #2>, N/A 


image

[Moved to JT] Improve zoom-out on facet search value slider

We need some way such as arrows like this to reset the min and max to the min and max values, because if you've zoomed in it can take 10 clicks to zoom out to where you need (other than resetting completely):

image

There is already “reset” button, that set min/max values for slider. I know, that is not the same. I may have set the maximum to what I want, but the minimum is wrong, or vice versa

Code review request (branch archefact-storedfunctions)

Branch name: archefact-storedfunctions

Purpose of code changes on this branch:

 - Created stored functions to replace levenshtein.c and liposuction.c UDFs

When reviewing my code changes, please focus on:
 - Validating that the functions indeed perform identically. This can be done by loading them onto a server that has the UDFs under a different name, and running SELECT oldfunction(...),newfunction(...) type queries.

After the review
 1) UDFs unloaded/removed from server(s)
 2) new functions loaded into every existing database
 3) new functions appended to the sqlProceduresTriggers.sql file
 4) mark branch as merged/finished.


Original issue reported on code.google.com by [email protected] on 11 May 2013 at 8:10

Improve presentation and icon for reopening righthand panel when closed

The reopen righthand panel button 1. doesn't look like anything 2. is stuck up in the top right in the margin where no-one could recognise that it has anything to do with a panel which they probably don't even realise is missing. I think the panel should remain as a narrow strip with a clear Maximise or expand-left icon in it

image

Set location of filestore directory in Uploadhandler via configuration value

Hagen Peukert: At HEURIST/HEURIST_SUPPORT/external_h5/jquery-file-upload/server/php/UploadHandler.php line 453 the FILESTORE path is hardcoded as
$upload_path = $this->get_upload_path($file->name, $file->subfolder);
if(!(strpos($upload_path,'/var/www/html/HEURIST/HEURIST_FILESTORE')===0 || strpos($upload_path,'C:/xampp/htdocs/HEURIST_FILESTORE')===0)){
$file->error = $this->get_error_message('only_heurist');
return false;
}
Instead of '/var/www/html/HEURIST/HEURIST_FILESTORE' it would be great to put the variable $defaultRootFileUploadPath from the configuration file there. I have checked the visibility of this variable and it is not accessible in this directory/file. Yet, it is really something important if the installation directory is to be kept variable/flexible.

Code review request (branch archefact-remotes)

Branch name: archefact-remotes

Purpose of code changes on this branch:

added -h param to mysql and mysqldump calls to enable using remote MySQL server
added config options for memcached
graceful degradation for memcached (on fail or if not there)
few comment typos


After the review, I'll merge this branch into:
/h3share


Original issue reported on code.google.com by [email protected] on 11 May 2013 at 8:01

[Moved to JT] Gephi output: include edges

For edges (links) defined by a relationship, add output of the fields in the relationship record as attributes of the edge In gephi export? Fields in relationship: interpretation, validity, description, notes? and any other fields which the person has added to the relationship type

Need to track issues in gitHub ...

Yes, we should ... Currently all issues are in a Heurist database and a Google Doc for immediate/current work. Longer-term design and new features backlog, and individual project specifications, are also in the Heurist database and Gdocs.

[Moved to JT] Improve layout of the XML/JSON import message about structure synchronisation

Currently you see a "synch listed entity types" button on the screen, but do not see the Import Records button (it's off the bottom). The synch button may not be needed, better to put up top as shown. Make sure line spacing is right once you've moved it, try and avoid Import Records going off the page unless there is a very long list of entity types to match.

image

Code review request (branch archefact-fixes)

Branch name: archefact-fixes

Purpose of code changes on this branch:

 - Change absolute to relative path so hostname will be used in url. This fixes editing geolocations in editRecord. 
 - Change any SQL facing addslashes() with MySQL and character set aware mysql_real_escape_string()

After the review, I'll merge this branch into:
/h3share


Original issue reported on code.google.com by [email protected] on 11 May 2013 at 8:03

[Moved to JT] Digitiser behaviours (initial placemark after search, multiple digitisation, instructions)

  • When you open up the digitiser (record editor) and search for a place, it shows a place mark, but if you then hit save it says you have to digitise a location. If you add a placemark you then have two - only the one you added is saved. Placemark shown should be set as the location digitised.
  • If you add several spatial objects in the digitiser, only the last one drawn is saved in the record.
  • The use of this is initially rather obscure. Put an "🛈 How to use this" link in the righthand panel, maybe at the top, laid out well, with 🛈 in blue circle

image

Export XML/JSON: warning if follow all pointers checkbox is unchecked


If user

  • unchecks the follow all pointers checkbox, pop up a warning (because this can really generate stuffed-up data if they don't know what they are doing):

WARNING
You have chosen not to follow pointers.
Record pointer fields in this set of records will NOT be exported.
The data for these records will therefore be incomplete. Use with caution.
[Proceed] [Cancel]

[Moved to JT] Improve short messages using a popup message rather than a modal alert box

Global search for alerts. There 538, of which a couple of hundred are short messages like "Title is required" or "Record saved". All of these short alerts should be converted to flash messages (easy - I already went through all the alerts checking and standardising the text, and it only took me half an hour or so), with a constant time (shortAlertMsecs, initially 1000, we can play with that as required, easy), and positioned appropriately (which requires testing each alert - not so quick - but we could start with defaulting them to a fixed position such as x=400, y=300). This is probably a couple of hours work, even if some alerts are not ideally placed it is still better than the current set of popup alert boxes.

Improve layout of header section of dashboard

Move dashboard into a 'ribbon' below heading
Reduce size of icons to 70% of current
Reduce spacing and maximum length of description so it all fits nicely as shown
New close and edit - make sure the close up/open down arrow is sufficiently bold as shown, not some tiny thing. No need for the temporary close button
Reverse arrow direction when closed to allow reopen. Remove the special [Dashboard] control in the page header - I think the up / down arrow is sufficient.
Dashboard open for new databases. Once closed, dashboard should stay closed until reopened by user (ie. state is current "Don't show again")

image

WAS: The dashboard really gets in the way once you are a user. It's really intended for starters. Change order of controls at top and wording of buttons to make it clearer how to get rid of it:

image

Google Analytics ID should be in config, not code

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132203312-1"></script>

This line and a few onward refer to the Google Analytics ID, hard-coded. This means that installs elsewhere will pollute the analytics.
So this should be in the Heurist config, not the code.

Popu warning when user tries to export XML or JSon without following all pointers

If user unchecks "follow all pointers" give them the following warning popup:

WARNING: by allowing the export of records without following pointers, you will lose any data which is referenced by pointer fields in the exported records. This may be acceptable for simple lists eg. of places or person names, but you need to understand the nature of the exported records to be sure that you are not losing essential data.
Exporting and importing a CSV file will give you more control on what fields are exported.
Are you sure?
[ Proceed ] [Cancel]

[Moved to JT] Import CSV, selection of entity type: Collapse/expand details of pointer fields in dependent entity types display for clarity

Put a collapsible wrapper around each of the top level entries in the second list, as per below. This shouldn't take you more than a few minutes I believe. You can then hide the top list b/c it will be identical. You don't need to worry about the indents if difficult.
It randomly checks the boxes next to the first few required pointers, but not all. By default NO pointers should be checked


image
With indents:
image

Login via h5 and h5-ao via Firefox has issue on password entry

When entering the password from Firefox (63.0), the pwd field flickers and generally only stays at the first character, so you can't login. Looks like there is some Javascript actively interfering during the typing.
On Brave and Chrome browsers it's ok.

[Moved to JT] Better progress indicator on loading XML, JSON and CSV files

After loading 13600 of 13646 when importing XML (also CSV) it sits like this for several minutes. It needs some alternative processing message to show that it has not simply hung.
It would be good to replace this rather strange loading message with a progress bar, or even just a simple non-graphic message "loading xxxxxx of yyyyy records" .

image

Code review request (branch archefact-all)

Branch name: archefact-all

Purpose of code changes on this branch:
merge of master (v3.1 public release) and h3share
merged all of archefact-fixes, archefact-storedfunctions, archefact-remotes

When reviewing my code changes, please focus on:
Merge mistakes (always useful to do a quick review on the diff)

After the review, I'll merge this branch into:
master or h3share

Original issue reported on code.google.com by [email protected] on 17 May 2013 at 3:58

[Moved to JT] Improve layout of the structure synchronisation screen on XML/JSon import

Improve layout - currently you see a "synch listed entity types" button on the screen, but do not see the Import Records button (it's off the bottom). The synch button may not be needed, better to put up top as shown. Make sure line spacing is right once you've moved it, try and avoid Import Records going off the page unless there is a very long list of entity types to match.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.