Updated master template list - Fixes #237

WIP

WIP

Updated pages

Adding directory walker

WIP

Added API endpoints

Add gitignore for Cake

Updated master template list

Updated master template list

Remove comment, since it will be added automatically by webservice

Updated master template list

Create ApacheCordova.gitignore

Updated master template list

Update Intellij.patch

Remove tail whitespace

Updated master template list

Remove trailing spaces

Remove trailing spaces to be diffabel with most editors

Updated master template list

Minor reformatting of docs

Fixed landing page dropdown

Feature parity with node version

Linted project

Fixed misspellings

Updated file init API

Added Travis CI file

Updated to swift 3.0.1

Add linter

Removed swiftlint

Fixed permissions on swift lint

Removed os

Updated travis file with OS and language

Updated Procfile

Reverted Procfile

Updated travis file

Updated travis script

Updated package

Updated eval script

Add force dependency update

Switched to lint

Added basic tests

Moved swift lint back to working dir

Fixed typo

Fixed unit tests

Removed swiftlint

Testing vapor/vapor build

Reverted travis files

Renamed server target and test target

Updated test target imports

Use default vapor ci script

Remove redundnat build commands

Use vapor code cov

100% test coverage

Fixed linux test main file names

Adding debug statements

Fixed test case file name

Moved all files to uppercase Public

