Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Commit

Permalink
1.0.0-beta.6 (#7)
Browse files Browse the repository at this point in the history
* Delete old files

* Add new files

* Add webpack in dev dependencies

* Add dist folder in gitignore

* Update dev dependencies in package.json and add package-lock.json

* Add webpack config

* Add typescript compiler config

* Add static files

* Add src files

* Rewrite css to scss

* Rewrite html to pug

* Add chrome type in typescript config and dev dependencies

* Add es2015 lib in typescript compiler options

* Add dom lib in typescript compiler options

* Rewrite js to ts

* Replace ts-loader with awesome-typescript-loader and add --progress in build command

* Add aliases in tsconfig

* Edit webpack config for interface build

* Edit extension manifest for interface build

* Replace paths to images in PUG templates

* Replace path with alias in settings-iframe.ts

* Add entry points for interface build

* Replace async with defer in PUG templates

* Resolve security policy error

* Add background script for creation of user profile

* Fix path for copying static files

* Add static files for background events

* Remove third-party lib bootstrap-slider

* Fix file extension in webpack config

* Refactoring of PUG

* Refactoring of SCSS

* Add extra css in build

* Disable bootstrap-slider lib dependencies

* Return bootstrap-slider lib in the project

* Refactoring of SCSS

* Update tsconfig

* Update gitingore

* Add the common folder for a ts scripts with the communication module

* Update a paths in the configs

* Rewrite popup script

* Change this conflict in iframe script

* Delete a garbage

* Rewrite settings script

* Change popup event from class to interface

* Add an information about errors in the popup

* Add VS and VS Code folders in gitignore

* Update npm 5.6.0 to the 6.0.1

* Refactoring of Popup JS

* The Communication module now returns a promise

* Replace if/else with continue in Popup.ts

* Refactoring of Settings.ts

* Refactoring of settings scripts for iframe

* Add attribute addition for form-group mixin

* Add quality id for screenshot form

* Refactoring of Communication module

* Add rest parameter for DOMLoaded.runFunction

* Turn off scripts conflict

* Update dev dependencies to latest versions

* Move npm from dependencies to dev dependencies

* Resolve some security problems for packages

* Refactoring of settings.ts

* Refactoring of popup.ts

* Fix a bug when a message was not sent to active content script

* Add getter for user settings in settings-iframe.ts

* Refactoring of statistics.ts

* Add abstract and public definition in DOM.ts

* Add abstract and public definition in Communication.ts

* Fix bug for ContentMessage type

* Test Rename

* Back rename

* Change name of modules to lowerCase

* Add watch command for webpack

* Add prettierrc configuration

* Remove .vs and .vscode folders from gitignore

* Remove tslint

* Add vscode folder

* New rule for prettierrc: single quote for js files

* Separate and refactoring of webpack config

* Move and refactoring of build scripts

* Remove bootstrap-slider from dependencies, add webpack-cli and webpack-merge in dev dependencies

* Update tsconfig

* Add prettierrc config

* Add static bootstrap-slider library

* Reaplce LF to CRLF in bootstrap-slider

* Remove temporary comment in settings-download.ts and settings-screenshot.ts

* Split UserSettings into individual module

* Remove unnecessary imports in extra.pug and statistcis.pug

* Remove unnecessary imports and add bootstrap-slider.js in import in settings-download.pug and settings-screenshot.pug

* Replace LF to CRLF in .scss files

* Add import extra.scss in settings.scss and statistics.scss

* Update packages

* Remove npm from dev dependencies

* Fix audit problems

* Resolve files module names

* Fix invalid source maps for production

* Add description for an exclude option in the webpack.config.common.js

* Add npm-debug.log in .gitignore

* Change paths in webpack.config.common for UNIX-systems compatibility

* Add compilation for firefox browsers

* Update manifest files

* Fix styles in order to override browser stylesheet

* Add zip feature and clean feature for npm

* Extensions file changes

* Add validate-html-links plugin

* Replace clean-plugin with remove-files-plugin

* Test

* Remove js folder from common folder

* Rewrite communication module

* Add on-message listener for content scripts

* Update packages

* Add response message for communication module

* Add optional errorText property for response message

* Add storage-sync and events for background scripts

* Refactoring of on-message scripts

* Add update of user settings after extension update

* Add on-message script build for background

* Replace response check in popup script

* Add default settings

* Add common API module

* Add download module

* Add dom.iterable lib in tsconfig

* Add page-elements content script

* Add build for page-elements.ts

* Add support for string selector in API.getElmnts

* Add existing settings option for getSettings method

* Add files for content build

* Add settings.ts for content

* Add DOMContentLoaded.ts for content

* Refactoring of content download.ts because of new settings.ts

* Add observer bind for page-elements.ts

* Add elements types for content/page-elements.ts

* Add screenshot feature

* Lock on of unavailable features

* Update CHANGELOG
  • Loading branch information
Amaimersion authored Jun 23, 2018
1 parent 264fc16 commit 0fe94e8
Show file tree
Hide file tree
Showing 98 changed files with 14,537 additions and 4,503 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# EditorConfig is awesome: http://EditorConfig.org

root = true

[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{pug,scss}]
indent_size = 2
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
.awcache
npm-debug.log
28 changes: 28 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Basic
# Some long strings (file path, e.g.) just do not fit in a line with 80 width.
# And if break them to a width 80 - it just looks ugly.
# However, it is still better to follow the width 80 standard.
printWidth: 120
tabWidth: 4
useTabs: false
singleQuote: false
semi: true
bracketSpacing: false
arrowParens: "always"

# Extra
trailingComma: "none"
jsxBracketSameLine: false
parser: "babylon"
requirePragma: false
insertPragma: false
proseWrap: "preserve"

overrides:
- files: ["*.js"]
options:
singleQuote: true

- files: ["*.pug", "*.scss"]
options:
tabWidth: 2
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"EditorConfig.editorconfig",
"mrmlnc.vscode-jade-snippets",
"mrmlnc.vscode-scss",
"christian-kohler.npm-intellisense"
]
}
25 changes: 25 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"files.exclude": {
// folders.
"dist": true,
"node_modules": true,
".awcache": true,

// IDE's and editor's folders.
".vs": true,
".vscode": true,

// version control.
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
"search.exclude": {
"**/node_modules": true,
"**/dist": true,
".awcache": true
},
"typescript.tsdk": "node_modules\\typescript\\lib"
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.0.0-beta.6 (23 июня, 2018)

Смена стека с HTML + CSS + JS на PUG + SCSS + TypeScript + Webpack.

Настройки, скриншот треда и статистика не доступны в этой версии.

# 1.0.0-beta.5 (10 мая, 2018)

## Расширение
Expand Down
118 changes: 0 additions & 118 deletions extension/interaction/js/scripts/background/background-API.js

This file was deleted.

Loading

0 comments on commit 0fe94e8

Please sign in to comment.