Commit Graph

27 Commits

Author SHA1 Message Date
Mathieu Saby
5ff1b995ef Option for matching whole words
Replace Textareas with text Inputs and add labels.
Add an option for matching whole words
Change the behavior of escape option for replacement text:
if checked, \n and \t have a special meaning (newline and tab),
and \\n and \\t must be used for "backslash and n" and "backslash and t"
but other character are escaped : \ means \, \\ means \\, \r means \r etc.
2018-10-14 22:40:31 +02:00
Mathieu Saby
4a49691a4e Deplace menu and simplifiy UI 2018-09-25 08:14:32 +02:00
Mathieu Saby
338fa585d3 Add menu for searching and replacing
Add a new menu "Replace" in "Edit Cells" > "Common Transforms" and a new interaction box for entering parameters.
Under the hood this is a wrapper around GREL replace() function.
The behavior is the same as replace() except the automatic backslah escaping of "Replace with" parameter.
The 2 main parameters in the box are 2 textaras : "Find" and "Replace with"
2 cumulative options are available for "Find" parameter : "Case insensitive" and "Regular Expression"
1 option is available for "Replace with" parameter : "Do not escape backslash automatically"
A validity control of the pattern is made when "Regular expression" is checked.
2018-09-23 22:12:12 +02:00
Owen Stephens
a8b5052b00 Add "Blank out cells (empty string)" to common transformations menu 2018-02-18 23:35:00 +00: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
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
6fb7f1f476 Add UI for split multi-valued cells by sep/regex/length 2017-10-22 23:53:18 +01:00
Jacky
ed17c2f890 to fix the ticket #980
https://github.com/OpenRefine/OpenRefine/issues/980
2015-05-01 22:24:57 -04:00
Jan Mayer
00dc954336 Allow longer expressions by sendig them as POST 2014-11-11 11:41:55 +01:00
Blakko
8a0f23be3b Internationalization of the data-table part 2013-07-09 15:57:25 +02:00
David Huynh
d01745284b Added option to "transpose columns into rows" operation for filling in other columns.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2367 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-07 19:39:23 +00:00
David Huynh
a35b9f53f7 Made operation "Transpose columns into rows" support the option of transposing into 2 new columns rather than just one.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2362 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-06 02:50:33 +00:00
David Huynh
2f6b635f66 Added initial implementation of Key/value Columnize operation and command.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2356 7d457c2a-affb-35e4-300a-418c747d4874
2011-11-04 21:00:32 +00:00
David Huynh
f4b2ee3715 "Transpose columns into rows" operation now supports specifying the ending column to be the last column regardless of its name.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2337 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-19 13:42:50 +00:00
Stefano Mazzocchi
b413833ca1 fixing a bunch of jslint issues
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2303 7d457c2a-affb-35e4-300a-418c747d4874
2011-10-07 23:44:11 +00:00
David Huynh
e55bab31b8 Default error mode to keep original for common transforms.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2268 7d457c2a-affb-35e4-300a-418c747d4874
2011-09-30 06:09:55 +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
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
47381ce485 Unified capitalization scheme for menu items' labels
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1615 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-21 18:02:12 +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
2fc0374f79 Made data table view's All menu extensible. Added more common transforms. Touched up on a few menus.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1593 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 01:53:23 +00:00
David Huynh
6ddd945a80 The Freebase functionalities have been extracted out in the last commit. We're removing them from the core module now. This is not a complete checkin. SVN is having some trouble with some directories.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1452 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-08 01:54:00 +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
Stefano Mazzocchi
df19fc2065 Fixed ISSUE-29
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1245 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-31 19:47:01 +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
3d18b425c4 Made column header popup menu extensible and split it up into several files so they are easier to manage.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1150 7d457c2a-affb-35e4-300a-418c747d4874
2010-08-09 01:13:57 +00:00