Commit Graph

1306 Commits

Author SHA1 Message Date
Owen Stephens
cc71f7f64f Remove qaResult option from backend 2017-12-04 09:45:24 +00:00
xseris
f21230804b Fixed Mockito tests 2017-12-01 17:00:45 +01:00
Owen Stephens
02f864121d Removed unused variable 2017-11-29 11:01:43 +00:00
Owen Stephens
0c97ad1b69 Use string instead of string buffer 2017-11-29 09:47:31 +00:00
Owen Stephens
93431daecf Remove unused variable 2017-11-29 09:47:03 +00:00
Owen Stephens
316da5e917 Removed comment no longer needed 2017-11-29 01:00:19 +00:00
Owen Stephens
0b433fc5ec Updated copyright statement 2017-11-29 00:59:49 +00:00
Owen Stephens
1d1f3e67cd Added break statement for default case 2017-11-29 00:58:51 +00:00
Owen Stephens
21741ad09e Pass user friendly error message to UI on invalid regular expression 2017-11-28 16:22:17 +00:00
Owen Stephens
d64dee71dd Extended tests and code for user friendly regular expression syntax errors 2017-11-28 16:20:24 +00:00
xseris
d2648d8db8 Fix tests 2017-11-28 00:16:08 +01:00
xseris
cecbfb486b Remove delete all projects option 2017-11-24 20:29:09 +01:00
xseris
a3132eeeb3 implemented tag system 2017-11-24 20:19:49 +01:00
Owen Stephens
441d9f7f10 Initial tests and code for user friendly regular expression syntax errors 2017-11-24 18:24:16 +00:00
xseris
4f67c632d0 delete all projects 2017-11-23 17:36:46 +01:00
Qi Cui
ffbc6879ce preview stage won't have the metadata populated, so protect NPE 2017-11-18 23:02:06 -05:00
Qi Cui
ae9e0af8b9 bump to version 2.8 2017-11-18 14:15:10 -05:00
Thad Guidry
daca1836e9
Merge pull request #1342 from jackyq2015/feature/metadata
fix the row count refresh issue.  We'll work on adding a Delete Metadata option in the next milestone.
2017-11-18 08:30:32 -06:00
Jacky
4e79c0d410 fix typo 2017-11-17 22:55:16 -05:00
Thad Guidry
8837f3df73
Merge pull request #1339 from jackyq2015/issue/1332
to adjust the width of transform dialog. issue #1332
2017-11-17 21:29:25 -06:00
Jacky
b83961d2c6 cosmatic changes for codacy 2017-11-17 17:14:19 -05:00
Jacky
428d944e4d move the log message 2017-11-17 16:58:30 -05:00
Jacky
c32f6329d2 extract method 2017-11-17 16:52:26 -05:00
Jacky
8187799f85 fix the row count refresh issue 2017-11-17 14:38:02 -05:00
Jacky
bd07fe0e1a to adjust the width of transform dialog. issue #1332 2017-11-17 08:56:30 -05:00
Thad Guidry
34f38ccaf8
Merge pull request #1336 from ostephens/multi-cell-join-tests
Add tests for JoinMultiValuedCells
2017-11-16 22:49:03 -06:00
Thad Guidry
43b6cb8001
Merge pull request #1333 from jackyq2015/feature/metadata
check if the project has the userMetadata
2017-11-16 22:17:14 -06:00
Jacky
8d2c8b521b
Merge pull request #1334 from jackyq2015/issue/1328
fix import multiple excel with mulitple sheets issue #1328
2017-11-16 21:30:24 -05:00
Jacky
b3cb7d4bf3 fix the no-undef issue 2017-11-16 16:24:31 -05:00
Jacky
e07b1859db replace _ with variable for exception 2017-11-16 15:55:14 -05:00
Jacky
46318a9bc4 prevent the same key for user metadata 2017-11-16 15:17:51 -05:00
Jacky
1d2998f374 fix the unit test
support multi files with multi tables for open office
2017-11-16 10:29:16 -05:00
Owen Stephens
df920777ac Moved variable to local scope 2017-11-16 12:47:05 +00:00
Antonin Delpeuch
78b7f01be5
Merge pull request #1327 from ostephens/invert-filter
Invert text search facet/text filter
2017-11-16 08:05:31 +00:00
Jacky
1ad40bcd83 check if the project has the userMetadata 2017-11-15 23:20:44 -05:00
Jacky
6f42df95e2 fix import multiple excel with mulitple sheets issue #1328 2017-11-15 22:58:47 -05:00
Thad Guidry
ffeb30c847
Merge pull request #1331 from jackyq2015/feature/metadata
let the browser auto fit the table cell when resizing/zooming
2017-11-15 21:42:01 -06:00
jackyq2015
c2db998b93 let the browser auto fit the table cell when resizing/zooming 2017-11-15 16:17:57 -05:00
Owen Stephens
742b42ade1 More code tidy up 2017-11-15 19:01:52 +00:00
Owen Stephens
2d0f48e93f Corrections for Codacy 2017-11-15 18:51:58 +00:00
Owen Stephens
3a31e69c2b Added Tests for TextSearchFilter 2017-11-15 18:31:55 +00:00
Owen Stephens
319b6bcca5 Tidying up for Codacy 2017-11-15 18:31:41 +00:00
Thad Guidry
b496b0b374
Merge pull request #1329 from jackyq2015/feature/metadata
add tests for SetProjectMetadataCommand
2017-11-15 08:58:49 -06:00
Qi Cui
6bdba6948e add tests for SetProjectMetadataCommand 2017-11-14 15:54:22 -05:00
Owen Stephens
7ba110e31a More succinct return statements 2017-11-14 17:40:07 +00:00
Owen Stephens
25dd347123 Fix reset on text search facet 2017-11-14 14:37:16 +00:00
Owen Stephens
135052d033 Backend support for Inverting Text search facets 2017-11-14 14:24:50 +00:00
Owen Stephens
ae6e8bed86 Add UI for Invert text filter 2017-11-14 13:51:42 +00:00
Jacky
850b861acb
Merge pull request #1324 from jackyq2015/feature/metadata
remove the rename link
2017-11-14 08:08:18 -05:00
Antonin Delpeuch
690ba49f53 Ignore empty language files introduced by Weblate 2017-11-14 09:40:20 +00:00
Jacky
e65a8c1d9a remove the rename link 2017-11-13 15:28:44 -05:00
José Vitor Hisse
62be866a9f Added translation using Weblate (Portuguese (Brazil)) 2017-11-12 20:28:59 +01:00
Jacky
cd94d4baad shorten the ISO date to locale date format 2017-11-11 21:15:44 -05:00
Jacky
d1e9ab9135 UI tuning for metadata view 2017-11-11 09:43:21 -05:00
Jacky
a53467f2cb remove the date field in metadata 2017-11-09 22:29:08 -05:00
Jacky
e8f133887e UI improvement on metadata view and project list view 2017-11-09 16:23:29 -05:00
Jacky
428f7dabf8 change the filed name from rowNumber to rowCount 2017-11-08 20:40:22 -05:00
Jacky
31943f6c9f change MetaData to Metadata 2017-11-08 20:30:01 -05:00
Jacky
fc2f81046f adjust the width of the table 2017-11-08 17:49:49 -05:00
Jacky
e958dfc4c2 disable editing the internal metadata 2017-11-05 10:41:17 -05:00
Jacky
facffdca37 remove sorter arrow for action columns 2017-11-05 10:20:15 -05:00
Jacky
9a93ab091d prevent overflow of the project index 2017-11-05 10:01:44 -05:00
Jacky
c08b0f589a add isoDateParser to sort the date 2017-11-05 09:49:58 -05:00
Jacky
a39ee108ac prevent overflow of the table. issue #1306 2017-11-04 23:57:29 -04:00
Jacky
d086b8356a fix 'last modified' sorting issue #1307 2017-11-04 22:53:32 -04:00
Jacky
51691fc06d handle the empty user metadata 2017-11-04 19:07:09 -04:00
Jacky
cbc9929b92 add preferences link to the index page 2017-11-04 17:09:04 -04:00
Jacky
d9995ba259 fix issued from codacy 2017-11-03 20:12:57 -04:00
Jacky
a204809f3d fix issued from codacy 2017-11-03 19:46:07 -04:00
Jacky
acf6460ea2 remote extra ; 2017-11-03 17:48:28 -04:00
Jacky
12c5839600 use the explicit scoping 2017-11-03 17:47:18 -04:00
Jacky
986881b10f remove the _ from the method name 2017-11-03 17:39:49 -04:00
Jacky
75b82106b4 fix the package declarations 2017-11-03 17:11:31 -04:00
Jacky
3a3083a1de Merge branch 'master' of https://github.com/OpenRefine/OpenRefine 2017-11-03 17:04:48 -04:00
Jacky
c472cd0c1b add tablesorter to sort the project index 2017-11-03 17:00:18 -04:00
Jacky
edc3df1ad1 populate the row number.\n sort the project index 2017-11-03 16:59:03 -04:00
Jacky
68bf4f962c adjust the width 2017-10-29 14:14:39 -04:00
Jacky
1777a6ecf3 edit the user metadata 2017-10-29 13:46:37 -04:00
Jacky
88f6e1b8d1
Merge pull request #1293 from ostephens/fix-regex-filter-error
Fix regex filter error
2017-10-27 19:22:47 -04:00
Jacky
384e69aa5f add i18n for metadata edit dialog 2017-10-27 17:04:39 -04:00
Jacky
7c83746ee7 deal with empty string properly 2017-10-27 16:59:55 -04:00
Owen Stephens
98f37905d7 More minor syntax changes to make Codacy a little happier 2017-10-27 12:22:01 +01:00
Owen Stephens
f5e4420af9 Minor syntax change for Codacy 2017-10-27 11:47:59 +01:00
Owen Stephens
e4bdca9c95 Catch and display errors on compute-facet 2017-10-27 10:59:03 +01:00
Owen Stephens
178e4e5bca On invalid regular expression, keep all current rows displayed in data-table view 2017-10-27 10:55:32 +01:00
Owen Stephens
e4db4d7633 Catch error from server when invalid Regular Expression used in Text Filter 2017-10-27 10:53:27 +01:00
Thad Guidry
d72a2de348 Revert "Extend cross() function to support multiple-value-cell-input" 2017-10-26 17:37:10 -05:00
Jacky
6a47482ea4 support metadata edit 2017-10-26 15:47:24 -04:00
Jacky
249fa4d8d5 support metadata edit 2017-10-26 15:45:58 -04:00
Thad Guidry
3d0e96a0ce Merge pull request #1290 from claussni/cross-func-split
Extend cross() function to support multiple-value-cell-input
2017-10-26 14:23:23 -05:00
Ralf Claussnitzer
0b107ec5e9 Add optional 4th parameter to cross() function
The cross function now accepts a 4th parameter defining a regular
expression separator for splitting multi-value field values when joining
projects.

