Commit Graph

969 Commits

Author SHA1 Message Date
Antonin Delpeuch
3b9fd23b9c Jackson deserialization for DenormalizeOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
c58854d947 Jackson deserialization for ReconUseValuesAsIdsOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
0a5ea4e3dd Jackson deserialization for ReconOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
08c2b8fb2b Jackson deserialization for ReconMatchSpecificTopicOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
fb584e0b5f Jackson deserialization for ReconMatchBestCandidatesOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
d908635c1f Jackson deserialization for ReconMarkNewTopicsOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
3271e53ecf Jackson deserialization for ReconJudgeSimilarCellsOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
408703f13c Jackson deserialization for ReconDiscardJudgmentsOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
e40d68afaf Jackson deserialization for ReconCopyAcrossColumnsOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
f573f37a97 Jackson deserialization for ReconClearSimilarCellsOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
eb66619840 Jackson deserialization for ExtendDataOperation 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
393eec1586 Jackson deserialization for EngineConfig 2018-11-30 19:22:21 +09:00
Antonin Delpeuch
c4caf1eba7 Jackson deserialization for TimeRangeFacetConfig 2018-11-30 19:21:22 +09:00
Antonin Delpeuch
e11145ce0d Jackson deserialization for ScatterplotFacetConfig 2018-11-30 19:21:22 +09:00
Antonin Delpeuch
d8bc841dae Jackson deserialization for RangeFacetConfig 2018-11-30 19:21:22 +09:00
Antonin Delpeuch
39498233fb Jackson deserialization for ListFacetConfig 2018-11-30 19:21:22 +09:00
Antonin Delpeuch
121dd76fa1 Jackson deserialization for DecoratedValue 2018-11-30 19:21:22 +09:00
Antonin Delpeuch
9c58b8f51f Fix constraints initialization 2018-11-30 19:21:22 +09:00
Antonin Delpeuch
d4bdd37bda Jackson deserialization for Recon 2018-11-30 19:21:22 +09:00
Antonin Delpeuch
ba7879621d Jackson deserialization for Project 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
bbf6dcd767 Jackson deserialization for ColumnGroup 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
487f6bc131 Jackson deserialization for Row 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
adb2e13874 Jackson deserialization for Cell 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
8758ed2cff Jackson deserialization for ReconCandidate 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
ccc8f6470e Jackson deserialization for Column 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
af866363ca Jackson deserialization for ReconStats 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
599edd374f Jackson deserialization for ReconType 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
0dae0811b0 Jackson deserialization for ReconConfig 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
8b41c4e08a Merge Jsonizable removal with master 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
0698b9c84e Unify JSON testing in Wikidata extension 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
75b642f9bf Fix serialization of local dates 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
9c788769af Restore JSON property autodetect 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
bc6f1b0146 Fix failing tests after JSONWriter replacement 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
c9620a5d9a Add missing .flush(); .close() on JsonGenerator 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
7156c49c4d Remove remaining uses of org.json.JSONWriter in the core backend 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
9219ef36aa Jackson serialization for the remaining commands 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
f263d8a129 Migrate commands out of JSONWriter 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
c7c5fd4120 Reorganize imports 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
f6fc47a8f9 Fix serialization of StandardReconConfig with no type 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
fec28b99bc Various serialization fixes 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
1790799bfe Remove Jsonizable interface and write methods 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
e99a491338 Refactor workspace commands for Jackson serialization 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
553a73ec40 Refactor expression commands for Jackson serialization 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
fd69e4b980 Serialization tests for expression commands 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
65231e2140 Refactor GetRowsCommand for Jackson migration 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
b6a724b429 Disable Jackson autodetect and annotate remaining classes 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
bb0b351cef Refactoring JSON production in commands to prepare for Jackson 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
987c2d1c80 Jackson serialization for project managers 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
7d3af420ce Jackson serialization for long running processes 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
18c2183cbc Jackson serialization for preferences 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
418b21dda2 Jackson serialization for history classes 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
aba8cd8430 Jackson serialization for processes 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
49f1367adc Jackson serialization for clustering classes 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
cf45f23e1d Jackson serialization for reconciliation operations 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
8f1c7cc2ab Jackson serialization for facets 2018-11-30 19:20:34 +09:00
Antonin Delpeuch
761b748faa Cleaner double serialization emulation, application wide. 2018-11-30 19:19:01 +09:00
Antonin Delpeuch
1fa101c334 Jackson serialization for the model classes 2018-11-30 19:19:01 +09:00
Antonin Delpeuch
1f40393028 Move SortingConfig to its own file; tests for sorting criteria 2018-11-30 19:19:01 +09:00
Antonin Delpeuch
6daa1b4f5c Jackson serialization for RowReorderOperation 2018-11-30 19:19:01 +09:00
Antonin Delpeuch
a3bba83c63 Jackson serialization for column operations 2018-11-30 19:19:01 +09:00
Antonin Delpeuch
539585fc5e Jackson serialization for cell operations 2018-11-30 19:19:01 +09:00
Antonin Delpeuch
c140f90db1 Jackson serialization for GREL controls 2018-11-30 19:19:01 +09:00
Antonin Delpeuch
7648ca91ca Jackson serialization for GREL functions 2018-11-30 19:19:01 +09:00
Antonin Delpeuch
36765e7e62 Bump version to 3.2-SNAPSHOT 2018-11-29 11:59:30 +09:00
Antonin Delpeuch
b90e413b40 Set version to 3.1 2018-11-29 10:32:56 +09:00
jackyq2015
02871e1b6f fix issue #1802 -- escape single quote in SQL export 2018-11-26 19:40:22 -05:00
Antonin Delpeuch
95d0cf546d
Merge pull request #1845 from ostephens/parseXml
Parse xml
2018-11-25 18:44:38 +00:00
Antonin Delpeuch
a5ba16db66
Merge pull request #1764 from dtap-gmbh/issue1757
Using the parsed form parameter 'options' instead of looking for an U…
2018-11-25 18:44:07 +00:00
Antonin Delpeuch
0d3c7c7af4
Merge pull request #1852 from ostephens/fix-cross
Enable Cross to work with non-string wrapped cells
2018-11-24 15:28:05 +00:00
Antonin Delpeuch
998a5423db
Merge pull request #1856 from OpenRefine/issue1305
Display git commit id instead of "TRUNK"
2018-11-23 10:41:07 +00:00
Antonin Delpeuch
ed6900f180 Include git commit id in released versions 2018-11-22 20:08:31 +00:00
Antonin Delpeuch
8a72d359e0 Fix indentation 2018-11-22 19:48:11 +00:00
Antonin Delpeuch
1d2888ba01 Display git commit id instead of TRUNK. Closes #1305. 2018-11-22 19:46:30 +00:00
Owen Stephens
d1acd9336c Update Cross function to accept non-string wrapped cells 2018-11-22 17:54:29 +00:00
Owen Stephens
e8f454afc7 Fixing changes missed during rebase 2018-11-22 13:42:46 +00:00
Owen Stephens
fb8697ef9c Minor code tidy 2018-11-22 12:36:37 +00:00
Owen Stephens
2a034b65e9 Add number, date and boolean counts to List facet 2018-11-22 12:36:37 +00:00
Owen Stephens
22072c498b Add tests for grouper for list facet 2018-11-22 12:33:39 +00:00
Owen Stephens
281d757f1c Remove superfluous function 2018-11-22 00:37:43 +00:00
Remi Rampin
2356656b50 Load new message catalogs using jquery.i18n 2018-11-21 17:29:49 +00:00
Owen Stephens
d144a5dccf Stricter re number of arguments for parseXml/Html and clearer err msgs 2018-11-21 15:58:59 +00:00
Owen Stephens
1f023b53af Remove deprecated HTML functions and tests 2018-11-20 20:21:30 +00:00
Owen Stephens
bae3dbb812 Add XML parsing and update HTML parsing to use same classes 2018-11-20 20:20:51 +00:00
Owen Stephens
b5355b3c12 Correct typo 2018-11-18 13:12:41 +00:00
Antonin Delpeuch
3431a9ee1e
Merge pull request #1829 from OpenRefine/issue1827
Fix issue of empty list facet choices disappearing.
2018-11-17 08:56:41 +00:00
Antonin Delpeuch
0e0dcbafef Fix issue of empty list facet choices disappearing. Closes #1827. 2018-11-16 12:52:07 +00:00
Antonin Delpeuch
b85d4d0cb8
Merge pull request #1826 from ostephens/fix-todate
Fix toDate
2018-11-16 10:30:56 +00:00
Owen Stephens
1627a51075 Reorganises ToDate function, adds tests and fixes #1759 2018-11-15 18:20:55 +00:00
Owen Stephens
cc12098828 Initial attempt to fix toDate function 2018-11-08 09:11:49 +00:00
Antonin Delpeuch
3ad7d9e19d Set version to 3.1-beta 2018-11-07 12:46:15 +00:00
Antonin Delpeuch
1eb9ef78ef Fix cell index computation in filldown/blankdown 2018-11-03 17:10:23 +00:00
Owen Stephens
c3e49e79ab Add support for N-triples and Turtle 2018-10-27 19:04:07 +01:00
Owen Stephens
42e8c86a78 Add support for JSON-LD import 2018-10-27 06:34:33 +01:00
Andreas Cordsen
9aba9c2d48 Using the parsed form parameter 'options' instead of looking for an URL parameter. 2018-10-16 15:13:34 +02:00
omkar
e23fef8b66 Fix: Allow smartSplit() to handle String of chars not just a single char 2018-10-14 21:50:29 +05:30
Antonin Delpeuch
d2edffcef4
Merge pull request #1754 from OpenRefine/issue1596
Directly use column as reconciliation results
2018-10-12 11:05:12 +01:00
Antonin Delpeuch
2a68e761cb Implementation of UseValuesAsIdentifiers operation and command 2018-10-02 12:31:59 +01:00
Antonin Delpeuch
22be1ec323
Merge pull request #1731 from xseris/master
Custom column names for separator based importer
2018-09-24 08:29:46 +01:00
Antonin Delpeuch
ec3e9ab1e9
Merge pull request #1730 from OpenRefine/json-clustering
Refactor clustering serialization in JSON
2018-09-16 18:52:11 +01:00
Antonin Delpeuch
d421fd7fbf
Merge pull request #1729 from OpenRefine/json-engineconfig
Store engine configuration in dedicated class
2018-09-16 18:51:41 +01:00
Qi Cui
e056f13d63 bump the version 2018-09-16 11:59:44 -04:00
xseris
f288bc653e Added test, changed visualization 2018-09-13 14:45:38 +02:00
xseris
deab8ceeb0 custom column names for separator based importer 2018-09-12 15:45:52 +02:00
Antonin Delpeuch
9f964af7d4 Migrate ComputeClustersCommand to use new architecture 2018-09-10 15:49:59 +01:00
Antonin Delpeuch
c9436f563d Refactor kNNClusterer for serialization 2018-09-10 15:49:59 +01:00
Antonin Delpeuch
31954862e8 Refactor BinningClusterer for JSON serialization 2018-09-10 15:49:52 +01:00
Antonin Delpeuch
5a0304f363
Merge pull request #1722 from OpenRefine/json-testing
Add serialization tests for most Jsonizable classes
2018-09-10 15:35:25 +01:00
Antonin Delpeuch
07ab7da872
Merge pull request #1697 from OpenRefine/issue1696
Clickable URLs in HTML exporter
2018-09-05 14:58:44 +01:00
Antonin Delpeuch
2236420f3b Cleanup EngineDependentOperation, String caching is not needed 2018-09-05 14:56:56 +01:00
Antonin Delpeuch
fbc9b27640 Store engine configuration as EngineConfig rather than JSONObject 2018-09-05 14:49:39 +01:00
Antonin Delpeuch
f327b09a59 Reorganize facet parsing and discontinue initializeFromJSON on Facet 2018-09-05 12:03:54 +01:00
Antonin Delpeuch
5b4cab947e Introduce EngineConfig class to avoid manipulating JSON objects directly 2018-09-05 11:00:20 +01:00
Antonin Delpeuch
7a3d13ef47 Refactor TextSearchFacet for JSON serialization 2018-09-05 10:51:31 +01:00
Antonin Delpeuch
daeb7ab6df Refactor ScatterplotFacet for JSON serialization 2018-09-05 10:08:53 +01:00
Antonin Delpeuch
1186776235 Refactor TimeRangeFacet for JSON serialization 2018-09-04 18:19:18 +01:00
Antonin Delpeuch
8e8b3c18c5 Refactor RangeFacetTests for serialization 2018-09-04 11:49:48 +01:00
Antonin Delpeuch
5b8be7f1a3 Fix ListFacetConfig serialization 2018-09-04 10:26:03 +01:00
Antonin Delpeuch
497eee5a75 Add serialization tests for ListFacet 2018-09-04 10:09:38 +01:00
Antonin Delpeuch
bc81beb933 Introduce FacetConfig interface and refactor ListFacet accordingly 2018-09-04 09:33:30 +01:00
Antonin Delpeuch
6aa93bbc0c Use UrlValidator to detect urls in tabular exporter 2018-09-03 19:48:11 +01:00
Antonin Delpeuch
da9978b365 Add serialization tests for preference classes 2018-09-01 12:42:05 +02:00
Antonin Delpeuch
b4bcf7a1b6 Fix inconsistency in serialization of ReconMatchSpecificTopicOperation 2018-09-01 12:40:23 +02:00
Antonin Delpeuch
94b6b1f945
Merge pull request #1692 from OpenRefine/issue1689
Fix exception when sorting the empty string numerically
2018-08-30 08:09:20 +02:00
Jacky
21712db6e0
Merge pull request #1698 from OpenRefine/issue1681
Fix unescape GREL function in javascript mode.
2018-08-29 21:24:52 -04:00
Thad Guidry
3742b6a092 improve log descriptions for stale import job removals (#1705)
* improve log descriptions for stale import job removals

* Removed unnecessary log line and instead changed primary log line
2018-08-12 08:53:57 +01:00
TonyO
76a995182e added comment to fix 1684 2018-08-07 11:25:49 +01:00
TonyO
c1af2f1179 fixed issue 1684 with decimal values 2018-08-07 11:25:49 +01:00
Antonin Delpeuch
5ee165d3b7 Fix sorting of blank values. Closes #1689. 2018-08-07 11:24:22 +01:00
Antonin Delpeuch
c7c3fab8e4 Clickable URLs in HTML exporter. Closes #1696. 2018-08-07 11:23:49 +01:00
Antonin Delpeuch
87b6aadbad Fix unescape GREL function in javascript mode. Closes #1681. 2018-08-07 11:23:14 +01:00
Jacky
1b099c0c9c
bump version 2018-07-15 16:53:00 -04:00
Owen Stephens
db13497744
Merge pull request #1670 from OpenRefine/issue1669
Simplify parsing of HTTP headers in fetch-url operation
2018-07-11 15:45:23 +01:00
Antonin Delpeuch
fd4ef66b75 Simplify parsing of HTTP headers in fetch-url operation
Closes #1669 and makes it possible to specify other headers via the JSON representation of the operation.
2018-07-02 16:03:40 +01:00
Owen Stephens
64ed24e082 Small amount of tidying up code 2018-06-23 00:28:45 +01:00
Owen Stephens
fe2e8bcbf7 Change behaviour of DecoratedValue to handle dates better 2018-06-23 00:18:00 +01:00
Owen Stephens
0e954bdb68 Use stringutils to create 'from' string for non-blank mass edits 2018-06-23 00:18:00 +01:00
Owen Stephens
db658024d6 Change behaviour of converting OffsetDateTime to string in StringUtils 2018-06-23 00:18:00 +01:00
Antonin Delpeuch
9f7d5b8786
Merge pull request #1638 from OpenRefine/issue1637
Do not discard the recon space when marking cells as new items.
2018-06-22 12:23:15 +02:00
Jacky
f3dbc18214
Merge pull request #1642 from ostephens/mass-edit-fix
Mass edit fix for blanks, numbers and booleans
2018-06-20 22:00:34 -04:00
Antonin Delpeuch
448a969cb1
Merge pull request #1656 from OpenRefine/issue/1648
fix the template load issue and package typo
2018-06-17 09:23:52 +01:00
Jacky
5a6c9d72f0 fix the template load issue and package typo 2018-06-16 15:43:29 -04:00
Owen Stephens
09c624a249 Updated null.toString() to return an empty string as per #1635 2018-06-14 12:36:01 +01:00
Owen Stephens
689442fff2 If only one value and that's zero length set fromBlank to true
Added whitespace
2018-06-08 09:40:48 +01:00
Antonin Delpeuch
a63151bbcc Do not discard the recon space when marking cells as new items.
Fixes #1637
2018-06-04 12:16:33 +01:00
Qi Cui
8dc8e294f7 bump the version 2018-05-27 02:02:16 -04:00
Jacky
476ece5a67
Merge pull request #1617 from OpenRefine/issue1600
Remove DataExtensions from change serialization
2018-05-24 15:00:34 -04:00
Antonin Delpeuch
52989b78ce Fix typo 2018-05-23 07:39:04 +02:00
Antonin Delpeuch
d8f081b977 Remove DataExtensions from change serialization 2018-05-22 23:09:51 +02:00
Antonin Delpeuch
b01177c0d9
Merge pull request #1597 from OpenRefine/issue/1588-2
unify the internal date type
2018-05-18 22:03:14 +02:00
Owen Stephens
19a134d4ae Corrected spelling of Calender to Calendar 2018-05-17 10:01:04 +01:00