Move all files from public to Public to fix case-sensitivity issues (#268)

Fix readme headers

Fixed last H2

Updated master template list

Remove print strings

Updated procfile

Fixed Procfile

Updated data directory

Updated vapor buildpack and procfile

Updated gitignore

Added Swift Version

Test with differnet path serach function

Set to development env

Testing with subpathsOfDirectory

added debugPrint

Add debugging for file type attributes

Fixed negation

Test with traversed relative links

Trying to simplify file paths

Testing symlink code

More debug statements

Print FileAttributeKey.type key

Try negation

Debugging

Debugging

Redo file name extractor

Debugging more

Code cleanup

Testing travis deploy

Fixed test case

Fix email and skip cleanup

CI testing

Updated to swift 3.0.2

Update readme

Updated skip cleanup

Try deploy from heroku

Update ci script

Teset full deploy

Updated master template list

Fixes #271

Add fzf-gitignore and helm-gitignore to extension list (#272)

Ignore test files (#274)

* Ignore test files

* From custom to classes

Update data/gitignore (#275)

Remove non-existing plugin-dirs (#276)

Both `/internal/` as well as `/engine/Shopware/Plugins/Commercial/` don't exist in a default Shopware-installation at all.

Add support for QML language (#278)

Updated master template list

Updated build test
This commit is contained in:
Joe Blau
2016-11-06 20:03:51 -05:00
parent 7b9e8ef3f6
commit da86c70b62
1695 changed files with 2509 additions and 2473 deletions

View File

@@ -1,4 +1,4 @@
{
"directory": "public/components",
"directory": "Public/components",
"json": "bower.json"
}

View File

@@ -1,13 +0,0 @@
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

78
.gitignore vendored
View File

@@ -1,75 +1,5 @@
# Created by http://www.gitignore.io
### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
## Directory-based project format
.idea/
/*.iml
# if you remove the above rule, at least ignore user-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# and these sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# and, if using gradle::
# .idea/gradle.xml
# .idea/libraries
## File-based project format
*.ipr
*.iws
## Additional for IntelliJ
out/
# generated by mpeltonen/sbt-idea plugin
.idea_modules/
# generated by JIRA plugin
atlassian-ide-plugin.xml
# generated by Crashlytics plugin (for Android Studio and Intellij)
com_crashlytics_export_strings.xml
### Linux ###
*~
# KDE directory preferences
.directory
### Node ###
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Packages
.build
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directory
# Commenting this out is preferred by some people, see
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules
# Users Environment Variables
.lock-wscript
xcuserdata
*.xcodeproj
Config/secrets

View File

@@ -1,3 +0,0 @@
.build
node_modules
public/js

155
.jshintrc
View File

@@ -1,155 +0,0 @@
{
// Whether the scan should stop on first error.
"passfail": false,
// Maximum errors before stopping.
"maxerr": 100,
// Predefined globals
// Whether the standard browser globals should be predefined.
"browser": false,
// Whether the Node.js environment globals should be predefined.
"node": true,
// Whether the Rhino environment globals should be predefined.
"rhino": false,
// Whether CouchDB globals should be predefined.
"couch": false,
// Whether the Windows Scripting Host environment globals should be predefined.
"wsh": false,
// Whether jQuery globals should be predefined.
"jquery": false,
// Whether Prototype and Scriptaculous globals should be predefined.
"prototypejs": false,
// Whether MooTools globals should be predefined.
"mootools": false,
// Whether Dojo Toolkit globals should be predefined.
"dojo": false,
// Custom predefined globals.
"predef": [],
// Development
// Whether debugger statements should be allowed.
"debug": false,
// Whether logging globals should be predefined (console, alert, etc.).
"devel": false,
// ECMAScript 5
// Whether the "use strict"; pragma should be required.
"strict": true,
// Whether global "use strict"; should be allowed (also enables strict).
"globalstrict": true,
// The Good Parts
// Whether automatic semicolon insertion should be allowed.
"asi": false,
// Whether line breaks should not be checked, e.g. `return [\n] x`.
"laxbreak": false,
// Whether bitwise operators (&, |, ^, etc.) should be forbidden.
"bitwise": false,
// Whether assignments inside `if`, `for` and `while` should be allowed. Usually
// conditions and loops are for comparison, not assignments.
"boss": true,
// Whether curly braces around all blocks should be required.
"curly": true,
// Whether `===` and `!==` should be required (instead of `==` and `!=`).
"eqeqeq": true,
// Whether `== null` comparisons should be allowed, even if `eqeqeq` is `true`.
"eqnull": false,
// Whether `eval` should be allowed.
"evil": false,
// Whether ExpressionStatement should be allowed as Programs.
"expr": true,
// Whether `for in` loops must filter with `hasOwnPrototype`.
"forin": false,
// Whether immediate invocations must be wrapped in parens, e.g.
// `( function(){}() );`.
"immed": true,
// Whether use before define should be forbidden.
"latedef": false,
// Whether functions should be allowed to be defined within loops.
"loopfunc": false,
// Whether arguments.caller and arguments.callee should be forbidden.
"noarg": false,
// Whether `.` should be forbidden in regexp literals.
"regexp": false,
// Whether unescaped first/last dash (-) inside brackets in regexps should be allowed.
"regexdash": false,
// Whether script-targeted URLs should be allowed.
"scripturl": false,
// Whether variable shadowing should be allowed.
"shadow": false,
// Whether `new function () { ... };` and `new Object;` should be allowed.
"supernew": false,
// Whether variables must be declared before used.
"undef": true,
// Whether `this` inside a non-constructor function should be allowed.
"validthis": false,
// Whether smarttabs should be allowed
// (http://www.emacswiki.org/emacs/SmartTabs).
"smarttabs": true,
// Whether the `__proto__` property should be allowed.
"proto": false,
// Whether one-case switch statements should be allowed.
"onecase": false,
// Whether non-standard (but widely adopted) globals should be predefined.
"nonstandard": false,
// Allow multiline strings.
"multistr": false,
// Whether line breaks should not be checked around commas.
"laxcomma": false,
// Whether semicolons may be ommitted for the trailing statements inside of a
// one-line blocks.
"lastsemic": false,
// Whether the `__iterator__` property should be allowed.
"iterator": false,
// Whether only function scope should be used for scope tests.
"funcscope": false,
// Whether es.next specific syntax should be allowed.
"esnext": false,
// Style preferences
// Whether constructor names must be capitalized.
"newcap": false,
// Whether empty blocks should be forbidden.
"noempty": false,
// Whether using `new` for side-effects should be forbidden.
"nonew": false,
// Whether names should be checked for leading or trailing underscores
// (object._attribute would be forbidden).
"nomen": false,
// Whether only one var statement per function should be allowed.
"onevar": false,
// Whether increment and decrement (`++` and `--`) should be forbidden.
"plusplus": false,
// Whether all forms of subscript notation are allowed.
"sub": false,
// Whether trailing whitespace rules apply.
"trailing": false,
// Specify indentation.
"indent": 4,
// Whether strict whitespace rules apply.
"white": false,
// Quote formatting
"quotmark": true,
// Complexity
// Maximum number of function parameters.
"maxparams": 5,
// Maximum block nesting depth.
"maxdepth": 3,
// Maximum number of statements per function.
"maxstatements": 25,
// Maximum cyclomatic complexity.
"maxcomplexity": 6
}

View File

@@ -1,5 +0,0 @@
/.build/* # Build folder
/public/* # ignore all public resources
/.* # any hidden (dot) files
*.md # Markdown files
*.css # CSS files

View File

@@ -1,5 +0,0 @@
.DS_Store
.idea/
.build/
node_modules/
*.iml

1
.swift-version Normal file
View File

@@ -0,0 +1 @@
3.0.2

52
.swiftlint.yml Normal file
View File

@@ -0,0 +1,52 @@
disabled_rules: # rule identifiers to exclude from running
- colon
- comma
- control_statement
- line_length
opt_in_rules: # some rules are only opt-in
- empty_count
- missing_docs
# Find all the available rules by running:
# swiftlint rules
included: # paths to include during linting. `--path` is ignored if present.
- Sources/App
excluded: # paths to ignore during linting. Takes precedence over `included`.
# configurable rules can be customized from this configuration file
# binary rules can set their severity level
force_cast: warning # implicitly
force_try:
severity: warning # explicitly
# rules that have both warning and error levels, can set just the warning level
# implicitly
# line_length: 110
# they can set both implicitly with an array
type_body_length:
- 300 # warning
- 400 # error
# or they can set both explicitly
file_length:
warning: 500
error: 1200
# naming rules can set warnings/errors for min_length and max_length
# additionally they can set excluded names
type_name:
min_length: 4 # only warning
max_length: # warning and error
warning: 40
error: 50
excluded: iPhone # excluded via string
variable_name:
min_length: # only min_length
error: 3 # only error
excluded: # excluded via string array
- id
- URL
- GlobalAPIKey
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit)
cyclomatic_complexity:
warning: 30
error: 50
function_parameter_count:
warning: 7
error: 11

View File

@@ -1,12 +1,21 @@
language: node_js
node_js:
- '5'
before_script:
- npm install -g bower
- npm install -g grunt
- npm install -g grunt-cli
env:
- CI=true
os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode8.2
script:
- eval "$(curl -sL https://swift.vapor.sh/ci)"
- eval "$(curl -sL https://swift.vapor.sh/codecov)"
notifications:
email:
recipients:
- josephblau@gmail.com
deploy:
provider: heroku
strategy: git
app: gitignoreio-stage-swift
on: vapor-swift-migration
api_key:
secure: In+pMxDoWCe5h2oCi20pCpLGLdiqvP1SuWqTkFm1G1LPtZ7LIcIbxlCgiWGlWqaPnwC5n0VkpOEkOSnFZz2E7ffKQuzonvEBUPl5EFLzfJxeHUDWaaMGWfadx2kR21cx/wTyEZseSqeBm77wbKJKU7D6RqRbCS+MxaavQhaJnKk=

30
.vscode/launch.json vendored
View File

@@ -1,30 +0,0 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "server.js",
"stopOnEntry": false,
"args": [],
"cwd": ".",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"externalConsole": false,
"sourceMaps": false,
"outDir": null
},
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 5858
}
]
}

View File

@@ -1,4 +1,4 @@
## Vision
<h1 align="center">Visione</h1>
The vision for gitignore.io is to become the authoritative source for .gitignore templates. Right now gitignore provides templates for Operating Systems, IDEs and Programming Languages, but can eventually grow to encompass other creative spaces as well.
@@ -6,11 +6,10 @@ The vision for gitignore.io is to become the authoritative source for .gitignore
1. __Add Templates__ - Add more Programming Languages, Operating Systems and IDEs
2. __Organize Files__ - Help organize the files of the system into categories that will make it easier for new comers to contribute templates
3. __Windows Command Line__ - Find a way to make the command line call run on Windows
4. __Explore__ - Git it used primarily used by software engineers but there might be other disciplines which may have workflows that could be improved by using Git
3. __Explore__ - Git it used primarily used by software engineers but there might be other disciplines which may have workflows that could be improved by using Git
## Adding/Updating Templates
<h2 align="center">Add/Update Templates</h2>
* If you want to contribute a new .gitignore template, please add the file to custom template directory.
@@ -20,9 +19,9 @@ The vision for gitignore.io is to become the authoritative source for .gitignore
* If you are editing an existing template, make changes in the template and submit a pull request.
## Organizing Files
<h2 align="center">Organize Files</h2>
Creating new directories to help contributors as the list gets larger. The current format is based on GitHubs gitignore template system, but could be improved
Creating new directories to help contributors as the list gets larger. The current format is based on GitHub's gitignore template system, but could be improved
```
// Suggested Directory Structure
@@ -38,6 +37,6 @@ Creating new directories to help contributors as the list gets larger. The curr
- __patch__ - Patches to GitHub's gitignore list
- __gitignore__ - GitHub submodule of [https://github.com/github/gitignore](https://github.com/github/gitignore)
## Explore
<h2 align="center">Explore</h2>
Looking for new .gitignore template categories. Other disciplines that may start using git could be designers, architects, and writers. Creating template categories to ignore metadata created by their tools is what this section is designed for.

3
Config/app.json Normal file
View File

@@ -0,0 +1,3 @@
{
"key": "default-key"
}

7
Config/clients.json Normal file
View File

@@ -0,0 +1,7 @@
{
"tls": {
"verifyHost": true,
"verifyCertificates": true,
"certificates": "mozilla"
}
}

11
Config/crypto.json Normal file
View File

@@ -0,0 +1,11 @@
{
"hash": {
"method": "sha256",
"key": "password"
},
"cipher": {
"method": "chacha20",
"key": "passwordpasswordpasswordpassword",
"iv": "password"
}
}

21
Config/droplet.json Normal file
View File

@@ -0,0 +1,21 @@
{
"server": "engine",
"client": "engine",
"console": "terminal",
"log": "console",
"hash": "crypto",
"cipher": "crypto",
"middleware": {
"server": [
"file",
"abort",
"validation",
"type-safe",
"date",
"sessions"
],
"client": [
]
}
}

View File

@@ -0,0 +1,3 @@
{
"key": "$VAPOR_APP_KEY"
}

7
Config/servers.json Normal file
View File

@@ -0,0 +1,7 @@
{
"default": {
"port": "$PORT:8080",
"host": "0.0.0.0",
"securityLayer": "none"
}
}

View File

@@ -1,17 +0,0 @@
'use strict';
module.exports = function (grunt) {
// Load the project's grunt tasks from a directory
require('grunt-config-dir')(grunt, {
configDir: require('path').resolve('tasks')
});
grunt.loadNpmTasks('grunt-makara-amdify');
// Register group tasks
grunt.registerTask('build', ['jshint', 'dustjs', 'makara-amdify', 'less', 'requirejs', 'copyto']);
grunt.registerTask('test', [ 'jshint', 'mochacli' ]);
};

19
Localization/default.json Normal file
View File

@@ -0,0 +1,19 @@
{
"global": {
"title": "gitignore.io - Create Useful .gitignore Files For Your Project",
"description": "Create useful .gitignore files for your project by selecting from {templateCount} Operating System, IDE, and Programming Language .gitignore templates"
},
"index": {
"subtitle": "Create useful .gitignore files for your project",
"searchPlaceholder": "Search Operating Systems, IDEs, or Programming Languages",
"searchGo": "Generate",
"searchDownload": "Download File",
"footer": "Hosting {templateCount} Operating System, IDE, and Programming Language .gitignore templates",
"commandLineTitle": "Command Line Docs",
"commandLineDescription": "Learn how to run .gitignore.io from the command line",
"videoTitle": "Watch Video Tutorial",
"videoDescription": "Watch a video to learn how .gitignore.io works",
"sourceCodeTitle": "Source Code",
"sourceCodeDescription": "GitHub hosted source code for .gitignore.io"
}
}

19
Localization/en-US.json Normal file
View File

@@ -0,0 +1,19 @@
{
"global": {
"title": "gitignore.io - Create Useful .gitignore Files For Your Project",
"description": "Create useful .gitignore files for your project by selecting from {templateCount} Operating System, IDE, and Programming Language .gitignore templates"
},
"index": {
"subtitle": "Create useful .gitignore files for your project",
"searchPlaceholder": "Search Operating Systems, IDEs, or Programming Languages",
"searchGo": "Generate",
"searchDownload": "Download File",
"footer": "Hosting {templateCount} Operating System, IDE, and Programming Language .gitignore templates",
"commandLineTitle": "Command Line Docs",
"commandLineDescription": "Learn how to run .gitignore.io from the command line",
"videoTitle": "Watch Video Tutorial",
"videoDescription": "Watch a video to learn how .gitignore.io works",
"sourceCodeTitle": "Source Code",
"sourceCodeDescription": "GitHub hosted source code for .gitignore.io"
}
}

19
Package.swift Normal file
View File

@@ -0,0 +1,19 @@
import PackageDescription
let package = Package(
name: "GitignoreIO",
targets: [
Target(name: "App", dependencies: ["GitignoreIOServer"]),
],
dependencies: [
.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 1, minor: 3)
],
exclude: [
"Config",
"Localization",
"Public",
"Resources",
"data",
"wiki"
]
)

View File

@@ -1 +1 @@
web: node server.js
web: App --env=production --workdir="./"

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Some files were not shown because too many files have changed in this diff Show More