jamescheney / database-wiki Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/database-wiki
License: GNU General Public License v3.0
Automatically exported from code.google.com/p/database-wiki
License: GNU General Public License v3.0
*DEPRECATED VERSION* Database Wiki ============= A wiki lets users collaborate on Web content easily through a Web browser, and wikis also make it easier to understand the process by which some data was created by recording detailed history records. A Database Wiki is a wiki for structured data, providing both database-like capabilities to structure and query data and wiki-like capabilities for collaboration and transparency. Entry points ============ The entry points are defined as main methods of classes in org.dbwiki.main: CreateServer DatabaseImport DatabasePackageExport DatabasePackageImport DropDatabaseWiki DropServer ImportPresentationFiles StartServer For convenience, various wrapper scripts are included in the root directory for invoking the various entry points with appropriate classpaths using configuration files in ./resources/configuration/. Those ending with a .sh suffix are suitable for UNIX platforms (including Linux and Mac OS X). Those ending with a .cmd suffix are suitable for Windows. Initialising a server --------------------- Java class: CreateServer <config-file> <user-listing> Scripts: create-server.sh create-server.cmd This creates the following tables in the relational database: _database _presentation _user The first argument is a server configuration file. The second argument is a user configuration file. Example files are currently in: ./resources/configuration/server/config.sample ./resources/configuration/server/users.sample We recommend copying these into ./resources/configuration/server/config ./resources/configuration/server/users and editing according to your local configuration, then the script can be used. Starting a server ----------------- Java class: StartServer <config-file> Scripts: start-server.sh start-server.cmd You should now be able to access your Database Wiki server through your web browser by going to: http://localhost:8080/ Importing XML data into a new database wiki ------------------------------------------- Java class: DatabaseImport <config-file> <name> <title> <path> <xml-file> <user> Scripts: database-import.sh <name> <title> <path> <xml-file> <user> database-import.cmd <name> <title> <path> <xml-file> <user> The <name> is a short name for the database. The <title> is a descriptive name for the database. The <path> is the path from the root to the data entries (e.g. if the XML file is of the form <things><item>...</item>...<item>...</item></things> then a suitable path would be '/things'). The <user> is the name of the user to use to record the import. Importing presentation data --------------------------- Java class: ImportPresentationFiles <config-file> <db-name> <path> <user> Script: import-presentation-files.sh <db-name> <path> <user> import-presentation-files.cmd <db-name> <path> <user> The <path> is the file path to the presentation files. The files should be named: <path> + <db-name> + ".css" <path> + <db-name> + ".layout" <path> + <db-name> + ".template" Dropping a database wiki ------------------------ Java class: DropDatabaseWiki <config-file> Scripts: drop-database.sh drop-database.cmd You will be asked which database wiki you wish to drop. All data associated with that database wiki will be deleted. Dropping a server ----------------- Java class: DropWikiServer <config-file> Scripts: drop-wiki-server.sh drop-wiki-server.cmd You will be asked whether you also wish to drop all the database wikis. All of the tables created by CreateServer will be deleted. If you answer yes to the question, then the all the database wiki data will also be deleted. TODO: describe DatabasePackageExport and DatabasePackageImport
Debug/review and merge the chart-building and mapping features from Haoli's
project into the main distribution.
Original issue reported on code.google.com by [email protected]
on 3 Nov 2011 at 12:05
We should update the code to use the most recent version of the Parboiled library, but this is complicated somewhat by the fact that we are using a modified version of part of it (the Pegdown markdown parser). Longer-term, it would be good to upgrade to the latest library version and refactor the code to specialize Pegdown rather than modifying it directly.
Review/debug and merge provenance querying features from Snehal's project into
main distribution.
Original issue reported on code.google.com by [email protected]
on 3 Nov 2011 at 12:07
Add support for exporting entries as JSON.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2011 at 2:29
Step 1. Merge trunk changes into a copy of Hui's project branch. See if this
works.
Step 2. Implement simple way of re-indexing when an entry changes.
Step 3 (future?) Implement smarter re-indexing.
Original issue reported on code.google.com by [email protected]
on 25 Nov 2011 at 4:32
Extend the import to allow merging of external documents or previously exported
wiki snapshots into a wiki.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2011 at 2:59
Logging in doesn't work properly:
1. If you log in with an invalid user id, there is no failure message, instead
from then on the login link is a no-op/page forward.
2. If you log in with a valid user id but incorrect password, it succeeds.
(should fail/give an error message).
3. There is no way to log out short of restarting the browser.
Original issue reported on code.google.com by [email protected]
on 16 Mar 2012 at 9:59
The template mechanism should provide a symbol @imports so that we can add new
javascript library imports in one place (in the code) instead of once per
template.
Otherwise we will have to change all the templates manually whenever the
javascript code we're importing changes.
The default and built-in templates should be changed to take this into account
too.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2011 at 11:05
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2013 at 8:54
Develop a binary (JAR) distribution and installation script that puts the
program somewhere global and runs the server from there rather than running
from the source directory.
Original issue reported on code.google.com by [email protected]
on 5 Jun 2011 at 6:10
Allow schema evolution and track changes to schema.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2011 at 3:03
Attempting to insert schema elements in the App Engine version leads to failure
with the error: "There are no generated keys."
Seems to be due to getGeneratedKeys not returning anything, so maybe something
isn't defined as auto_increment in Cloud SQL that should be.
Original issue reported on code.google.com by [email protected]
on 28 Jan 2015 at 12:12
Add buttons or links that generate XML, JSON (or eventually other) views of the
data.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2011 at 2:31
Currently, wiki pages are lost when we refresh a database and there is no
straightforward way to export them and re-import them later.
Likewise, the (new) config file for URL generation is not being
imported/exported.
Original issue reported on code.google.com by [email protected]
on 6 Dec 2011 at 3:50
Loading a large dataset through the web interface on the App Engine version
leads to an error (the connection is dropped before the data is finished
loading).
App Engine limits the time per request to 60 seconds.
To do: investigate use of backends or tasks to handle imports that take longer
than 60 seconds.
Original issue reported on code.google.com by [email protected]
on 8 Jan 2015 at 10:57
Use path-based URLs instead of unique identifiers to locate data
Original issue reported on code.google.com by [email protected]
on 2 Mar 2011 at 3:02
What steps will reproduce the problem?
1. Search for an unbalanced string, such as "\""foo".
2. Wait.
Server never responds.
Original issue reported on code.google.com by [email protected]
on 19 May 2011 at 5:37
When deletion is forbidden by the access control policy, an "access denied"
message is shown but the deletion takes place anyway.
Original issue reported on code.google.com by [email protected]
on 12 Feb 2015 at 4:02
Currently, wiki pages are associated with collections and can only query data
in that collection.
This enhancement would make the "wiki page" component of the system a
server-level object rather than having several Wiki objects, one per
collection. It would also allow writing queries that access data from more
than one collection (which might in turn require some modifications to the
schema language to provide top-level variable bindings for the different
collections).
This would also mean that we could write documentation for the whole system as
(global) wiki pages, making it more self-documenting.
Original issue reported on code.google.com by [email protected]
on 12 Feb 2015 at 4:09
Data import is currently broken using the schema archiving For example, using
attached trivial file foo.xml, I get:
$ sh database-import.sh FOO FOO foo.xml jcheney
[TIME] [Duplicate version name]: Version 8 May 2011 17:06:49 already exists
at org.dbwiki.data.time.version.VectorVersionIndex.add(VectorVersionIndex.java:70)
at org.dbwiki.driver.rdbms.DatabaseImportHandler.endImport(DatabaseImportHandler.java:64)
at org.dbwiki.data.io.XMLDocumentImportReader.start(XMLDocumentImportReader.java:106)
at org.dbwiki.web.server.WikiServer.registerDatabase(WikiServer.java:717)
at org.dbwiki.main.DatabaseImport.main(DatabaseImport.java:91)
This also happens if I try to add data through the web interface.
Original issue reported on code.google.com by [email protected]
on 8 May 2011 at 4:09
Attachments:
The authorization model in the "trunk" version (just merged in) doesn't seem to
pay attention to the fine-grained authorizations (per user/database/entry),
only the top-level access flags governing the whole dataset.
Original issue reported on code.google.com by [email protected]
on 23 Jan 2015 at 1:04
The schema language isn't documented, and it's hard to find out what the schema
of an existing database is.
Original issue reported on code.google.com by [email protected]
on 24 Feb 2011 at 3:58
Allow import of layout information from other wikis.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2011 at 3:03
To reproduce:
Click "New"
Enter "TEST" and "Test" for short name/name
Enter a url to some XML
Click "Save"
This will lead to a page with a red box around the schema and message:
Please specify the target pat and schema for the given resource.
This isn't very helpful; it would be mroe helpful if it said something like:
"You didn't provide a schema, so we have inferred one that seems to work for
your document. Click "Save" if this is OK, or edit the schema."
Original issue reported on code.google.com by [email protected]
on 24 Feb 2011 at 4:00
Document the underlying database schema used in the trunk version, so that
students can understand it and do projects.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2011 at 4:51
1. Add capability to export entries (or parts of entries) as RDF.
2. Add capability to export provenance, annotation, history information as RDF,
cross-linked against the data.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2011 at 2:33
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.