See https://github.com/OpenRefine/OpenRefine/issues/1204#issuecomment-326320954
2017-10-26 19:50:02 +02:00
Ralf Claussnitzer
9aa168633f Allow comma separated multi-value source in cross() function
Implements support for comma separated multiple-value keys for joining
another project using the cross() function.

See https://github.com/OpenRefine/OpenRefine/issues/1204#issuecomment-326320954
2017-10-26 19:50:02 +02:00
Jacky
cf3cf5d681 Merge pull request #909 from fluf1024/post-scripts
Allow longer expressions by sendig them as POST
2017-10-25 11:18:42 -04:00
Owen Stephens
c10f72437f Add tests for JoinMultiValuedCells 2017-10-25 11:15:59 +01:00
Antonin Delpeuch
88b10a2917 Merge pull request #1278 from ostephens/cell-split-regex
Cell split regex
2017-10-25 11:04:33 +01:00
Owen Stephens
300edcca74 Minor fix to comment in code 2017-10-24 08:58:32 +01:00
Owen Stephens
219e747147 Removed unused dependency 2017-10-24 08:54:58 +01:00
Owen Stephens
209500bf3a Add tests for SplitMulitValuedCells 2017-10-24 08:29:00 +01:00
Owen Stephens
224210625d Remove automatic trim of split values 2017-10-24 08:28:37 +01:00
Owen Stephens
bb6b3d6c29 Re-locate operations tests in correct folder 2017-10-23 18:54:59 +01:00
Antonin Delpeuch
233cc9650b Merge pull request #1283 from remram44/remove-old-jquery
Remove jQuery 1.9.1, unused
2017-10-23 19:30:58 +02:00
Remi Rampin
fd971077bf Remove jquery 1.9.1, unused 2017-10-23 13:07:46 -04:00
Remi Rampin
f489701737 Add license header for i18n library 2017-10-23 12:58:51 -04:00
Antonin Delpeuch
e5a831b18c Merge branch 'master' of https://github.com/OpenRefine/OpenRefine 2017-10-23 17:12:23 +02:00
Antonin Delpeuch
6a67f63c82 Remove empty translation (as it generates exceptions in OpenRefine) 2017-10-23 17:11:26 +02:00
Remi Rampin
6a9694d622 Fix some French translations 2017-10-23 10:51:07 -04:00
Owen Stephens
b378dea417 Minor syntax fix 2017-10-23 08:54:26 +01:00
Owen Stephens
47520d4a71 Minor fixes to syntax 2017-10-23 08:36:08 +01:00
Owen Stephens
46c3ec100e Remove unused local variables and imports 2017-10-23 08:36:08 +01:00
Antonin Delpeuch
23b643426a Fix Codacy warnings in MultiValuedCellSplitOperation 2017-10-23 08:41:14 +02:00
Owen Stephens
cccf1e55c9 Update split multi-valued cells to support split by regex and split by lengths 2017-10-22 23:54:18 +01:00
Owen Stephens
6fb7f1f476 Add UI for split multi-valued cells by sep/regex/length 2017-10-22 23:53:18 +01:00
Jacky
63c1714d0a add fields for metadata 2017-10-22 00:37:59 -04:00
Jacky
f1ab6b8cd6 Merge branch 'master' of https://github.com/OpenRefine/OpenRefine 2017-10-21 23:49:58 -04:00
Jacky
818e139b43 add the import options to metadata 2017-10-21 23:41:11 -04:00
Antonin Delpeuch
e5fdf48680 Fix french translation 2017-10-21 01:51:37 +01:00
Antonin Delpeuch
21f4d62474 Merge pull request #1275 from OpenRefine/wikitext-url-fix
Forbid pipe characters in URL references to ease parsing.
2017-10-20 16:41:00 +02:00
Antonin Delpeuch
686e635c93 Merge branch 'master' into topic-item 2017-10-20 15:38:47 +01:00
Antonin Delpeuch
e2a22a6994 Forbid pipe characters in URL references to ease parsing.
This is a temporary fix before we do full Wikitext parsing inside references
(this needs a change upstream). See https://github.com/sweble/sweble-wikitext/issues/67 .
2017-10-20 15:32:58 +01:00
Weblate
0cdb47a050 Merge remote-tracking branch 'origin/master' 2017-10-19 18:59:07 +02:00
Antonin Delpeuch
f36eb1558c Translated using Weblate (French)
Currently translated at 100.0% (648 of 648 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/
2017-10-19 18:59:07 +02:00
Antonin Delpeuch
4e2241de5b Fix duplicate item in Reconcile > Actions menu. Closes #1272. 2017-10-19 16:43:55 +01:00
Allan Nordhøy
641ff716a9 Added translation using Weblate (Norwegian Bokmål) 2017-10-19 12:15:15 +02:00
Antonin Delpeuch
54acf10edf Change "topic" to "item" in the UI 2017-10-18 12:39:40 +01:00
Mathieu Saby
c7b3a5ffe4 Translated using Weblate (French)
Currently translated at 100.0% (648 of 648 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/
2017-10-17 22:45:56 +02:00
Matthias Findeisen
724428aebf Translated using Weblate (German)
Currently translated at 14.0% (91 of 648 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/de/
2017-10-15 18:46:53 +02:00
Antonin Delpeuch
473b1b135d Merge pull request #1264 from OpenRefine/issue1262
Update Jackson to 2.9.1
2017-10-09 20:09:49 +02:00
Antonin Delpeuch
c9cc4fb262 Update Jackson to 2.9.1
Closes #1262
2017-10-09 17:38:09 +01:00
Owen Stephens
bb6b8378d3 Ensure _max is never less than _min 2017-10-09 17:13:43 +01:00
Antonin Delpeuch
4036f3ff91 Merge pull request #1257 from OpenRefine/issue1256
Perform ASCII normalization earlier in FingerprintKeyer.
2017-09-27 17:54:43 +02:00
Owen Stephens
4f6284032f Code tidy + set link to new version to open in new browser tab 2017-09-27 12:22:59 +01:00
Owen Stephens
b88263bd74 Fixes as per PR comments 2017-09-27 11:47:07 +01:00
Owen Stephens
e482878596 Alert user if more recent version available from github 2017-09-27 11:00:47 +01:00
Antonin Delpeuch
1da3c00cb1 Perform ASCII normalization earlier in FingerprintKeyer.
This closes #1256.
2017-09-27 09:23:40 +01:00
Antonin Delpeuch
8e9b224730 Translated using Weblate (French)
Currently translated at 100.0% (648 of 648 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/
2017-09-24 10:25:23 +02:00
Antonin Delpeuch
5d387b1df8 Small tweaks to the wiki importer 2017-09-24 09:14:13 +01:00
Antonin Delpeuch
cfc0b95cd1 Fix string comparison in Wikitext exporter 2017-09-23 23:13:18 +01:00
Antonin Delpeuch
a1b2c9b683 Add support for references in Wikitable importer.
Closes #1243.
2017-09-23 22:54:43 +01:00
Antonin Delpeuch
9f62905be4 Merge pull request #1251 from OpenRefine/issue1106
Fix overflow of history items outside the window.
2017-09-20 15:22:55 +02:00
Antonin Delpeuch
2058081ffb Fix overflow of history items outside the window. Closes #1106. 2017-09-20 10:08:03 +01:00
Antonin Delpeuch
49564e8905 Fix bug when an extra column starts in the middle of the table 2017-09-19 13:54:27 +01:00
Emelyanov Michael
94fc4caba6 Translated using Weblate (Russian)
Currently translated at 100.0% (647 of 647 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ru/
2017-09-02 15:48:51 +02:00
Antonin Delpeuch
8bc73dc886 Translated using Weblate (English)
Currently translated at 100.0% (647 of 647 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/en/
2017-09-01 19:06:11 +02:00
Emelyanov Michael
3188140700 Translated using Weblate (Russian)
Currently translated at 100.0% (647 of 647 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ru/
2017-08-29 10:45:07 +02:00
Antonin Delpeuch
a72f5ab3fe Translated using Weblate (French)
Currently translated at 100.0% (647 of 647 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/fr/
2017-08-28 18:20:13 +02:00
Antonin Delpeuch
249d8f9fa5 Merge branch 'master' of ssh://github.com/OpenRefine/OpenRefine 2017-08-28 16:29:21 +01:00
Antonin Delpeuch
00f8e4fc6b Merge pull request #1237.
Conflicts:
	.classpath
	main/webapp/modules/core/langs/translation-en.json
	main/webapp/modules/core/scripts/dialogs/extend-data-preview-dialog.js

Closes #363 and #56.
2017-08-28 16:25:50 +01:00
Antonin Delpeuch
c66e609b1d Cleanup wikitext PR for Codacy 2017-08-26 21:50:02 +01:00
Emelyanov Michael
b69cfe84cd Translated using Weblate (Russian)
Currently translated at 100.0% (643 of 643 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ru/
2017-08-26 11:25:45 +02:00
Antonin Delpeuch
0a00fd9318 Add option to include raw templates as cells 2017-08-25 14:28:30 +01:00