forked from OWASP/SecurityShepherd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…SP#13) * Setting Google Styleguide and adding Contributing.md (OWASP#572) * applying Google code style * applying Google code style * fixing badge for test Co-authored-by: Mark Denihan <[email protected]>
- Loading branch information
1 parent
f8265c7
commit cf57dbf
Showing
1,855 changed files
with
146,749 additions
and
117,860 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
# OWASP Security Shepherd Contributing | ||
|
||
## GitFlow | ||
Shepherd uses [GitFlow](https://datasift.github.io/gitflow/IntroducingGitFlow.html). That basically means you never directly commit to master / dev. | ||
|
||
## Where do I put new code? | ||
To add a new feature or fix a bug in Shepherd, create a fork or branch from the [dev branch](https://github.com/OWASP/SecurityShepherd/tree/dev). When you're branch is complete and your JUnit's have been created / run clear, create a pull request to merge your branch into dev. Squash your commits if you like, if you don't that will be done be at merge. | ||
|
||
## Branch Naming Convention | ||
If you're working on an issue from the backlog, call your branch dev#{issueNumber} | ||
|
||
## Code Format | ||
Shepherd uses [Google's Java format styleguide](https://github.com/google/styleguide/blob/gh-pages/eclipse-java-google-style.xml). Please ensure your IDE will auto format to this spec before you merge. | ||
|
||
## How do I see the Backlog? | ||
Install ZenHub for your browser and click the ZenHub tab that will appear in this repo. The Pipelines are as follows | ||
1. *New Issues* - Issues yet to be reviewed for priority | ||
2. *Ice Box* - Issues that are valid, but have not been prioritized for the backlog | ||
3. *Backlog* - The Backlog order for priority. | ||
4. *In Progess* - Items that are currently being worked | ||
5. *QA Review* - Issues that have pull requests and require review / approval | ||
6. *Closed* - Item is Done | ||
|
||
## How do I setup my dev environment? | ||
[Like This](https://github.com/OWASP/SecurityShepherd/wiki/Create-a-Security-Shepherd-Dev-Environment) | ||
|
||
## Is there a Definition of Done? | ||
*Work in Progess* | ||
- [ ] New Code has 'Good' JUnit Tests that cover it | ||
- [ ] All JUnit Tests Pass | ||
- [ ] Acceptance Criteria of Epic has been satisfied where applicable | ||
- [ ] Code does not introduce a vulnerability that can be leveraged to exploit the system/other users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8,752 changes: 6,547 additions & 2,205 deletions
8,752
src/MobileShepherd/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/MobileShepherd/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<typeInfoHistroy/> | ||
<typeInfoHistroy /> |
2 changes: 1 addition & 1 deletion
2
src/MobileShepherd/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<qualifiedTypeNameHistroy/> | ||
<qualifiedTypeNameHistroy /> |
15 changes: 9 additions & 6 deletions
15
src/MobileShepherd/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<section name="Workbench"> | ||
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart"> | ||
<item value="true" key="group_libraries"/> | ||
<item value="false" key="linkWithEditor"/> | ||
<item value="2" key="layout"/> | ||
<item value="1" key="rootMode"/> | ||
<item value="<?xml version="1.0" encoding="UTF-8"?>
<packageExplorer group_libraries="1" layout="2" linkWithEditor="0" rootMode="1" workingSetName="">
<customFilters userDefinedPatternsEnabled="false">
<xmlDefinedFilters>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.StaticsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.FieldsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter" isEnabled="true"/>
</xmlDefinedFilters>
</customFilters>
</packageExplorer>" key="memento"/> | ||
<section | ||
name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart"> | ||
<item value="true" key="group_libraries" /> | ||
<item value="false" key="linkWithEditor" /> | ||
<item value="2" key="layout" /> | ||
<item value="1" key="rootMode" /> | ||
<item | ||
value="<?xml version="1.0" encoding="UTF-8"?>
<packageExplorer group_libraries="1" layout="2" linkWithEditor="0" rootMode="1" workingSetName="">
<customFilters userDefinedPatternsEnabled="false">
<xmlDefinedFilters>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.StaticsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.FieldsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter" isEnabled="true"/>
</xmlDefinedFilters>
</customFilters>
</packageExplorer>" | ||
key="memento" /> | ||
</section> | ||
</section> |
4 changes: 2 additions & 2 deletions
4
src/MobileShepherd/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
src/MobileShepherd/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<workingSetManager> | ||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1423433682088_0" label="Window Working Set" name="Aggregate for window 1423433682088"/> | ||
<workingSet aggregate="true" | ||
factoryID="org.eclipse.ui.internal.WorkingSetFactory" | ||
id="1423433682088_0" label="Window Working Set" | ||
name="Aggregate for window 1423433682088" /> | ||
</workingSetManager> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 32 additions & 37 deletions
69
src/MobileShepherd/BrokenCrypto/app/src/main/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.mobshep.brokencrypto" | ||
android:versionCode="1" | ||
android:versionName="1.0" > | ||
<manifest | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.mobshep.brokencrypto" android:versionCode="1" | ||
android:versionName="1.0"> | ||
|
||
<uses-sdk | ||
android:minSdkVersion="14" | ||
android:targetSdkVersion="20" /> | ||
<uses-sdk android:minSdkVersion="14" | ||
android:targetSdkVersion="20" /> | ||
|
||
<permission | ||
android:name="com.mobshep.BC.START_ACTIVITY" | ||
android:icon="@drawable/ic_launcher" | ||
android:logo="@drawable/ic_launcher" | ||
android:protectionLevel="dangerous" > | ||
</permission> | ||
<permission android:name="com.mobshep.BC.START_ACTIVITY" | ||
android:icon="@drawable/ic_launcher" | ||
android:logo="@drawable/ic_launcher" | ||
android:protectionLevel="dangerous"> | ||
</permission> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@drawable/ic_launcher" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme" > | ||
<activity | ||
android:name="com.mobshep.brokencrypto.BrokenCrypto" | ||
android:label="@string/app_name" | ||
android:permission="com.app.mobshep.BC.START_ACTIVITY" | ||
android:theme="@style/ShepherdTheme" > | ||
<intent-filter> | ||
<action android:name="com.mobshep.BrokenCrypto.BrokenCrypto" /> | ||
<application android:allowBackup="true" | ||
android:icon="@drawable/ic_launcher" android:label="@string/app_name" | ||
android:theme="@style/AppTheme"> | ||
<activity | ||
android:name="com.mobshep.brokencrypto.BrokenCrypto" | ||
android:label="@string/app_name" | ||
android:permission="com.app.mobshep.BC.START_ACTIVITY" | ||
android:theme="@style/ShepherdTheme"> | ||
<intent-filter> | ||
<action android:name="com.mobshep.BrokenCrypto.BrokenCrypto" /> | ||
|
||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity | ||
android:name="com.mobshep.brokencrypto.Splash" | ||
android:label="@string/app_name" > | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:name="com.mobshep.brokencrypto.Splash" | ||
android:label="@string/app_name"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
Oops, something went wrong.