Commit Graph

1420 Commits

Author SHA1 Message Date
Antonin Delpeuch
75900138dd Revert "Accept empty string for the limit in a reconciliation config"
This reverts commit 8c8b091adc.
2018-03-04 22:41:44 +00:00
Antonin Delpeuch
8c8b091adc Accept empty string for the limit in a reconciliation config 2018-03-04 00:50:04 +00:00
Jacky
1866f9691d pass the limit as int from javascript 2018-03-04 00:49:55 +00:00
Antonin Delpeuch
b373ab6d0d
Revert "pass the limit as int from javascript" 2018-03-02 23:46:41 +00:00
Jacky
973b7b5f21 pass the limit as int from javascript 2018-03-02 17:09:33 -05:00
Jacky
23ec54b78f support project backward compatibility to old version of OpenRefine 2018-02-28 20:16:29 -05:00
Jacky
54553da733
Merge pull request #1518 from OpenRefine/issue/1509
Fix issue #1509
2018-02-28 19:42:07 -05:00
Jacky
8dfd7588a8
Merge pull request #1523 from OpenRefine/issue/1517
fix issue #1517, limit is written as int and should have been read as int
2018-02-28 19:41:44 -05:00
Emmarie Bucog
a607176891 Translated using Weblate (Cebuano)
Currently translated at 100.0% (677 of 677 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ceb/
2018-02-27 08:43:36 +01:00
Jacky
ab26bf4a27 fix issue #1517, limit is writen as int and should have been read as int 2018-02-25 17:22:34 -05:00
Jacky
73c5c640cc tidy up import 2018-02-25 15:43:37 -05:00
Jacky
036866837a add UT for issue #1509 2018-02-25 15:31:59 -05:00
Jacky
32c5838a8d
Fix issue #1509 2018-02-23 11:15:56 -05:00
Weblate
41f4b70bb1 Merge remote-tracking branch 'origin/master' 2018-02-22 10:49:53 +01:00
Antonin Delpeuch
3dcb3f1faf
Merge pull request #1515 from ostephens/conversions
Conversions
2018-02-22 09:49:49 +00:00
Weblate
3ec06ef3b2 Merge remote-tracking branch 'origin/master' 2018-02-22 10:48:33 +01:00
Isao Matsunami
b01fdab1ad Translated using Weblate (Japanese)
Currently translated at 100.0% (677 of 677 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-02-22 10:48:32 +01:00
Emmarie Bucog
cbed4c67e7 Translated using Weblate (Cebuano)
Currently translated at 15.3% (104 of 677 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ceb/
2018-02-22 10:48:31 +01:00
Antonin Delpeuch
d798e4b071
Merge pull request #1465 from isaomatsunami/master
fixing layout
2018-02-22 09:48:23 +00:00
Antonin Delpeuch
55e8c45ea6 Translated using Weblate (Cebuano)
Currently translated at 1.4% (10 of 677 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ceb/
2018-02-22 02:04:59 +01:00
Owen Stephens
fad40041ca Use look up for function name 2018-02-21 23:20:47 +00:00
Owen Stephens
24f1923ff4 Return errors not nulls when: wrong number of arguments supplied; first argument zero length/empty string 2018-02-21 23:20:15 +00:00
Owen Stephens
5aaf4362b0 Return errors not nulls when: wrong number of arguments supplied; first argument zero length/empty string 2018-02-21 23:19:54 +00:00
Owen Stephens
2758633f32 Update toDate and toNumber tests to handle null and empty strings correctly 2018-02-21 23:10:38 +00:00
Isao Matsunami
472fdb2cd1 Translated using Weblate (Japanese)
Currently translated at 100.0% (677 of 677 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-02-21 18:31:40 +01:00
Weblate
b642498954 Merge remote-tracking branch 'origin/master' 2018-02-21 17:43:57 +01:00
Emmarie Bucog
482cd13207 Translated using Weblate (Cebuano)
Currently translated at 1.4% (10 of 676 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ceb/
2018-02-21 17:43:55 +01:00
Antonin Delpeuch
979058579a
Merge pull request #1500 from ostephens/blank-out
Blank out
2018-02-21 16:43:51 +00:00
Emmarie Bucog
c55bf4f7bf Added translation using Weblate (Cebuano) 2018-02-21 15:35:20 +01:00
VINCENT ROSELL
89147bd794 Translated using Weblate (Tagalog)
Currently translated at 100.0% (676 of 676 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/tl/
2018-02-21 12:05:24 +01:00
vinzruzell
f8e828148f Translation-tl.json
Hi. This is my Partial Tagalog Translation for translation-tl.json file.
I translated 299 strings (44.2 %) out of 676 strings.
I translated 1122 words out of 2508 words.
2018-02-19 15:42:28 +00:00
Owen Stephens
731e1310c6 Stripping stuff we don't need out of the tests 2018-02-19 13:42:45 +00:00
Owen Stephens
c172e2d66d Updated translations 2018-02-19 09:09:20 +00:00
Owen Stephens
a8b5052b00 Add "Blank out cells (empty string)" to common transformations menu 2018-02-18 23:35:00 +00:00
Owen Stephens
0cff8a5c6c Make explict that 'Blank out cells' option sets cells to null 2018-02-18 23:26:50 +00:00
Owen Stephens
d2687cc58a Treat null and empty string as different values when doing transforms 2018-02-18 23:19:28 +00:00
Owen Stephens
566f2b792b Use white-space: pre-wrap style to ensure whitespace in cells, facets and transformation previews shows exactly as in the underlying data 2018-02-17 15:08:44 +00:00
Owen Stephens
8dec08aad3 Changed label of 'blank out cells' to 'set cells to null' where English label is used 2018-02-16 23:40:44 +00:00
Joanne
e0d87c3d94 Update tests to match updated range function 2018-02-16 15:13:37 +00:00
Joanne
41e8c0beee Update range function to return Integer arrays 2018-02-16 15:13:37 +00:00
Joanne
01d8e458f4 Update tests to match updated range function 2018-02-16 15:13:37 +00:00
Joanne
35c991d9c2 Update range function to follow Python's range function 2018-02-16 15:13:37 +00:00
Joanne
e2793daf54 Update tests for improved range function 2018-02-16 15:13:37 +00:00
Joanne
03d80598aa Update range function to include step ability 2018-02-16 15:13:37 +00:00
Joanne
d95f5985b9 Add tests for range function 2018-02-16 15:13:37 +00:00
Joanne
bd2c4348fe Implement main logic for range function 2018-02-16 15:13:37 +00:00
Joanne
41f2a27a66 Register range function 2018-02-16 15:13:37 +00:00
Joanne
6cc2a1d353 Implement main logic behind range function 2018-02-16 15:13:37 +00:00
Isao Matsunami
95d50fb010 Translated using Weblate (Japanese)
Currently translated at 100.0% (676 of 676 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-02-12 13:27:20 +00:00
Flavio Pompermaier
45de36901e Translated using Weblate (Italian)
Currently translated at 97.6% (660 of 676 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/it/
2018-02-12 13:27:20 +00:00
John Carl Saducas
5c16248a81 Translated using Weblate (Filipino)
Currently translated at 100.0% (676 of 676 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fil/
2018-02-12 13:27:20 +00:00
John Carl Saducas
0615066140 Translated using Weblate (Filipino)
Currently translated at 0.1% (1 of 676 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fil/
2018-02-12 13:27:20 +00:00
Martin Magdinier
9b453eb504 Added translation using Weblate (Filipino) 2018-02-12 13:27:20 +00:00
Isao Matsunami
cef32365be Translated using Weblate (Japanese)
Currently translated at 100.0% (676 of 676 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-02-12 13:27:20 +00:00
Antonin Delpeuch
2e96a54fa2 Translated using Weblate (French)
Currently translated at 97.6% (659 of 675 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/
2018-02-12 13:27:20 +00:00
Thad Guidry
d5b589fb1b
Merge pull request #1454 from joanneong/update-logo
Update OpenRefine logo
2018-02-09 09:29:28 -06:00
isaomatsunami
91c6c6c791 fix layout 2018-02-09 03:53:11 +09:00
Joanne
b02404d308 Delete old logos and rename new logos 2018-02-08 13:04:35 +08:00
Joanne
56a455b6be Rename new OpenRefine logo files 2018-02-08 11:23:03 +08:00
Joanne
8acca669ce Update OpenRefine logos for UI 2018-02-08 11:22:20 +08:00
Joanne
712aa37499 Delete unwanted new logos 2018-02-08 11:08:59 +08:00
Owen Stephens
0d04a25cf1
Merge pull request #1450 from OpenRefine/issue1448
Make Wikitext importer more robust
2018-02-07 17:41:23 +00:00
Joanne
653ea60dbc Update favicon for OpenRefine 2018-02-06 19:56:25 +08:00
Joanne
ee96bf62ff Add new favicon image 2018-02-06 19:56:11 +08:00
Joanne
8a89cb6dfc Add new logo images to OpenRefine 2018-02-06 19:52:06 +08:00
Joanne
3e27182090 Update logo for error page 2018-02-06 19:51:51 +08:00
Joanne
6ea582eb9b Update logo for preferences 2018-02-06 19:51:33 +08:00
Joanne
0cdd101ca0 Update logo for about page 2018-02-06 19:48:07 +08:00
Joanne
a46f28b596 Update logo for project page 2018-02-06 19:45:16 +08:00
Joanne
5b65b0927f Update logo for sidebar 2018-02-06 19:42:10 +08:00
Joanne
591a7db416 Update logos on index page 2018-02-06 19:18:47 +08:00
Antonin Delpeuch
f5ff5565ff Cleanup for Codacy and better parsing of quote character 2018-02-03 16:37:15 +00:00
Antonin Delpeuch
a89bbcbbe2 Add missing method removed during merge 2018-02-03 14:29:24 +00:00
Thad Guidry
a191d13b14
adding missing StringUtils import 2018-02-03 07:26:47 -06:00
Thad Guidry
c83dbe3b23
Merge branch 'master' into stundzig-develop/1086-quotecharacter 2018-02-03 07:20:45 -06:00
Antonin Delpeuch
86be1c12e8 Expose quote character setting in UI 2018-02-03 09:01:07 +00:00
Antonin Delpeuch
dc4815ba7b Fix initial options for the quote character 2018-02-03 09:00:53 +00:00
Antonin Delpeuch
c9395d564c Merge branch 'develop/1086-quotecharacter' of https://github.com/stundzig/OpenRefine into stundzig-develop/1086-quotecharacter 2018-02-03 07:56:30 +00:00
Isao Matsunami
adf015c9ed Translated using Weblate (Japanese)
Currently translated at 100.0% (675 of 675 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-02-02 15:24:40 +01: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
47f44b06c4 Make Codacy happy 2018-02-02 11:57:20 +00:00
Antonin Delpeuch
1f87a26f4c Include image file names like templates in Wikitable importer 2018-02-02 11:22:15 +00:00
Antonin Delpeuch
843641ca74 Parse headers just like other cells in Wikitable importer
This makes the column names a bit less meaningful,
but this is necessary to handle cases where headers
are inserted anywhere in the table.
2018-02-02 10:48:31 +00:00
Owen Stephens
cd58557424
Merge pull request #1428 from OpenRefine/issue1351
Fix overflow issue in data extension dialog
2018-01-31 13:17:51 +00:00
Antonin Delpeuch
0426704938 Add helper createProjectWithColumns 2018-01-27 13:58:06 +00:00
Antonin Delpeuch
feae25a5ff Migrate more tests to the createCSVProject helper 2018-01-27 13:45:44 +00:00
Antonin Delpeuch
8f9fc61046 Migrate TextSearchFacetTests.java to use the helpers 2018-01-27 13:45:44 +00:00
Antonin Delpeuch
5278e929a2 Refactor CrossFunctionTests' project creating logic into RefineTest 2018-01-27 13:45:44 +00:00
Isao Matsunami
b6521e91e5 Translated using Weblate (Japanese)
Currently translated at 100.0% (671 of 671 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/
2018-01-26 19:45:51 +01:00
Owen Stephens
c0fda7de8c Removed h3 tag and related styling 2018-01-17 09:56:11 +00:00
Owen Stephens
af3aa44e6c Tidy up for codacy 2018-01-16 18:27:13 +00:00
Owen Stephens
9cf379e625 Add show/hide toggle and some style adjustments 2018-01-16 17:43:55 +00:00
Owen Stephens
a9be18d9df Remove div no longer needed 2018-01-16 17:43:55 +00:00
Owen Stephens
91edc810a7 Removed unused code 2018-01-16 17:43:55 +00:00
Owen Stephens
f1d23f9e3b Add/update text strings 2018-01-16 17:43:55 +00:00
Owen Stephens
4320ef8c10 Resolved merge conflict 2018-01-16 17:41:56 +00:00
Owen Stephens
5acdb1429c Fix tests - Include new httpHeaders JSON array when creating new ColumnAdditionByFetchingURLsOperation 2018-01-16 17:22:48 +00:00
Owen Stephens
7464e83766 Get and set any http headers submitted when using Add Column by Fetching URLs 2018-01-16 16:54:11 +00:00
Owen Stephens
4fb1867980 Option to add http headers in Add column by fetching URLs - support adding list of headers in backend, and exposing these in UI for user to edit and use 2018-01-16 16:54:11 +00:00
Owen Stephens
34e83fa98c Initial work to add option to set http headers in Add column by fetching URLs 2018-01-16 16:54:11 +00:00