Commit Graph

1181 Commits

Author SHA1 Message Date
Antonin Delpeuch
024c8cd6a5 Fix equality check on custom EntityIdValues 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
45bc328675 Add issue details on inverses and qualifier checks 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
e920c0f421 Add info issues for empty edits and no warnings 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
5891f8c270 Fix ItemIdValue generation from project to pass on terms 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
d4cb64cdfd Fix EntityCache so that it actually caches stuff 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
63d488d74f Add properties to format scrutinizer 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
abc51235c6 Add infrastructure to let scrutinizers report more details 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
c844742395 Introduce custom EntityIdValues to store localized labels 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
1ea1377734 Simply the scrutinizer architecture 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
132af25b4a Add single value scrutinizer 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
46b3e41bb7 Update tests to use PropertyIdValue 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
0a0aacb0cd Move pids from Strings to PropertyIdValues, cleaner 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
fea53aa900 Add wikidata tests to extensions/build.xml 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
316ee86e1a Add scrutinizer for allowed and mandatory qualifiers 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
283661956b Add support for snak location constraints 2018-04-27 09:17:32 +02:00
Antonin Delpeuch
142eeabfeb Add unsourced scrutinizer 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
665585add9 Add self-referential scrutinizer 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
d347e5091f Add cached constraint fetcher and tests 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
508e9d22ad Add inverse constraint scrutinizer 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
0d5875b35b Add format scrutinizer 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
b5f2085038 Reorganize scrutinizers to simplify the methods 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
2795a54ea2 Start localization of the Wikidata extension 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
af4df335de Draft of warnings UI 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
990a404c76 Foundations of the edit inspector backend 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
38176189e4 gitignore for wikidata extension 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
9a3093b045 Fix terms serialization 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
497505eef1 Add serialization tests for Wikidata schema 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
a609d3786d Fix tests setup for Wikidata extension 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
a3db1898c6 Set up tests for wikidata extension 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
de224bb89a Add JacksonJsonizable 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
955bb409bc Migrate schema expressions to Jackson 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
989263d212 Improve Wikidata login screen 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
f6eceefd8e Improve support for terms in schema 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
5e99e0d2e3 Let the user specify an edit summary 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
5faa432aa6 Start storing user credentials in OpenRefine's preferences 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
7a6e4f49b1 Update Wikidata Toolkit 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
34568ca9b1 Initial support for creation of new items in Wikidata 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
4076f088f3 Update Wikidata-Toolkit to include new features 2018-04-27 09:17:31 +02:00
Antonin Delpeuch
72939711e8 Restrict suggested languages for Wikidata monolingual texts 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
9f955c40ae Add support for names and descriptions 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
07e2a8d982 Add support for monolingual text in Wikibase schema 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
b326346fa3 Fix order of qualifiers in SnakGroup generation 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
ddceec4d27 Cleanup and UI tweaks 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
165ff41469 Support for dates and coordinates in Wikibase schema 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
8f4d998e21 Support for Wikidata editing from OpenRefine 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
67e5bcd504 Some UI cleanup for the schema alignment interface 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
23355eb472 Add reference support in Wikibase schema editor 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
68122b2b27 Fix qualifier addition ànd serialization 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
a1018dba6b Fix extensions/build.xml 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
66b3ddf76b Add support for qualifiers 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
c0f2468236 Restrict QS export to filtered rows 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
9fcdbc31e9 Initial support for item creations 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
f763e8c6ad Shorter QuickStatements preview and better export UI 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
035e7b82bc Add missing build and config files for Wikidata extension 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
781c3b0467 Support for properties with varying target datatype 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
fcde3d2c7d Add QuickStatements export and preview 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
975542bff1 Restore schema in UI after save 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
decef38f85 Synchronize schema storage and UI behaviour. 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
3fd71965fa Move wikidata-specific dependency to own .classpath 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
e38aeb7ba5 JSON serialization of schema to model 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
82930da4db First draft of the schema alignment dialog 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
5853cdf10d Wikibase schema serialization and related operation 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
ad475849b9 Start schema classes 2018-04-27 09:17:30 +02:00
Antonin Delpeuch
19a1e5e007 Start Wikidata extension based on Wikidata-Toolkit 2018-04-27 09:17:30 +02:00
Jacky
cf573f37de fix the NPE when there is no fusion table exists 2018-03-06 18:16:29 -05:00
Jacky
ac57eb813e changes based on code review 2018-03-06 18:10:54 -05:00
Jacky
6af7e6545c adjust timeout to 3 min 2018-03-01 22:48:14 -05:00
Jacky
77aad7eb05 changes based on the code review 2018-03-01 22:45:14 -05:00
Jacky
c758a6b635 exclude test-out 2018-02-25 12:00:40 -05:00
Jacky
a9a41c074a upgrade the google api client 2018-02-02 13:08:29 -05:00
Jacky
efcbe4b718 upgrade the google api services 2018-02-02 13:04:27 -05:00
Jacky
c4b0ff6bea data package metadata (#1398)
* fix the appbundle issue #1209

* fix #1162

allow the JRE 9

* fix the package declarations

* remove the _ from the method name

* use the explicit scoping

* remote extra ;

* fix issued from codacy

* fix issued from codacy

* add preferences link to the index page

* handle the empty user metadata

* fix 'last modified' sorting issue #1307

* prevent overflow of the table. issue #1306

* add isoDateParser to sort the date

* prevent overflow of the project index

* remove sorter arrow for action columns

* disable editing the internal metadata

* adjust the width of the table

* change MetaData to Metadata

* change the filed name from rowNumber to rowCount

* put back the incidently deleted gitignore

* add double quote to prevent word splitting

* UI improvement on metadata view and project list view

* remove the date field in metadata

* message notification of the free RAM. Issue #1295

* UI tuning for metadata view

* shorten the ISO date to locale date format

* Added translation using Weblate (Portuguese (Brazil))

* remove the rename link

* Ignore empty language files introduced by Weblate

* Add UI for Invert text filter

* Backend support for Inverting Text search facets

* Fix reset on text search facet

* More succinct return statements

* add tests for SetProjectMetadataCommand

* Tidying up for Codacy

* Added Tests for TextSearchFilter

* Corrections for Codacy

* More code tidy up

* let the browser auto fit the table cell when resizing/zooming

* fix import multiple excel with mulitple sheets issue #1328

* check if the project has the userMetadata

* fix the unit test
support multi files with multi tables for open office

* prevent the same key for user metadata

* replace _ with variable for exception

* fix the no-undef issue

* to adjust the width of transform dialog. issue #1332

* fix the row count refresh issue

* extract method

* move the log message

* cosmatic changes for codacy

* fix typo

* bump to version 2.8

* .gitignore is now working

* preview stage won't have the metadata populated, so protect NPE

* Update README.md

No more direct link to the last version tag, which will avoid having to think of updating the readme

* refacotring the ProjectMetadata class

* introduce the IMetadata interface

* create submodule of dataschema

* add back

* setup lib for dataschema; upgrade the apache lang to lang3

* replace escape* functions from apache lang3

* replace the ProjectMetadata with IMetadata interface

* add missing jars

* set the IMetadata a field of Project

* remove PreferenceStore out of Project model

* fix test SetProjectMetadataCommandTests by casting

* introdcue the AbstractMetadata

* introdcue the AbstractMetadata

* reorganize the metadata package

* allow have mulitiple metadata for a project

* support for mulitple metadata format

* remove jdk7 since 'table schema' java implmentation only support jdk8+

* set execute permission for script

* fix the Unit Test after Metadata refactoring

* restore the apache lang2.5 since jetty 6.1.22 depend on it

* add commons lang 2.5 jar

* git submodule add  https://github.com/frictionlessdata/datapackage-java

* remove the metadata parameter from the ProjectManager.registerProject method

* remove hashmap _projectsMetadata field from the ProjectManager and FileProjectManager

* init the Project.metadataMap

* fix Unit Test

* restore the ProjectMetaData map to ProjectManager

* put the ProjectMetaDta in place for ProjectManager and Project object

* check null of singleton instead of create a constructor just for test

* load the data package metadata

* importing data package

* importing data package

* encapsulate the Package class into DataPackageMetadata

* user _ to indicate the class fields

* introduce base URL in order to download the data files

* import data package UI and draft backend

* import data package UI

* fix typo

* download the data set pointed from metadata resource

* save and load the data package metadata

* avoid magic string

* package cleanup

* set the java_version to 1.8

* set the min jdk to 1.8

* add the 3rd party src in the build.xml

* skip the file selection page if only 1 DATA file

* add files structure for json editor

* seperate out the metadata file from the retrival file list

* rename the OKF_METADATA to DATAPACKAGE_METADATA

* clean up

* implement GetMetadateCommand class

* display the metadata in json format

* git submodule update --remote --merge

* adjust the setting after pulling from datapackage origin

* fix the failed UT DateExtensionTests.testFetchCounts due to new json jar json-20160810.jar will complain: JSONObject["float"] not a string.

* clean up the weird loop array syntax get complained

* remove the unused constant

* export in data package format

* interface cleanup

* fix UT

* edit the metadata

* add UT for SetMetadataCommand

* fix UT for SetMetadataCommand

* display the data package metadata link on the project index page

* update submodule

* log the exceptions

* Ajv does not work properly, use the back end validation instead

* enable the validation for jsoneditor

* first draft of the data validation

* create a map to hold the constraint and its handler

* rename

* support for minLength and maxLength from spec

* add validate command

* test the opeation instead of validate command

* rename the UT

* format the error message and push to the report

* fix row number

* add resource bundle for validator

* inject the code of the constrains

* make the StrSubstitutor works

* extract the type and format information

* add the customizedFormat to interface to allow format properly

* get rid of magic string

* take care of missing parts of the data package

* implement RequiredConstraint

* patch for number type

* add max/min constraints

* get the constrains directly from field

* implement the PatternConstraint

* suppress warning

* fix the broken UT when expecting 2 digits fraction

* handle the cast and type properly

* fix the missing resource files for data package when run from command line

* use the copy instead of copydir

* add script for appveyor

* update script for appveyor

* do recursive clone

* correct the git url

* fix clone path

* clone folder option does not work

* will put another PR for this. delete for now

* revert the interface method name

* lazy loading the project data

* disable the validate menu for now

* add UT

* assert UTs

* add UT

* fix #1386

* remove import

* test the thread

* Revert "test the thread"

This reverts commit 779214160055afe3ccdcc18c57b0c7c72e87c824.

* fix the URLCachingTest UT

* define the template data package

* tidy up the metadata interface

* check the http response code

* fix the package

* display user friendly message when URL path is not reachable

* populate the data package schema

* Delete hs_err_pid15194.log

* populate data package info

* add username  preference and it will be pulled as the creator of the metadata

* undo the project.updateColumnChange() and start to introduce the fields into the existing core model

* tightly integrate the data package metadata

* tightly integrate the data package metadata for project level

* remove the submodule

* move the edit botton

* clean up build

* load the new property

* load the project metadata

* fix issues from codacy

* remove unused fields and annotation

* check the http response code firstly

* import zipped data package

* allow without keywords

* process the zip data package from url

* merge the tags

* check store firstly

* remove the table schema src

* move the json schema files to schema dir

* add comment

* add comment

* remove git moduels

* add incidently deleted file

* fix typo

* remove SetMetadataCommand

* revert change

* merge from master
2018-02-02 13:24:19 +00:00
Antonin Delpeuch
0d8659c652 Remove unit_tests.xml and rename others 2018-01-31 08:36:11 +00:00
Antonin Delpeuch
a8ed571f27 Enable Postgres on Appveyor 2018-01-27 18:08:04 +00:00
Antonin Delpeuch
2da07462ba Fix appveyor MySQL password 2018-01-27 17:52:23 +00:00
Antonin Delpeuch
6fdaab7724 Enable MySQL in Appveyor 2018-01-27 17:03:53 +00:00
Antonin Delpeuch
b5ffcd38fa Exclude tests which require a database by default; enable them on Travis 2018-01-27 16:36:33 +00:00
Antonin Delpeuch
b2b9a4bc9a Do not catch exceptions in tests; add database groups
The groups let us enable / disable tests for a specific db,
depending on which one is available on the machine.
2018-01-27 16:20:07 +00:00
Jacky
54e25408fb
Merge pull request #1414 from OpenRefine/issue1377
Expose fields as attributes in Jython
2018-01-26 13:14:10 -05:00
Stuart Kenny
43e62832dd Move context menu function from main script 2018-01-22 10:17:59 +00:00
Stuart Kenny
2c3be12269 Javascript error on project page from database extension 2018-01-22 10:09:59 +00:00
TonyO
a3ac35a296 database extension with classpath fix 2018-01-13 20:24:56 -06:00
Jacky
cc7a72d9db
Revert "OpenRefine Database Import Extension" 2018-01-13 14:36:23 -05:00
Antonin Delpeuch
315b126b23 Cleanup tests for Codacy 2018-01-13 09:18:48 +00:00
Antonin Delpeuch
1b76f789a3 Expose fields as attributes in Jython
Closes #1377
2018-01-13 09:18:48 +00:00
TonyO
524c1a32f9 TR1394-fixed test cases 2018-01-12 22:54:20 -06:00
TonyO
6bd932fd9a unit tests and db integration tests and travis-ci 2018-01-12 22:23:48 -06:00
TonyO
88a3884e34 Merge branch 'master' of https://github.com/OpenRefine/OpenRefine into openrefine-db-extension 2018-01-10 21:07:26 -06:00
TonyO
c1703186e1 new test util class 2018-01-10 21:01:51 -06:00
TonyO
13a34a6f3e added test extra unit test 2018-01-10 21:00:10 -06:00
Antonin Delpeuch
0fb7e79982 Split .gitignore by extension 2018-01-03 22:04:49 +01:00
Antonin Delpeuch
4a325c8ff5 Configure testing for the Jython extension 2018-01-03 18:37:16 +01:00
Isao Matsunami
c75f97b40d
Update translation-jp.json 2017-12-28 17:08:07 +09:00
Isao Matsunami
a72d365b2b
Create translation-jp.json
Added Japanese translation file for Google Data extension
2017-12-28 16:52:11 +09:00
TonyO
cccd722f44 code cleanup with eslint and checkstyle 2017-12-24 00:52:40 -06:00
TonyO
9afd19be0a changed log levels 2017-12-22 23:05:05 -06:00
TonyO
6f793bb9fa database extension code commit 2017-12-22 22:43:02 -06:00
Jacky
818e139b43 add the import options to metadata 2017-10-21 23:41:11 -04:00
Antonin Delpeuch
c9cc4fb262 Update Jackson to 2.9.1
Closes #1262
2017-10-09 17:38:09 +01:00
Antonin Delpeuch
8e7f4ae80c Update Jython to 2.7.1.
Related to #1236.
2017-08-24 09:46:58 +02:00
Antonin Delpeuch
bcdd04d062 Merge branch 'master' of https://github.com/noamoss/OpenRefine into noamoss
Conflicts:
	extensions/freebase/module/langs/translation-he.json
	main/webapp/modules/core/langs/translation-en.json
2017-08-12 09:45:23 +01:00
Antonin Delpeuch
dbb071da30 Merge branch 'default-to-english' of https://github.com/RBGKew/OpenRefine into RBGKew-default-to-english 2017-08-09 14:07:22 +01:00
Fadi Maali
0e21c0e594 correct classpath references and java version
- updated classpath references to existing versions of the libraries.
- Java version upgraded to 7 as some Java 7 specific features are used.
- corrected references to old project name (grefine-all) in the launch script
2017-07-18 22:15:46 +01:00
Thad Guidry
f9323d29c6 Updating to latest Jython 2.7 standalone jar 2017-02-28 14:52:41 -06:00
Tom Morris
8511c6c30d Merge remote-tracking branch 'upstream/master' 2015-09-25 17:14:48 -04:00
Maxim Galushka
68d8456f9e Concurrent access issue to jython evaluables. 2015-09-22 17:38:35 +01:00
Thad Guidry
20220f7294 Merge pull request #1068 from RefinePro/issues-freebase-remove
Issues freebase remove
2015-09-21 20:24:06 -05:00
jackyq2015
d671d7784b fix issue #995 2015-09-21 21:03:25 -04:00
jackyq2015
e0a0477f79 remove the src of freebase 2015-09-19 15:59:42 -04:00
Tom Morris
b296c29937 Call Jython Python to help users - fixes #995 2015-07-29 17:11:07 -04:00
Tom Morris
508fa6efc3 Fix character set for GData docs - fixes #1003 2015-05-15 15:54:09 -04:00
Tom Morris
28eafe7a5b Update Google client libs to current versions. Fix Spreadsheet #996 2015-05-14 20:41:03 -04:00
Tom Morris
08fde2b991 Remove dependent JARs for Freebase so they don't conflict w/gData 2015-05-14 20:34:49 -04:00
Tom Morris
9c5bc3cd2b Remove Freebase extensions from build 2015-05-14 20:32:58 -04:00
Daniel Berthereau
d1dbaa6f77 Translated into French. 2015-04-06 00:00:00 +02:00
Matthew Blissett
5cdc6d7b5a Fallback to English language to avoid need to maintain 'default' translation files. 2015-02-10 12:33:08 +00:00
Ram Ezrach
4a822d2957 Update translation-he.json 2014-12-22 20:27:39 +02:00
Tom Morris
dd32f37ab6 Improve error message via @annolangen in PR #853 2014-12-21 14:54:25 -05:00
Tom Morris
80b85dd6df Remove unused code 2014-12-21 13:15:26 -05:00
Tom Morris
c3d401d479 Fix CSV quote escaping via @annolangen from PR #853 2014-12-21 13:09:50 -05:00
Tom Morris
c4b6f824f0 Fix ClassCastException via @annolangen from PR #853 2014-12-21 13:04:56 -05:00
Tom Morris
0155a9bbee Add .gitignore files 2014-12-21 13:03:49 -05:00
Tom Morris
09f55fb436 Merge pull request #920 from opendatatrentino/fixEclipseDeps
Update deps in Eclipse projects and some jar sources
2014-12-21 12:39:43 -05:00
noamoss
68e20730da translate "gdata-import" into Hebrew 2014-12-14 21:58:16 +02:00
noamoss
147ad0d7c6 start translating "fb-schema-alignment" to Hebrew 2014-12-14 21:52:06 +02:00
David Leoni
bf60360b26 fixes language context in browser calls 2014-12-03 14:52:06 +01:00
David Leoni
ffad78c542 updated deps in Eclipse project and some jar sources 2014-12-01 16:17:25 +01:00
Tom Morris
27e775bd78 Merge pull request #848 from ultraklon/modification7
Show Align Now button - fixes #847
2014-07-03 10:39:23 -04:00
Pablo Moyano
b4e5e9698e Proposed fix for #847 2014-02-01 01:57:38 -08:00
Pablo Moyano
a1cd605968 fixing bug #799 2013-12-25 13:12:13 -03:00
Tom Morris
0abe663ec0 Fix some deprecated uses of attr(). Backward compatible to jQuery 1.6 2013-09-18 15:38:12 -04:00
Tom Morris
819b577644 Switch from dashes to underscores to keep Javascript happy - fixes #802
(also matches the style of all the other IDs)
2013-09-03 12:05:06 -04:00
Tom Morris
fcb41d7f5f Fix copy/paste error in text setup for signout button - fixes #801 2013-09-02 18:56:55 -04:00
Tom Morris
4f0e7d1641 Add missing strings to default language - fixes #797 2013-09-02 18:47:35 -04:00
Tom Morris
29eb95cba2 Exclude lib-src JARs - #792 2013-08-26 15:36:53 -04:00
Tom Morris
e98d6037cf Delete obsolete Guava JARS - #792 2013-08-26 15:34:18 -04:00
Tom Morris
eeb082b763 Merge remote-tracking branch 'origin/master' into fusiontables-migration
Conflicts:
	extensions/freebase/module/langs/translation-default.json
	extensions/freebase/module/langs/translation-en.json
	extensions/freebase/module/langs/translation-it.json
	extensions/freebase/src/com/google/refine/freebase/commands/LoadLanguageCommand.java
	extensions/gdata/module/MOD-INF/controller.js
	extensions/gdata/module/langs/translation-default.json
	extensions/gdata/module/langs/translation-en.json
	extensions/gdata/module/langs/translation-it.json
	extensions/gdata/src/com/google/refine/extension/gdata/commands/LoadLanguageCommand.java
	main/src/com/google/refine/commands/lang/LoadLanguageCommand.java
	main/src/com/google/refine/commands/lang/SetLanguageCommand.java
	main/webapp/modules/core/langs/translation-default.json
	main/webapp/modules/core/langs/translation-en.json
	main/webapp/modules/core/langs/translation-it.json
	main/webapp/modules/core/scripts/index/lang-settings-ui.js
2013-08-16 17:56:56 -04:00
Tom Morris
f3b18da0ea Line endings 2013-08-16 16:25:27 -04:00
Tom Morris
cc37c7053f Add TODO for JSONRPC replacement 2013-08-05 13:05:09 -04:00
Tom Morris
f4ff227340 Clean up localization - fixes #760, modifies pull request #755
- make all file loading relative to module base
- move core language files into appropriate place
- eliminate all SetLanguage commands and use SetPreference instead
- eliminate all LoadLanguage commands except for core's
- fix duplicate keys in JSON language files
- remove BOM from JSON language files

OPEN - task 760: Translations not being loaded from built kit 
http://github.com/OpenRefine/OpenRefine/issues/issue/760
2013-07-31 00:31:31 -04:00
Tom Morris
9450d483ce Fix up line endings 2013-07-29 15:49:20 -04:00
Tom Morris
00dd7f2bdd Merge branch 'master' into fusiontables-migration
Conflicts:
	.classpath
	extensions/gdata/module/MOD-INF/controller.js
	extensions/gdata/src/com/google/refine/extension/gdata/GDataImporter.java
2013-07-25 16:13:04 -04:00
Tom Morris
1e5f89e84c Centralize handling of import job config object & synchronize to allow
multiple accessors
2013-07-25 15:41:08 -04:00
Tom Morris
218ea46a4d Merge remote-tracking branch 'blakko/internationalization' - close #755
Conflicts:
	extensions/freebase/module/scripts/dialogs/schema-alignment/schema-alignment-dialog.html
	main/webapp/modules/core/index.vt
	main/webapp/modules/core/project.vt
	main/webapp/modules/core/scripts/project/browsing-engine.js
	main/webapp/modules/core/scripts/project/history-panel.html
2013-07-25 10:53:25 -04:00
Tom Morris
78bf52ff69 Add hyphens to camel case wiki links. Use https everywhere. fixes #757 2013-07-25 10:29:41 -04:00
Blakko
6e90bc41f6 Merge remote-tracking branch 'origin/master' into internationalization
Conflicts:
	extensions/freebase/module/scripts/dialogs/schema-alignment/schema-alignment-dialog.html
	main/webapp/modules/core/index.vt
	main/webapp/modules/core/project.vt
	main/webapp/modules/core/scripts/project/browsing-engine.js
	main/webapp/modules/core/scripts/project/history-panel.html
2013-07-25 11:07:59 +02:00
Blakko
e6e6c8c002 Added a "Language Settings" menu at index
Now the language manually set has priority over the browser lang
Update translations
2013-07-12 11:12:33 +02:00
Tom Morris
a371a9cb5d Specify target Java version for bundled extensions - addresses part
of #754
2013-07-10 15:45:25 -04:00
Blakko
23310efded Fir for a couple of freebase-extension labels 2013-07-09 16:04:13 +02:00
Blakko
0adadb55dd Fix for gdata extension 2013-07-04 11:49:59 +02:00
Blakko
6048ef29f4 Added default translation file
Fixed a wrong field
2013-06-28 14:31:24 +02:00
Blakko
696eccc872 gdata-extension internationalization 2013-06-27 17:25:53 +02:00
Blakko
3acc5291ce Freebase extension internationalized
Added IT translation
2013-06-27 12:03:51 +02:00
Tom Morris
a015b4e184 Update help links to point to new wiki. Fixes #716. 2013-06-23 15:34:47 -04:00
Tom Morris
fff8991603 Add TODO 2013-05-26 08:02:12 -04:00
Tom Morris
22a9acd04b Merge branch master 2013-04-13 19:02:20 -04:00
Tom Morris
567da6aa9f Normalize line endings
Add .gitattributes & do one-time normalization of line endings
2013-03-23 18:46:20 -04:00
Tom Morris
6b69427cbb Clean up commented out code 2013-03-18 20:20:23 -04:00
Tom Morris
c91a377eed Merge David's API key changes
- support both API key storage mechanisms for the interim
2013-03-18 17:47:50 -04:00
Tom Morris
8a8639f7aa Bump up batch size for simple recon jobs
Change GUID from 10 to 50 and keys & IDs from 10 to 40
2013-03-13 16:49:47 -04:00
Tom Morris
4074d3267c Refactor to use common mqlread code and eliminate clones 2013-03-13 16:45:37 -04:00
Tom Morris
a06e16a9e5 Update some Javascript uses to new Freebase API - part of #696 2013-03-12 17:46:18 -04:00
Tom Morris
05968e37fa Switch Add from Freebase to Google APIs - part of #696
- switch to use the Google Java client instead of handrolled requests
2013-03-12 17:38:18 -04:00
Tom Morris
757c3e32ff Centralize Google API key 2013-03-12 17:34:06 -04:00
Tom Morris
7b9f6836e1 Update key & id recon to new Freebase APIs - part of #696 2013-03-12 16:50:23 -04:00
Tom Morris
ca09ae6f90 Report Jython errors to user - addresses #694
- may need to work on the format a bit more
2013-03-06 20:38:07 -05:00
Tom Morris
975c6c85dc Replace Jython JAR with one that includes all libraries - fixes #693 2013-03-06 20:36:05 -05:00
Tom Morris
c2f2db52ab Fix issue #691 - include /common/topic properties
- Switch to new openrefine-helper app which includes /common/topic
properties in list
- Fix Suggest setup to allow /common/topic properties
2013-03-03 15:42:06 -05:00
Tom Morris
a2711e4f59 Correct Suggest property filter - fixes issue 689 2013-03-01 22:26:05 -05:00
Tom Morris
1e9a1c5f15 Merge branch 'master' into fusiontables-migration 2013-02-26 00:05:34 -05:00
Tom Morris
317bf35445 Update to Jython 2.5.3 and package everything in a single JAR 2013-02-21 12:44:47 -05:00
Tom Morris
7fb95ebbad First pass implementation of new Fusion Tables API - fixes #539 2013-02-11 16:33:51 -05:00
Tom Morris
2464421014 Update to rev 17 of Fusion Tables JARs 2013-02-11 12:36:45 -05:00
Tom Morris
092acf082a Update URLs for new Fusion Table encrypted ID format 2013-02-10 15:03:43 -05:00
Tom Morris
bf2f775c0b Migrate to OAuth2
- implement OAuth2 for both Spreadsheets & Fusion Tables
- switch cookie name from authsub_token to oauth2_token so there's no
confusion
- implementation is otherwise unchanged - in particular still uses old
Fusion Tables SQL API
2013-02-10 14:17:28 -05:00
Tom Morris
d7081415d4 Restore deprecated Fusion Tables authorization domain
- just for now until we've implemented the new support
2013-02-09 15:41:06 -05:00
Tom Morris
0c6e065ac6 Refactor GData support to separate FusionTables 2013-02-09 13:41:02 -05:00
Tom Morris
c43e106abb Add JARs for new FusionTables API and dependencies 2013-02-09 13:23:13 -05:00
Tom Morris
b33c6cc0fd Ask Freebase Suggest to fetch expected type - fixes #646
- get Suggest to fetch the expected type of property and save it so that
constraints and other operations work correctly
2013-01-05 18:22:25 -05:00
Shardul Deo
7de8773132 Properties from suggest widget don't have expected types sp use default 2012-11-19 12:42:02 +08:00
Tom Morris
0bd2104a16 Issue 630: Change branding from Google Refine to OpenRefine
** The first native Github commit (ie not one converted from SVN **
Change Google Refine to OpenRefine or just Refine.  
Change icon filenames and add some placeholder icons
2012-10-18 19:40:31 -04:00
Tom Morris
03d997be8e FIXED - task 576: Use relative paths so works under a Java server named context - patch supplied by sergio@wikier.org
http://code.google.com/p/google-refine/issues/detail?id=576

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2584 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-13 17:47:08 +00:00
Tom Morris
1bcf2899a8 FIXED - task 620: Update gdata client libs to 1.47.1
http://code.google.com/p/google-refine/issues/detail?id=620

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2577 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-12 19:42:45 +00:00
Tom Morris
8defe9ee32 FIXED - task 628: update to Freebase Suggest 4.0 - patch supplied by sdeo@google.com
http://code.google.com/p/google-refine/issues/detail?id=628

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2575 7d457c2a-affb-35e4-300a-418c747d4874
2012-10-12 18:39:05 +00:00
Tom Morris
9347d38e5e FIXED - task 608: remove unused jar
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2546 7d457c2a-affb-35e4-300a-418c747d4874
2012-09-13 18:05:56 +00:00
Stefano Mazzocchi
ba89daec1c make oauth against freebase work again in chrome
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2537 7d457c2a-affb-35e4-300a-418c747d4874
2012-08-23 20:58:08 +00:00
Tom Morris
c406876b51 Fix resource leak
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2522 7d457c2a-affb-35e4-300a-418c747d4874
2012-08-04 00:26:33 +00:00
Stefano Mazzocchi
2cb31b8b29 fixing oauth problems with redirection for the Freebase API
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2516 7d457c2a-affb-35e4-300a-418c747d4874
2012-08-01 21:46:53 +00:00
David Huynh
4cfb921082 Added getStringKey() method for when it is difficult to generate integer keys that don't collide
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2515 7d457c2a-affb-35e4-300a-418c747d4874
2012-07-19 00:25:41 +00:00
Stefano Mazzocchi
3b8701aeee further cleanup, sign.js should not contain presentation-related code
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2512 7d457c2a-affb-35e4-300a-418c747d4874
2012-07-12 01:54:24 +00:00
Stefano Mazzocchi
b634a03dbb moving the sign.js in the main refine block as this is potentially useful for all extensions that use the oauth mechanics
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2511 7d457c2a-affb-35e4-300a-418c747d4874
2012-07-12 01:52:15 +00:00
Stefano Mazzocchi
f84dcff900 moving oauth authorize and deauthrorize into the core module because they are reusable across extensions
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2505 7d457c2a-affb-35e4-300a-418c747d4874
2012-06-29 19:39:42 +00:00
Tom Morris
8dff3056e9 Issue 552 - add server libs to default build path for sample. Patch from mateja.verlic
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2477 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-16 16:37:38 +00:00
Tom Morris
cebe009e2e Convert integers to strings first so that they work as year-only dates if target type is /type/datetime
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2476 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-16 16:29:24 +00:00
Tom Morris
2acd4624cf Issue 551 - add "connect":"insert" clause for literal Freebase topics in protograph
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2475 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-16 16:23:29 +00:00
Tom Morris
00d8827d16 Refactor to break up huge method. Get rid of autogenerated comments. No functional changes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2473 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-16 13:35:00 +00:00
Tom Morris
bfc275de5f Issue 226 - Format dates as ISO 8601 for compatibility with Freebase graph
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2451 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-03 21:39:55 +00:00
Tom Morris
b784046b18 Issue 541 - add support for constraints on key queries in Freebase
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2449 7d457c2a-affb-35e4-300a-418c747d4874
2012-03-02 22:36:08 +00:00
David Huynh
4fbfd17ddf Fixed typo "cancelImportinJob".
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2440 7d457c2a-affb-35e4-300a-418c747d4874
2012-01-29 08:01:05 +00:00
Tom Morris
ae4186bde8 Issue 521 - add support for /type/rawstring when aligning to Freebase schema
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2423 7d457c2a-affb-35e4-300a-418c747d4874
2012-01-18 00:31:29 +00:00
Tom Morris
4b582f366d Issue 504 - add support for "sort" keyword in constraint
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2403 7d457c2a-affb-35e4-300a-418c747d4874
2011-12-09 22:37:15 +00:00
David Huynh
aef95e7c30 When failed to access a spreadsheet with login credentials, try to access it without.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2378 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-17 18:52:14 +00:00
David Huynh
39c6ae1b80 Consolidated the two different forms for public URLs together into one. Made sure we could still import public docs while signed in.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2377 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-17 01:32:28 +00:00
Tom Morris
c07046f542 Issue 461 - Add support for public Google Spreadsheets and ability to sign-out.
Kind of messy, but I don't think any of the previously existing functionality is broken.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2375 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-16 07:34:41 +00:00
Tom Morris
b8cc1e6c5f Remove gData URL rewriters and wire about page back up
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2372 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-12 23:16:21 +00:00
David Huynh
75f4c97bc1 Made the PC Axis importer generate completely de-normalized format.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2370 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-07 23:29:29 +00:00
David Huynh
94e0369af7 Added extension for importing PC-Axis files.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2365 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-07 07:27:35 +00:00
Stefano Mazzocchi
09889e75c5 allow people with freeq keys to load data bypassing oauth signature (whichi is poorly implemented in SignPost and consumes ridiculous amounts of memory to perform the OAuth signing).
NOTE: this is only a temporary measure while we figure out a better way to perform authorized loads

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2353 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-01 21:47:34 +00:00
Tom Morris
d4ec9f3279 Make sure writer is closed so we don't leak file handles
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2319 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-11 20:14:13 +00:00
Stefano Mazzocchi
df29c0b281 whitespace (no functional changes)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2300 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-07 19:33:28 +00:00
Stefano Mazzocchi
af5b49eab9 whitespace (no functional changes)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2299 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-07 19:25:15 +00:00
David Huynh
765fb4ea8e Use chrome frame to support IE. Also rewired gdata authentication process to support IE.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2270 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-05 04:39:42 +00:00
Tom Morris
2deae9d785 Issue 450 - Double escape our double escape so that single quotes in data don't cause uploads to fail
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2265 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-29 21:26:53 +00:00
Tom Morris
0210329e8f Issue 450 - Alert user when upload fails
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2264 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-29 21:25:27 +00:00
David Huynh
0e6c37ce35 Fixed Issue 433: Usability: use HTML <label> (e.g., for checkboxes) (for index page)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2260 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-29 05:58:02 +00:00
David Huynh
e1184003df Color-code date values in data table.
Fixed Issue 426: filter with custom facet adds zero lines choice

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2251 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-20 01:36:47 +00:00
David Huynh
4c5b2514fd Support uploading directly to a new Google Fusion table.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2244 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-16 20:59:58 +00:00
David Huynh
5c446d28d0 Support uploading directly to a new Google spreadsheet.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2243 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-16 18:04:55 +00:00
David Huynh
b585140c34 Sort FT tables to the bottom since we don't have any metadata for them.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2242 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-16 00:34:00 +00:00
David Huynh
02c58e2c56 Periodically clean up stale importing jobs to free up disk space.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2240 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-15 23:52:05 +00:00
David Huynh
0693205430 Added support for importing from fusion tables.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2239 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-15 21:40:40 +00:00
David Huynh
f7aa8c2705 Fixed styling problems introduced to previewed data table during importing stage, as introduced by recent changes to get the data table's headers stuck.
Some refactoring to gdata extension to prepare for other types of document.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2231 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-02 01:24:31 +00:00
David Huynh
680b8c989e It turned out that using the generic DocsService class to retrieve spreadsheets' feeds yields feed URLs that couldn't be used with SpreadsheetService. And we needed to use SpreadsheetService so we can retrieve row counts for worksheets. DocsService for some reason always returns zero for row count.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2200 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-12 22:31:39 +00:00
David Huynh
8ded93008a Generalized GData document listing to support other types of document in the future.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2199 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-12 21:32:45 +00:00
David Huynh
e955ed05ae Made sure busy indicator shows up for GData importing when needed.
Fixed radio button issue with GData worksheet selection.
Fixed resizing issue with open project action area.
Fixed NullPointerException in RecordModel.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2198 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-12 19:15:58 +00:00
Tom Morris
31eaea385d Update formatter preferences to match settings in formatter XML file
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2197 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-11 19:18:12 +00:00
Tom Morris
e2cfec6cf9 Specify Java 6 rather than using Eclipse-wide default
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2196 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-11 19:17:22 +00:00
Tom Morris
2f114c3134 Specify Java 6 rather than using Eclipse-wide default
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2194 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-11 19:09:56 +00:00
Tom Morris
b10b147900 Add required gdata-docs jar
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2193 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-11 19:09:14 +00:00
David Huynh
823729776d Google spreadsheets can now be imported directly from within Refine.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2192 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-11 00:35:01 +00:00
David Huynh
c42382f3ae Started deeper integration of GData: we now have a "Google Data" importing source, which lets you sign in and authorize access to your docs. It then lists all the spreadsheets you have access to. It does not yet let you import those spreadsheets.
Minor fixes to the open project action area; fixes to render relative dates properly.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2190 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-07 23:26:51 +00:00
David Huynh
bad7266534 Cleaned up code formatting in .js, .html, .vt, .css, .less files.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2185 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-04 20:37:14 +00:00
Tom Morris
da7347e7b1 Make sure all conditionals and loops are in blocks (too bug-prone otherwise)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2183 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 22:21:47 +00:00
Tom Morris
539fea6eb3 Simplify some for loops using new Java 5 syntax
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2181 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 21:17:41 +00:00
Tom Morris
97a0f2a33e Organize imports. com.google.refine last in a section of its own. Everything alphabetical in its section.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2180 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 21:10:22 +00:00
Tom Morris
fda0360f5b Make tab size the standard value of 8 spaces.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2174 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 20:54:23 +00:00
Tom Morris
7fd6e22af4 Convert tabs to spaces. No functional changes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2172 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 20:26:32 +00:00
Tom Morris
123614539d Add missing @Override annotations
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2171 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 19:30:23 +00:00
David Huynh
78edff6f7f Merged new importer UI work from branch over.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2170 7d457c2a-affb-35e4-300a-418c747d4874
2011-08-02 03:34:47 +00:00
David Huynh
0fa99d21ca More fix to issue 366, and removed a console.log debug statement
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2169 7d457c2a-affb-35e4-300a-418c747d4874
2011-07-26 18:59:01 +00:00
David Huynh
58a677bc99 Fixed first part of issue 366
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2168 7d457c2a-affb-35e4-300a-418c747d4874
2011-07-26 17:48:02 +00:00
Tom Morris
ae6ce2225c Specify character encoding for source files
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2044 7d457c2a-affb-35e4-300a-418c747d4874
2011-04-17 04:24:18 +00:00
Stefano Mazzocchi
c65627524f fixed bug in mql_key quoting with - and _ at the beginning and end of the string
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2027 7d457c2a-affb-35e4-300a-418c747d4874
2011-02-25 22:51:37 +00:00
Tom Morris
3a9ea77b5c Use actual key parsing methods to make sure we can get a key before claiming we'll be able to open a URL.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2026 7d457c2a-affb-35e4-300a-418c747d4874
2011-02-23 20:28:56 +00:00
Tom Morris
e72d590a31 Issue 334 - tighten up URL pattern matching for Google Spreadsheets & Fusion Tables
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2006 7d457c2a-affb-35e4-300a-418c747d4874
2011-02-14 22:23:48 +00:00
Tom Morris
de25ddfe41 Issue 328 - extend solution for key-based recon to guid & id recon
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1998 7d457c2a-affb-35e4-300a-418c747d4874
2011-02-04 02:08:38 +00:00
Tom Morris
cccfbf9ad8 Issue 328 - don't retry unsuccessful MQL key based reconciliation
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1997 7d457c2a-affb-35e4-300a-418c747d4874
2011-02-04 00:56:31 +00:00
Tom Morris
094a479d50 Compile using Java 1.6 since we have a dependency on it
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1994 7d457c2a-affb-35e4-300a-418c747d4874
2011-02-03 16:01:28 +00:00
David Huynh
a81dcc50cc Don't assert type /type/object as the result of any /type/object/* property.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1969 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-28 22:32:21 +00:00
David Huynh
ccc6587cdd Fixed minor bug introduced by recent check-in for asserting types in triple loader payload.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1968 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-28 19:48:08 +00:00
David Huynh
ca8f64ddc4 When generating triple loader payload, assert included, schema, and expected types for existing as well as new topics.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1963 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-27 22:57:04 +00:00
David Huynh
d5a742944e Set python.path properly from within the jython extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1920 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-21 03:05:28 +00:00
Tom Morris
ed724fd191 Fix bug causing Fusion Table rows to get imported multiple times. Initial implementation complete.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1895 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-18 08:19:57 +00:00
Tom Morris
acbed0c1ba Initial Fusion Tables implementation
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1889 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-17 08:26:46 +00:00
Tom Morris
6a68fc9da7 Issue 227 - fix comment documenting default URL for extension index page
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1887 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-17 05:31:01 +00:00
David Huynh
07db08e45e Missed one more reference to freebase-extension that should be just freebase
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1732 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-31 21:47:12 +00:00
David Huynh
c7a70333d9 Added mql key quote/unquote functions
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1693 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 22:23:04 +00:00
David Huynh
96b41450da Re-worked buttons in schema alignment dialog and added change indicator
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1687 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 20:05:48 +00:00
David Huynh
1cc2097cf1 Styling tweaks to schema alignment skeleton node dialog. Eliminated the auto create new topic option
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1628 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 02:07:09 +00:00
David Huynh
d6b1455fb2 Added help documentation links
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1626 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 01:35:00 +00:00
David Huynh
2d9e7c87f6 Increased recon batch size to 10 again. Various style tweaks. Polished up freebase extension's dialogs to be a bit more helpful
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1625 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 01:07:25 +00:00
James Home
424501ba0e UI tweaks to menu text
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1624 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-23 01:21:13 +00:00
David Huynh
8c1852914e Forgot a few logging statements.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1623 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 23:53:25 +00:00
David Huynh
d85ae8c28c Fixed bug in protograph transposer in which cells in subsequent rows of a tree-shaped record (with blank context cells) are not processed. This bug was introduced when we started to allow a protograph node to correspond to more than one column.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1621 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 21:05:06 +00:00
David Huynh
5a17acfd70 Prepended license text to java source
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1613 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 20:45:52 +00:00
David Huynh
9a96d2b8f0 Added license text to .js, .css, .less, and main .vt and .html pages
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1612 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 18:11:15 +00:00
David Huynh
6cefdaf53e Forgot to change 'freebase-extension' to just 'freebase' in a few places. Fixed issue 161: Authorize error when trying to Sign In before loading to Freebase
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1607 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-19 00:53:04 +00:00
Tom Morris
7dcd0c073d Revert bad commit r1600
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1601 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 05:19:05 +00:00
Tom Morris
79c00bab36 Incomplete - task 157: Integrate Google Spreadsheet import/export plugin
http://code.google.com/p/google-refine/issues/detail?id=157

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1600 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 04:59:39 +00:00
David Huynh
8b8e9f1c1b Made some dialogs shorter to fit smaller screens
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1594 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 02:33:52 +00:00
David Huynh
8e8231d8c6 Fixed 'are you sure?' dialog box's styling.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1583 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 19:13:34 +00:00
David Huynh
3b57c84175 Removed borders from tab panel bodies in schema alignment skeleton. Render operation index in history widget so user can refer to each operation.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1581 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 18:36:35 +00:00
David Huynh
6da68b37ef Added class 'button' to buttons.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1580 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 06:43:01 +00:00
David Huynh
a62638e88d For each recon group, try at least 3 times if the service keeps failing. Log errors more for debugging purposes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1578 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 00:19:31 +00:00
Stefano Mazzocchi
f50880905e fixed warnings
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1577 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 00:01:42 +00:00
Tom Morris
80c1e5ac97 Convert mixed Java/Javascript projects to faceted form so we can support both languages in Eclipse
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1576 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 21:42:49 +00:00
David Huynh
f232e96471 Mount jython extension at jython rather than jython-extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1575 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 20:38:24 +00:00
Tom Morris
07de9919ea Switch Java facet to Java 1.6 as well
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1574 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 20:16:55 +00:00
Tom Morris
ad06f13c16 Convert to faceted project so we can have Javascript highlighting
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1573 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 20:10:43 +00:00
Tom Morris
27ff79cad8 Use Java 1.6 for Eclipse builds
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1572 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 20:10:00 +00:00
David Huynh
e251a77077 Renamed "freebase-extension" to just "freebase".
Tried to validate literal values when generating freeq triples (e.g., so numeric years get converted into strings for /type/datetime properties).

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1562 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 07:33:34 +00:00
David Huynh
7b74a59da1 Exporters need to implement either WriterExporter or StreamExporter.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1559 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 06:18:52 +00:00
Tom Morris
2b87bbf32e Comment out unused exporter injection. Target has moved anyway
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1550 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 23:34:27 +00:00
Tom Morris
45ba2ed4b5 Comment out super secret future capability
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1548 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 21:44:07 +00:00
Tom Morris
495b3b6ec3 Rename gdata and sample extensions to drop the -extension suffix
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1544 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 21:12:44 +00:00
Tom Morris
a683f0cdc1 Drop -extension suffix
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1542 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 20:36:29 +00:00
Tom Morris
7dac05db03 Drop -extension suffix
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1541 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 20:35:16 +00:00
Tom Morris
42cd990e5a Rename gdata and sample extensions to drop the -extension suffix
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1539 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 19:59:23 +00:00
Tom Morris
60870afac3 Fix reference to grefine main
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1536 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 19:15:42 +00:00
Tom Morris
f97e443e03 build gdata-extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1535 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 19:04:29 +00:00
Tom Morris
1f1586715d Initial commit for Google Spreadsheet import/export extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1501 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 23:54:47 +00:00
David Huynh
dc49047092 We have previously changed the standard-reconcile acre app to return mids, but we still need to make sure its metadata says that its identifier space is mid, not id. And we need Refine to test for the mid identifier space as well.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1479 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 18:33:27 +00:00
David Huynh
f4ddec2da9 Forgot to update the build.xml file
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1457 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-08 22:21:04 +00:00
David Huynh
18a653de4d The class I copied over from main/ was not up to date yesterday. It missed Stefano's latest changes. So I copied the latest version from svn/main/ here and check it in.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1456 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-08 17:08:28 +00:00
David Huynh
be17d0b3b4 Extracted out Freebase related functionalities. Another check-in will remove that code from the core module
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1451 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-08 01:39:38 +00:00
Stefano Mazzocchi
565e3b6e90 adding default code style info to eclipse projects
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1356 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 22:11:38 +00:00
David Huynh
d15fe661fa Renamed in client-side code. Refine should start and existing projects should still work.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1293 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 22:55:28 +00:00
David Huynh
1367ce301e More renaming, except for: client-side code, build scripts, anything to do with data loading and QA, workspace path. Refine can still run, and undo/redo on existing projects is working.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1290 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 18:36:33 +00:00
David Huynh
edb23eb263 Changed Java packages com.google.gridworks.* to com.google.refine.* and modified other code just enough to start grefine up without error. Much remains to be done. Do not check out the code just yet.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1288 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 17:04:10 +00:00
David Huynh
a40a09b391 Renamed sub-projects as they are known to Eclipse
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1287 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 16:40:46 +00:00
David Huynh
65dbb5a2dc Removed RDF Exporter extension as its authors have agreed to host it themselves. For more information on that extension, see http://lab.linkeddata.deri.ie/2010/dcat/
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1286 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 15:49:45 +00:00
David Huynh
bd3ce8e36d Updated to include the module while registering operations.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1216 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-24 04:03:46 +00:00
David Huynh
c94abd0427 Commands are now registered in association with their modules, so to avoid name collision.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1193 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-22 06:16:13 +00:00
David Huynh
3b043b7970 Updated to use ExporterRegistry and added event methods to overlay model.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1192 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-22 05:19:29 +00:00
David Huynh
7320f65935 Removed custom module wirings in modules.properties. Renamed extension modules with -extension suffix and let them be wired up automatically.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1182 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-22 00:10:07 +00:00
Stefano Mazzocchi
096caeac7b adding ability to clean extensions as well
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1155 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-10 18:55:31 +00:00
David Huynh
dcc3ac8534 Renamed packages com.metaweb.* to com.google.*.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1130 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-03 23:01:18 +00:00
Stefano Mazzocchi
f28c1607f7 various fixes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1128 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-03 20:19:26 +00:00
David Huynh
c041a1966e Changed tabs to spaces.
Create luceneIndex directory in workspace's cache dir.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1091 7d457c2a-affb-35e4-300a-418c747d4874
2010-07-08 23:39:53 +00:00
David Huynh
89d3a2a165 Added server/lib dir to class path
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1082 7d457c2a-affb-35e4-300a-418c747d4874
2010-07-07 18:51:31 +00:00
David Huynh
f7774e9b53 Added rdf-exporter/build.xml
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1081 7d457c2a-affb-35e4-300a-418c747d4874
2010-07-07 16:31:06 +00:00
David Huynh
dda1714d17 Initial checkin.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1077 7d457c2a-affb-35e4-300a-418c747d4874
2010-07-06 22:29:25 +00:00
David Huynh
c9aecc016a Fixed paths in build.xml files so a fresh checkout would build now (Issue 79)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1012 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 20:27:04 +00:00
David Huynh
df6a62a2cf Remove extensions/jython/jython/, which has already been replaced by extensions/jython/module/; same for extensions/sample-extension/sample-extension/. Added build.xml for extensions/ and made the root build.xml file call all the extension build.xml files. Updated extensions' module.properties files to require the core module.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1005 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-20 00:44:06 +00:00
Stefano Mazzocchi
58906df7ff fixed classpath
git-svn-id: http://google-refine.googlecode.com/svn/trunk@997 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:39:45 +00:00
Stefano Mazzocchi
ba60780fa3 avoid the double naming problem in modules
git-svn-id: http://google-refine.googlecode.com/svn/trunk@996 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:32:12 +00:00
Stefano Mazzocchi
1418a5dd09 add names to the modules
git-svn-id: http://google-refine.googlecode.com/svn/trunk@995 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:31:44 +00:00
Stefano Mazzocchi
4a94c22412 Eclipse was complaining about the @override
git-svn-id: http://google-refine.googlecode.com/svn/trunk@993 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:31:32 +00:00
David Huynh
0fedad047b Renamed projects to remove spaces in their names.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@987 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-16 20:23:56 +00:00
David Huynh
1f67cca3eb Added Java code to sample extension.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@979 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-16 00:09:12 +00:00
David Huynh
ffbe7c9c76 Fixed up reference to moved jars.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@978 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:42:26 +00:00
David Huynh
0bdd2cfe96 Renamed module subdir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@977 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:41:04 +00:00
David Huynh
6a3da4116a Sample extension is wired up properly now.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@976 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:33:15 +00:00
David Huynh
aeb320b97c Renamed module subdir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@975 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:26:49 +00:00
David Huynh
7ba97c61ad More work on the sample extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@974 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 23:21:08 +00:00
David Huynh
b5228f9c58 Started adding a sample extension.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@968 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 17:46:30 +00:00
David Huynh
f7fe44dccc Converted project.html to project.vt and added a client side resource manager, where extensions can register scripts and styles to be included in .vt files
git-svn-id: http://google-refine.googlecode.com/svn/trunk@965 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-15 00:35:23 +00:00
David Huynh
3f58d88922 Yet a lot more python files that somehow svn just refused to add
git-svn-id: http://google-refine.googlecode.com/svn/trunk@962 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:59:17 +00:00
David Huynh
7767536292 Lots more python files that somehow svn just refused to add
git-svn-id: http://google-refine.googlecode.com/svn/trunk@961 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:53:02 +00:00
David Huynh
2acda17f39 More files to commit for jython extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@959 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:28:48 +00:00
David Huynh
2a11f716c7 Added extensions directory with the jython extension to start
git-svn-id: http://google-refine.googlecode.com/svn/trunk@958 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-14 21:22:04 +00:00