Skip to content

Commit

Permalink
Angular2 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
eitanp461 committed Jan 8, 2017
1 parent a292306 commit 63d6e22
Show file tree
Hide file tree
Showing 90 changed files with 11,275 additions and 1,011 deletions.
29 changes: 25 additions & 4 deletions .gitignore
@@ -1,15 +1,35 @@

# Logs
logs
*.log
npm-debug.log*
config.js
config.ts

# Ignore output of typescript compilation. They WILL be included in the package since .npmignore is empty
*.js
*.js.map
*.d.ts

# Ignore generated output
lib/

# Ignore generated typings
typings/

# Exclude root folder *.js files and
!/*.js

# Exclude important config files
!systemjs.config.js
!webpack.config.js

# Exclude scripts folder
!/scripts/*

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# protractor test results
_test-output/

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
Expand All @@ -23,3 +43,4 @@ build/

## Directory-based project format:
.idea/
.vscode/
3 changes: 3 additions & 0 deletions .npmignore
@@ -0,0 +1,3 @@
!*.js
!*.js.map
!*.d.ts
20 changes: 20 additions & 0 deletions .travis.yml
@@ -0,0 +1,20 @@
dist: trusty
sudo: required
language: node_js
node_js:
- "node"
os:
- linux
# env:
# global:
# - DBUS_SESSION_BUS_ADDRESS=/dev/null
# - DISPLAY=:99.0
# - CHROME_BIN=chromium-browser
# before_script:
# - sh -e /etc/init.d/xvfb start
install:
- npm install
script:
- npm run lint
- npm run test-once
# - npm run e2e
45 changes: 45 additions & 0 deletions .yarnclean
@@ -0,0 +1,45 @@
# test directories
__tests__
test
tests
powered-test

# Exclude tslint since it is secial in having a test folder under the src folder
!tslint/lib/test

# asset directories
docs
doc
website
images
assets

# examples
example
examples

# code coverage directories
coverage
.nyc_output

# build scripts
Makefile
Gulpfile.js
Gruntfile.js

# configs
.tern-project
.gitattributes
.editorconfig
.*ignore
.eslintrc
.jshintrc
.flowconfig
.documentup.json
.yarn-metadata.json
.*.yml
*.yml

# misc
*.gz
*.md
92 changes: 5 additions & 87 deletions CHANGELOG.md
@@ -1,93 +1,11 @@

1.0.0 / 2016-03-15
1.0.0-rc1 / 2016-12-19
==================
First release

New Features
------------

* Support Responsive behaviour

Other Changes
-------------

* Add tests for responsive behaviour
* Add spec and karma to bower ignore list
* Merge pull request #42 from gilhanan/gilhanan-readme-patch-1
* Add bower install instructions

0.2.0 / 2016-01-14
==================

jQuery independent version
--------------------------

* Use Cloudinary new API
* Create CloudinaryProvider.
* Separate sample app to with and without jQuery.

Other changes
-------------

* Add setter and getter to Cloudinary provider. Serve `jQuery.cloudinary` if present.
* Add NPM package.json file
* Add spec file. Add Karma configuration.
* Update gitignore. Update dependencies.
* Rename spec file. Remove coverage and add Chrome to the karma test.
* Fix sample project dependency. Remove leftover file.
* Add uploaded image preview to the jQuery upload page
* Support PhantomJS
* Change ng-file-upload input to match version 11.
* Merge pull request #40 from ArdentKid/master
* bower dependency fix for "cloudinary_ng"

0.1.4 / 2015-08-23
==================

* Upgrade Angular to 1.4 and ng-file-upload to version 7.0.x
* Merge pull request #35 from BrittanyLea/editReadMe
* Edited typo under Uploading Images section.
* Change sample project's bower to install local version of the package.
* Fix #16 multiple drag and drop
* Modified bower configuration
* upgrade angular file upload to latest version. support multiple file uploads in sample
* Merge branch 'NotBobTheBuilder-master' from PR #14
* Friendlier DI for minification compatibility

0.1.3 / Never released
======================

* support angular 1.3 as well
* Merge pull request #12 from vvvvalvalval/master
* Corrected typos in sample README
* Merge pull request #9 from skiomusic/master
* Merge pull request #1 from nealclark/master
* Observe version attribute, reload image on change

0.1.2 / 2014-09-04
==================

* Merge pull request #8 from carlositocasal/bower-json-update
* Correct homepage url.
* Update README.md
* Merge pull request #7 from iwoodruff/master
* Update README.md
* update readme to reflect angular file upload addition
* Merge branch 'fix-angular-dependency-injection' of https://github.com/dsager/cloudinary_angular
* add support for angular file upload (https://github.com/danialfarid/angular-file-upload)
* version bump
* added missing semicolon
* define $scope parameter as injected for controller in order to avoid mangling errors
* Merge pull request #5 from dsager/bower-json-main-entry
* added main entry to bower.json
* make publicId in ng-image dynamic. issue #1

v0.1.1 / 2014-05-26
===================

* fix cloudinary_js dependency. add list enabling instructions to sample. fix sample dependency
* make the package not private

v0.1.0 / 2014-05-26
===================

* initial commit: 0.1.0
* cl-image and cl-video components
* cl-transformation attribute directive
* clSrc, clHref, clSrcset attribute directives
118 changes: 118 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,118 @@
# Contributing to Cloudinary Angular SDK

Contributions are welcome and greatly appreciated!

## Reporting a bug

- Ensure that the bug was not already reported by searching in GitHub under [Issues](https://github.com/cloudinary/cloudinary-angular-2/issues) and the Cloudinary [Support forms](https://support.cloudinary.com).
- If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/cloudinary/cloudinary-angular-2/issues/new).
Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
- If you require assistance in the implementation of the Cloudinary Angular SDK please [submit a support request](https://support.cloudinary.com/hc/en-us/requests/new) in the Cloudinary web site.

## Requesting a feature

We would love to hear your requests!
Please be aware that some features may not be applicable to all users.

- Open a GitHub [issue](https://github.com/cloudinary/cloudinary-angular-2/issues/new) describing the benefits (and possible drawbacks) of the requested feature

## Fixing a bug / Implementing a new feature

- Follow the instructions detailed in [Code contribution](#code-contribution)
- Open a new GitHub pull request
- Ensure the PR description clearly describes the bug / feature. Include the relevant issue number if applicable.
- Provide test code that covers the new code

## Code contribution

When contributing code, either to fix a bug or to implement a new feature, please follow these guidelines:

#### Fork the Project

Fork [project on Github](https://github.com/cloudinary/cloudinary-angular-2) and check out your copy.

```
git clone https://github.com/contributor/cloudinary_ng.git
cd cloudinary_ng
git remote add upstream https://github.com/cloudinary/cloudinary-angular-2.git
```

#### Create a Topic Branch

Make sure your fork is up-to-date and create a topic branch for your feature or bug fix.

```
git checkout master
git pull upstream master
git checkout -b my-feature-branch
```
#### Rebase

If you've been working on a change for a while, rebase with upstream/master.

```
git fetch upstream
git rebase upstream/master
git push origin my-feature-branch -f
```


#### Write Tests

Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build.

We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix.

#### Write Code

Implement your feature or bug fix.
Follow [Angular's style guide](https://angular.io/styleguide).

#### Write Documentation

Document any external behavior in the [README](README.md).

#### Commit Changes

Make sure git knows your name and email address:

```
git config --global user.name "Your Name"
git config --global user.email "contributor@example.com"
```

Writing good commit logs is important. A commit log should describe what changed and why.

```
git add ...
git commit
```


> Please squash your commits into a single commit when appropriate. This simplifies future cherry picks and keeps the git log clean.
#### Push

```
git push origin my-feature-branch
```

#### Make a Pull Request

Go to https://github.com/contributor/cloudinary_ng and select your feature branch. Click the 'Pull Request' button and fill out the form.
Pull requests are usually reviewed within a few days.

Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.

#### Check on Your Pull Request

Go back to your pull request after a few minutes and see whether it passed the Travis-CI build.
Everything should look green, otherwise fix issues and amend your commit as described above.

#### Be Patient

It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang on there!

#### Thank You

Please do know that we really appreciate and value your time and work, and that open source rocks!
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 https://cloudinary.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

0 comments on commit 63d6e22

Please sign in to comment.