Skip to content

Commit

Permalink
v1.0.0 - New version ✨ (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
wachunei authored Aug 7, 2020
1 parent 32fd136 commit e97abe6
Show file tree
Hide file tree
Showing 112 changed files with 14,601 additions and 2,102 deletions.
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"env": {
"test": {
"presets": ["@babel/preset-env"]
}
}
}
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
!.eslintrc.js
dist/
_old/
28 changes: 28 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
env: {
browser: true,
es6: true,
jest: true,
},
extends: [
"plugin:react/recommended",
"airbnb",
"plugin:prettier/recommended",
"prettier/react",
],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 11,
sourceType: "module",
},
plugins: ["react"],
rules: {
"react/jsx-props-no-spreading": "off",
},
};
156 changes: 155 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,156 @@
src/manifest.json
build/
releases/
web-ext-artifacts/

# Created by https://www.gitignore.io/api/node,react,macos
# Edit at https://www.gitignore.io/?templates=node,react,macos

### macOS ###
# General
.DS_Store
.vscode/
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# rollup.js default build output
dist/

# Uncomment the public line if your project uses Gatsby
# https://nextjs.org/blog/next-9-1#public-directory-support
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
# public

# Storybook build outputs
.out
.storybook-out

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Temporary folders
tmp/
temp/

### react ###
.DS_*
**/*.backup.*
**/*.back.*

node_modules

*.sublime*

psd
thumb
sketch

# End of https://www.gitignore.io/api/node,react,macos
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

72 changes: 67 additions & 5 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# directUC
Extensión para Google Chrome que permite a alumnos de la Pontificia Universidad Católica de Chile el ingreso directo a diferentes servicios ofrecidos por esta.

**Nota:** La extensión está en medio de cambios importantes para agregarle soporte a Canvas, el nuevo sitio de Bibliotecas UC, el correo Gmail UC y el nuevo inicio de sesión del SIDING.
WebExtension que permite a alumnos de la Pontificia Universidad Católica de Chile el ingreso directo a diferentes servicios ofrecidos por esta.

## Instalar

Expand All @@ -14,8 +13,71 @@ Otras características:

* Modo directo, ingresa directamente a un servicio seleccionado al presionar el botón.
* Ingreso por Omnibox.
* Soporte para SIDING, LABMAT y SIBUC, además de Portal UC, Webcursos y Correo UC.
* Soporte para:
* Portal UC
* Canvas
* LABMAT
* SIDING
* Biblioteca

___
> Esta es una extensión no oficial y no guarda relación alguna con la Pontificia Universidad Católica de Chile.
Esta es una extensión no oficial y no guarda relación alguna con la Pontificia Universidad Católica de Chile.
---

## Development

Clone this repo and install dependencies

```sh
yarn install
```

### Watch mode

Enter the watch mode by running

```sh
yarn firefox
```

or

```sh
yarn chrome
```

This will watch the `src` directory and output a development bundle in the `dist` directory.
You can load this unpacked directory into your browser or
open a browser with the extension installed by running

```sh
yarn run:firefox
```

or

```sh
yarn run:chrome
```

### Build and pack for Firefox

```sh
yarn build:firefox
yarn pack:firefox
```

Running `yarn build firefox` will output a production build in the `dist/firefox` directory,
`yarn pack:firefox` uses `web-ext` to generate a `zip` file, this will be located in the
`releases/firefox` directory.

### Build and pack for Chrome

```sh
yarn build:chrome
yarn pack:chrome
```

Running `yarn build chrome` will output a production build in the `dist/chrome` directory,
`yarn pack:chrome` uses `web-ext` to generate a `zip` file, this will be located in the
`releases/chrome` directory.
33 changes: 0 additions & 33 deletions css/estilo-cas-bar.css

This file was deleted.

32 changes: 0 additions & 32 deletions css/estilo-siding-bar.css

This file was deleted.

12 changes: 0 additions & 12 deletions css/font.css

This file was deleted.

Binary file removed css/font/Roboto-Italic.woff
Binary file not shown.
Binary file removed css/font/Roboto-Medium.woff
Binary file not shown.
Binary file removed css/font/Roboto-Regular.woff
Binary file not shown.
Loading

0 comments on commit e97abe6

Please sign in to comment.