Commit Graph

1737 Commits

Author SHA1 Message Date
Joannis Orlandos 59e5250fbc Add MainecoonVapor as a provider 2016-10-27 19:35:14 +02:00
Tanner 4df51e7fbb Merge pull request #65 from trustyourfish/master
Middlewar documentation updated reflect latest changes.
2016-10-26 18:36:05 -04:00
steve-suh 0e0fa69075 Middleware documentation updated to reflect latest changes. 2016-10-26 15:30:48 -07:00
Logan Wright 05d053ac01 Merge pull request #36 from VikinArtisan/patch-5
create routing controller
2016-10-24 16:47:22 -04:00
Tanner e87ed0d11f Merge pull request #64 from vapor/fix-active-scroll
fix active scroll
2016-10-24 16:42:05 -04:00
Tanner Nelson 059281b8f5
fix active scroll 2016-10-24 16:41:25 -04:00
Tanner 3976f10816 Merge pull request #62 from hyouuu/master
Typo
2016-10-24 16:33:50 -04:00
vikin aa4d71d879 Resource table finished 2016-10-21 00:06:53 +08:00
hyouuu 63ecf63b8e Typo 2016-10-19 10:03:27 -07:00
vikin 739cb89630 highlighted path 2016-10-18 10:15:17 +08:00
Logan Wright 0edc8649c0 Merge pull request #39 from vapor/leaf
Leaf
2016-10-17 11:27:33 -04:00
Logan Wright 6430033cdb review comments 2016-10-17 11:27:21 -04:00
Logan Wright 8c11cae1a1 Merge branch 'master' into leaf 2016-10-17 11:25:46 -04:00
Logan Wright 8564263317 Merge pull request #47 from courteouselk/master
Some updates to documentation
2016-10-17 11:19:44 -04:00
Logan Wright 0250307e99 Merge pull request #55 from symonty/patch-1
Updated to correct directory structure Sources>Apps
2016-10-17 11:18:39 -04:00
Logan Wright b976b1faa3 Merge pull request #58 from iq3addLi/fix_controllers
fix drop.get(_:, _: ) -> drop.get(_:, handler: )
2016-10-17 11:16:51 -04:00
Logan Wright 7a62f77af4 Merge pull request #61 from bojanstef/master
Update views.md
2016-10-17 11:16:27 -04:00
Bojan Stefanovic 57731f90cd Update views.md
stencil doesn't exist anymore
2016-10-15 17:33:53 -07:00
Tanner Nelson f4ea39ba65
additional packages 2016-10-14 14:10:36 -04:00
Tanner Nelson be9224bd7c
kitura provider 2016-10-14 13:54:45 -04:00
Ikumi Arakane 0f05227d60 fix drop.get(_:_: ) -> drop.get(_: handler: ) 2016-10-14 16:04:12 +09:00
Tanner 85208839ac Merge pull request #56 from vapor/1.1
1.1
2016-10-12 14:09:27 -04:00
Tanner Nelson a92b2086bc
add additional notes 2016-10-12 14:09:17 -04:00
symonty a1c015fbd3 Updated to correct directory structure Sources>Apps
The documentaiton stated >App>main.swift
when I did the process i noted it was >Sources>App>main.swift

Confused me for a bit so I thought it was worth an update
2016-10-11 14:08:23 -07:00
Tanner 8dd4160aa9 Merge pull request #52 from zhao95/patch-2
Program syntax error
2016-10-03 15:06:35 -04:00
Tanner fc62ddbba8 Merge pull request #51 from zhao95/patch-1
Program syntax error
2016-10-03 15:06:20 -04:00
Tanner 084604ff83 Merge pull request #50 from beingadrian/master
Add explanation to import HTTP module
2016-10-03 15:06:04 -04:00
泽熙 82f1c3071a Program syntax error
if drop.config.environment == .production {
    ...
}
-------------------------------------------
if drop.environment == .production {
    ...
}
2016-10-03 18:36:54 +08:00
泽熙 090d51aae5 Program syntax error
drop.any("hello") { request in
	guard let name = request.data["name"].string else {
		throw Abort.badRequest
	}

	return "Hello, \(name)!"
}
---------------------------------------------------------------
drop.get("hello") { request in
    guard let name = request.data["name"]?.string else {
        throw Abort.badRequest
    }
    return "Hello, \(name)!"
}
2016-10-03 18:27:49 +08:00
Adrian Wisaksana de893777a4 Add explanation to import HTTP module 2016-10-02 21:07:07 +08:00
Tanner 57a0d198dc Merge pull request #49 from adriencanterot/patch-1
Swift syntax fix on ` case id as Identifier ` not meaning anything
2016-09-30 20:11:25 -04:00
Adrien Cantérot 8412d1a63f Swift syntax fix on ` case id as Identifier ` not meaning anything 2016-10-01 01:22:32 +02:00
Tanner Nelson 4132b7b5ab
addl config docs 2016-09-29 20:15:28 -04:00
Tanner Nelson 7a84e63fb7
add client config 2016-09-29 19:41:38 -04:00
Tanner Nelson 2d5d8e5614
server / tls config 2016-09-29 19:25:12 -04:00
Tanner 69e5d7d02a Merge pull request #48 from infinite-sea/master
Fixing links on Hello World docs
2016-09-29 16:07:17 -04:00
Infinite Sea Inc b9b2e0e4d7 updates 2016-09-29 07:36:17 -07:00
Infinite Sea Inc 21d9fadca3 Fix links 2016-09-29 07:34:08 -07:00
Anton Bronnikov cd03a75010 Explanation of the difference between request `parameters` vs. `data`
Based on the response from @tanner in slack channel
2016-09-28 18:31:14 +02:00
Tanner 6dcd594b6a Merge pull request #46 from jonaszmclaren/master
Update sessions.md
2016-09-28 09:42:01 -04:00
jonaszmclaren b9fce78e31 Update sessions.md
SessionsMiddleware instead of AuthMiddleware
2016-09-28 15:26:54 +02:00
Anton Bronnikov f595a85e5d Whitespace changes
My brackets keep changing this file in places where I don't really touch it.
2016-09-28 08:22:52 +02:00
Anton Bronnikov 2edb87eee0 Fix broken link to ResponseRepresentable 2016-09-28 08:21:47 +02:00
Anton Bronnikov f747a6c8ab Explain `context` argument from `makeNode`
Based on answer from @loganwright on Slack
2016-09-27 17:25:34 +02:00
Tanner 39efd63d0b Merge pull request #43 from vapor/sessions
sessions
2016-09-27 10:53:14 -04:00
Tanner ef5ec4fc25 Merge pull request #44 from siemensikkema/master
Minor improvements to auth documentation
2016-09-27 10:53:08 -04:00
Tanner 5247fdd4ce Merge pull request #45 from courteouselk/master
Fix makeNode method to reflect its implementation higher in the text
2016-09-27 10:52:50 -04:00
Anton Bronnikov cceecb65ad Fix makeNode method to reflect its implementation higher in the text
It makes the source to compile on top of that
2016-09-27 16:04:44 +02:00
Siemen Sikkema f5f3950f79 Fix login example code 2016-09-27 09:19:31 +02:00
Siemen Sikkema 3ec299e74d Update middleware.md
Replaces 'initialize it earlier and' with 'pass the same instance'. The word 'earlier' did not make sense given the context.
2016-09-27 08:22:01 +02:00