Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2016-11-19Merge branch 'fix-typo-in-gitlab-flow' into 'master' Achilleas Pipinellis
Fix a typo in gitlab_flow.md ('munch'->'much') See merge request !7595
2016-11-19Fix wrong linkebuildy
2016-11-19fix typo in gitlab_flow.md ('munch'->'much')kkkkkkkk
2016-11-18Merge branch 'fix-tests-for-different-host' into 'master' Rémy Coutable
Use `Gitlab.config.gitlab.host` over `'localhost'` Use `Gitlab.config.gitlab.host` over `'localhost'` This would fix long standing failures running tests on my development machine, which set `Gitlab.config.gitlab.host` to another host because it's not my local computer. Now I finally cannot withstand it and decided to fix them once and for all. See merge request !7562
2016-11-18Merge branch 'docs/no-artifacts-passing' into 'master' Achilleas Pipinellis
Document how to prevent artifacts from passing to next stage See merge request !7575
2016-11-18Document how to prevent artifacts from passing to next stageAchilleas Pipinellis
[ci skip]
2016-11-18Merge the two Scala examplesAchilleas Pipinellis
[ci skip]
2016-11-18Add Play/Scala CI example with deployment to HerokuJasper Denkers
2016-11-18Merge branch 'rs-project-archive-doc-fix' into 'master' Achilleas Pipinellis
Correct curl examples for archive and unarchive project API [ci skip] See merge request !7559
2016-11-18Use `Gitlab.config.gitlab.host` over `'localhost'`Lin Jen-Shin
This would fix long standing failures running tests on my development machine, which set `Gitlab.config.gitlab.host` to another host because it's not my local computer. Now I finally cannot withstand it and decided to fix them once and for all.
2016-11-18Correct curl examples for archive and unarchive project APIRobert Speicher
[ci skip]
2016-11-18Fix wrong link URLAchilleas Pipinellis
[ci skip]
2016-11-18Add note pointing to limitations section in environments.mdAchilleas Pipinellis
[ci skip]
2016-11-18Clarify the limitation for special chars is for Review AppsAchilleas Pipinellis
[ci skip]
2016-11-18Change order of limitations list in environments.mdAchilleas Pipinellis
[ci skip]
2016-11-18Add an example of invalid characters to branches for review appsAchilleas Pipinellis
[ci skip]
2016-11-18Grammar fix in environments.md: s/base/basisAchilleas Pipinellis
[ci skip]
2016-11-18Merge branch 'update-supported-web-browsers' into 'master' Jacob Schatz
Update "Supported web browsers" text ## What does this MR do? Updates the `Supported web browsers` text in the installation docs. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? Slack discussion ## Screenshots (if relevant) ## Does this MR meet the acceptance criteria? - [ ] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [ ] Added for this feature/bug - [ ] All builds are passing - [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [ ] Branch has no merge conflicts with `master` (if it does - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? See merge request !7341
2016-11-18Merge branch 'sort-api-groups' into 'master' Sean McGivern
Allow sorting groups in API Relates to #20013. See merge request !7529
2016-11-18Update copy.md with issue guideline updates and merge request guidelinesVictor Wu
Update examples and labels to use sentence case. Update copy.md [ci skip] Update copy.md [ci skip] Update copy.md
2016-11-18Fix missing URL from environments docsAchilleas Pipinellis
[ci skip]
2016-11-17Merge branch 'google-singletons-are' into 'master' Jacob Schatz
Decide on and document a convention for singletons > The singleton pattern is a design pattern that restricts the instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. The simplest implementation uses an object literal to contain the logic. ```javascript gl.MyThing = { prop1: 'hello', method1: () => {} }; ``` A live example of this is [GfmAutoComplete](https://gitlab.com/gitlab-org/gitlab-ce/blob/172aab108b875e8dc9a5f1d3c2d53018eff76ea1/app/assets/javascripts/gfm_auto_complete.js.es6) Another approach makes use of ES6 `class` syntax. ```javascript let singleton; class MyThing { constructor() { if (!singleton) { singleton = this; singleton.init(); } return singleton; } init() { this.prop1 = 'hello'; } method1() {} } gl.MyThing = MyThing; ``` A live example of this is [Sidebar](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/sidebar.js.es6) Another functional approach to define Singleton using `Javascript Revealing Module Pattern` is like below ```javascript /** * 1. It instantiates only a single object * 2. It is safe – it keeps the reference to the singleton inside a variable, which lives inside a lexical closure, so it is not accessible by the outside world * 3. It allows privacy – you can define all private methods of your singleton inside the lexical closure of the first module pattern * 4. No this keyword trap (no wrong context referring) * 5. No use of new keyword * 6. Easy to write test code */ // const Singleton = (function () { // Instance stores a reference to the Singleton var instance; function init() { // Singleton // Private methods and variables function privateMethod(){ console.log( "I am private" ); } var privateVariable = "Im also private"; var privateRandomNumber = Math.random(); return { // Public methods and variables publicMethod: function () { console.log( "The public can see me!" ); }, publicProperty: "I am also public", getRandomNumber: function() { return privateRandomNumber; } }; }; return { // Get the Singleton instance if one exists // or create one if it doesn't getInstance: function () { if ( !instance ) { instance = init(); } return instance; } }; })(); const singletonObj = Singleton.getInstance() ``` ## Are there points in the code the reviewer needs to double check? ## What does this MR do? Creates a space for discussion and contribution for interested devs. ## Why was this MR needed? ## Screenshots (if relevant) ## Does this MR meet the acceptance criteria? - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] All builds are passing (http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? See merge request !6620
2016-11-17Allow sorting groups in APISean McGivern
Allow `order_by` and `sort` parameters to `/api/v3/groups.json`. At present, only ordering by name and path is supported, and the default sort is name ascending (alphabetical order).
2016-11-17Merge branch '23740-create-a-doc-for-the-ce-ee-development-workflow' into ↵Robert Speicher
'master' Start to document how to code for CE with EE in mind Closes #23740 [ci skip] See merge request !7248
2016-11-17Fix typosRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-17Merge branch 'docs/environments' into 'master' Achilleas Pipinellis
Mention Git strategy none See merge request !7530
2016-11-17Mention Git strategy noneAchilleas Pipinellis
[ci skip]
2016-11-17Merge branch 'docs/review-apps' into 'master' Achilleas Pipinellis
Add documentation for Review Apps ## What does this MR do? Add docs for review apps. ## What are the relevant issue numbers? Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/23484 See merge request !6982
2016-11-17Merge branch 'mailroom_idle_timeout' into 'master' Rémy Coutable
Allows configuration of idle_timeout for incoming email. https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1087 See merge request !7423
2016-11-17Merge branch 'doc/sentinel' into 'master' Achilleas Pipinellis
Improvements to Redis HA docs Following https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6471 See merge request !7502
2016-11-17Remove ToC since it's now supported in the docs portal itselfAchilleas Pipinellis
[ci skip]
2016-11-17Add 8.14 to versions with further additions to review appsAchilleas Pipinellis
[ci skip]
2016-11-17Add Limitations sections to environments and review apps docsAchilleas Pipinellis
[ci skip]
2016-11-17Add link to environments docsAchilleas Pipinellis
2016-11-17Fix URL to review apps docsAchilleas Pipinellis
2016-11-17Add a prerequisites section, add some linksAchilleas Pipinellis
2016-11-17Link to NGINX example project for the time beingAchilleas Pipinellis
[ci skip]
2016-11-17Get rid most of the irrelevant sectionsAchilleas Pipinellis
[ci skip]
2016-11-17Add note about current limitation in $CI_BUILD_REF_NAMEAchilleas Pipinellis
[ci skip]
2016-11-17Add an intro and an Overview section for Review AppsAchilleas Pipinellis
[ci skip]
2016-11-17WIP review appsAchilleas Pipinellis
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/23484 [ci skip]
2016-11-17Add Review apps link to CI READMEAchilleas Pipinellis
2016-11-17Merge branch 'docs/refactor-environments' into 'master' Achilleas Pipinellis
Refactor environments documentation ## What does this MR do? Refactor environments docs. ## What are the relevant issue numbers? https://gitlab.com/gitlab-org/gitlab-ce/issues/23484 See merge request !7107
2016-11-17Add stop environment permissions and remove deleteAchilleas Pipinellis
[ci skip]
2016-11-17Add note about auto-stopping of environmentsAchilleas Pipinellis
2016-11-17Finish "Stopping envs" and "Grouping similar envs" sectionsAchilleas Pipinellis
[ci skip]
2016-11-17Merge branch 'docs/markdown' into 'master' Achilleas Pipinellis
Remove ToC and fix headings in Markdown docs See merge request !7523
2016-11-17Document the `rake ee_compat_check` taskRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-17Remove ToC and fix headings in Markdown docsAchilleas Pipinellis
[ci skip]
2016-11-17Finish dynamic environments and URLs sectionsAchilleas Pipinellis
[ci skip]