Commit graph

31 commits

Author SHA1 Message Date
Dima Gerasimov a658234cf3 Settings page for port, notification and default tags 2019-01-13 15:33:48 +00:00
Dima Gerasimov d0f7982c4f Update version 2019-01-07 23:58:23 +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 fea9092497 rename server file no avoid potential name clashes 2019-01-07 22:54:14 +00:00
Dima Gerasimov 0b6084d4ee Nicer server setup 2019-01-07 22:53:08 +00:00
Dima Gerasimov 7b9abd159c Add link to Chrome store 2019-01-07 00:03:03 +00:00
Dima Gerasimov 51106465d3 get rid of kython for server counterpart 2019-01-06 23:57:15 +00:00
Dima Gerasimov 39cffd7420 stricter permissions 2019-01-06 23:27:27 +00:00
Dima Gerasimov f144ffa5b5 Add link to youtube video 2019-01-06 23:22:31 +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 68ed274df8 update version 2019-01-06 21:01:30 +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 8f585ebc88 update CI conf; badge 2019-01-06 13:52:53 +00:00
Dima Gerasimov 3e47aeb1e6 Initial circleci config 2019-01-06 13:47:50 +00:00
Dima Gerasimov 4b56d48f40 Nicer manifest merging 2019-01-06 13:43:10 +00:00
Dima Gerasimov 7dbc4652a6 optimise dependencies 2019-01-06 13:35:22 +00:00
Dima Gerasimov ab33ed0937 Add support for entering comment 2019-01-06 13:27:36 +00:00
Dima Gerasimov 67682ba492 clean build dir contents only to support symlinking build dir 2019-01-05 14:50:43 +00:00
Dima Gerasimov cb572620e9 Script to set up server 2019-01-05 14:44:36 +00:00
Dima Gerasimov 7243d5a8e2 update packages 2019-01-05 14:05:51 +00:00
Dima Gerasimov 12593e1199 update webpack and version 2019-01-05 13:55:22 +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