Commit graph

25 commits

Author SHA1 Message Date
Dima Gerasimov fda03e28b0 rename extension to 'grasp' instead of 'org-grasp' 2019-03-22 00:14:14 +00:00
Dmitrii Gerasimov 5c73796b11
use localstorage so extension preserves state in firefox (#13)
* use localstorage so extension preserves state in firefox
2019-03-22 00:13:46 +00:00
Dima Gerasimov a3c8e1cb94 rename to 'grasp'; update version 2019-03-21 22:58:31 +00:00
Dima Gerasimov 79312c96ab Preserve state on lost popup focus; fixes https://github.com/karlicoss/grasp/issues/10 2019-03-21 22:16:33 +00:00
Dima Gerasimov 64ecbf5be0 nicer debug logging 2019-01-28 23:53:41 +00:00
Dima Gerasimov d0b9854cf7 Fix notification in firefox, adapt manifest for chrome 2019-01-28 23:53:41 +00:00
Dima Gerasimov 475e2b99e9 custom name for unrestricted package 2019-01-19 00:42:56 +00:00
Dima Gerasimov ec231636d1 Update extension to set endpoint 2019-01-16 22:25:16 +00:00
Dima Gerasimov 03ce431546 Add env variable to configure permissions 2019-01-16 22:25:16 +00:00
Dima Gerasimov a658234cf3 Settings page for port, notification and default tags 2019-01-13 15:33:48 +00:00
Dima Gerasimov 1f21f8dc32 better error handling for extension 2019-01-07 23:56:06 +00:00
Dima Gerasimov dc568f4785 Get rid of Hug dependency, use python default http server 2019-01-07 23:35:18 +00:00
Dima Gerasimov 39cffd7420 stricter permissions 2019-01-06 23:27:27 +00:00
Dima Gerasimov 71b6b2d973 shorter name, updated publish script 2019-01-06 23:14:03 +00:00
Dima Gerasimov bd092ba60f Update readme, set up icon 2019-01-06 22:16:36 +00:00
Dima Gerasimov 3eb72bab9d fix eslint, add to ci 2019-01-06 21:00:47 +00:00
Dima Gerasimov de46310d93 add support for tags 2019-01-06 20:44:00 +00:00
Dima Gerasimov ab33ed0937 Add support for entering comment 2019-01-06 13:27:36 +00:00
Dima Gerasimov 1d8a15acf6 Add title capture 2019-01-05 10:18:14 +00:00
Dima Gerasimov 5f5fd0e132 Implement server bit to actually capture 2019-01-05 10:18:14 +00:00
Dima Gerasimov 5b871fed90 handle selection and url extraction properly 2019-01-05 10:18:14 +00:00
Dima Gerasimov 4115b6e003 notification, proper message routing, etc 2019-01-05 10:18:14 +00:00
Dima Gerasimov cced1bdcc4 set up webpack etc 2019-01-05 10:18:14 +00:00
Dima Gerasimov a0b30e893e initial impl 2019-01-05 10:18:14 +00:00
Samuel Simões cc81dd9ba4 Collapse boilerplate in a single commit
First prototype

Added the README

Fixed the hot module replacement

Minor adjustments on readme

Normalizing the env vars and using it capitalized

Added info about the react.js branch

Fix babel transpiling

Using yarn

Removing the babel package, just the babel-core does the job

Using just the dependencies key on package.json

Since it isn't a lib package doesn't matter the separation between
devDependencies and dependencies.

Updating the css-loader

Updating the fs-extra

Moving the utility packages to utils folder

Better description

Adds the license

closes #3

Write the env vars on the bundle file

http://dev.topheman.com/make-your-react-production-minified-version-with-webpack/

Fixs the hot reload setup

Sringifies the env object to define plugin

Uses the webpack html plugin to generate the pages in a less hacky way

Uses the write-file-webpack-plugin

this plugin allows the webpack write on disk all files, even running
with the webserver, which is necessary to the hot reload.

this plugin also help us to remove nasty hacks and expose bundles to
other extension features.

Allows exclude some entry points to be hot reloaded

It's useful for content scripts that can't keep the connection with the
webpack endpoint.

Updates the webpack

Updates the README with instructions about the content scripts

resolves #4

Updates to Webpack 2

closes #8

Expand the DefinePlugin usage

In Webpack 1, the replaced value at compile time by define plugin was placed with
parenthesis, like ({"NODE_ENV":"development","PORT":3000}), now, it not works in
this way, breaking the app.

So, to simplify the things, this commit just passes the NODE_ENV var.

Fix README

Exclude /node_modules/ from babel and css transpiling #9

Source maps to help debugging

closes #10

Removes the forbidden webpack config 'chromeExtensionBoilerplate'
before build and webserver's start

Although I know that it's not a good practice, right now I don't know a
good way to keep the boilerplate configs simple as it is today without
this hacky solution, so, until we came with a better solution, we'll
remove the key before build and webserver's start.

  #9

Update README.md

Removing babel.js

Basically, we don't need transpiling with babel since Webpack 2 take care of
ES6 modules transpiling and the ES2015 is supported by Chrome.

  kudos @gagarine

  resolve #16

Setup boilerplate to load images and other assets in html and css

resolves #18
resolves #23
resolves #14
resolves #12

Added icons and images boilerplate

Split dependencies on package.json

resolves #15

Webpack config improvements (#26)

- Use CopyWebpackPlugin to generate `manifest.json` file
- Use CleanWebpackPlugin to clear build folder

Minor README adjustments

* explicitly the required node version
* pointing to yarn install instructions page instead suggest install
with npm. the yarn page will be always updated to the best way to install
the yarn.

closes #28

Adding the contribution guidelines
2019-01-05 10:17:50 +00:00