Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CODE_OF_CONDUCT.md #222

Open
wants to merge 721 commits into
base: master
Choose a base branch
from
Open
Changes from 5 commits
Commits
Show all changes
721 commits
Select commit Hold shift + click to select a range
f460af4
Swift 2.2 compat for new changes
kjessup May 17, 2016
9b229bf
merging changes from ambientlight
kjessup May 17, 2016
579a4c5
ambientlight compilation changes - I dorked up the PR
kjessup May 17, 2016
c2daf7c
Include timerfd.h in LinuxBridge
kjessup May 17, 2016
bc6f285
Merge branch 'master' of https://github.com/PerfectlySoft/Perfect
kjessup May 17, 2016
b98cf11
Added String begins(with and ends(with to accomodate Linux differences
kjessup May 17, 2016
aba4ed9
Merge branch 'master' of https://github.com/PerfectlySoft/Perfect
kjessup May 17, 2016
b8ae8ca
Replaced prefix string funcs with end and begins
kjessup May 17, 2016
d1181d9
Linux compilation fixup
kjessup May 17, 2016
df6b97b
Fixed 2.2 compilation
kjessup May 17, 2016
26af928
Linux compilation
kjessup May 17, 2016
2c84921
Merge branch 'master' of https://github.com/PerfectlySoft/Perfect
kjessup May 17, 2016
e2bbbb7
Replaced string.substring with subscript. For Linux
kjessup May 17, 2016
dabeae0
Ubuntu 15 building again
kjessup May 17, 2016
f4dbc1e
Took care of compilation differences between U14 and 15
kjessup May 17, 2016
56ee991
SPM support improvement. Now uses hoembrew ssl and tests build and run.
kjessup May 22, 2016
b56ab53
Updated for Linux build
kjessup May 22, 2016
447a29c
Tweaks to get tests running on Linux. Included Foundation for path co…
kjessup May 24, 2016
6a316de
Re-enabled path components for OSX because @#$%^
kjessup May 24, 2016
bd2bcd9
Fixed regression in FastCGI connection handling
kjessup May 24, 2016
6a5f0cd
Swapped out ntohl et al in favor of Swift local swapping
kjessup May 24, 2016
951ce4a
Improved performance when using NetTCP.readSomeBytes
kjessup May 24, 2016
d52855b
Performance improvements in MIMEReader + 2/3 compat in Mustache
kjessup May 24, 2016
d3a9e39
Performance improvements for HTTP header parsing. Added header parse …
kjessup May 25, 2016
580c54b
Fixed attributes file for linguist-vendored
kjessup May 25, 2016
78417bd
Fixed attributes file for linguist-vendored
kjessup May 25, 2016
8cac817
Added mustache template caching with r/w lock. Tidied up a little code.
kjessup May 25, 2016
e63e609
gitattributes tweak
kjessup May 25, 2016
4ad1795
Further performance tweaks
kjessup May 26, 2016
cc7a274
Added header tests to allTests array
kjessup May 26, 2016
8532a45
Header tests all passing again
kjessup May 26, 2016
0923eee
NetEvent timeouts working on Linux
kjessup May 26, 2016
aaf2f56
Added file function and line number to Throw funcs
kjessup May 26, 2016
0a3e015
All tests passing on Linux
kjessup May 26, 2016
b55e670
Removed obsolete LinuxBridge. Corrected comments in Routing
kjessup May 27, 2016
ac36969
Ubuntu 14 compat with OpenSSL
kjessup May 27, 2016
8997191
corrected a couple inconsistencies in ThreadQueue
kjessup May 27, 2016
c008672
Switch to WebRequest.Method
kjessup May 27, 2016
f9f47fd
Reporting for invalid routes
kjessup May 27, 2016
dc036f2
Added routing trailing wildcard to match any path. Added routing tests.
kjessup May 30, 2016
421924d
Slight tweak to PerfectServer to enable simpler initialization
kjessup May 30, 2016
ecace6a
Updated readme to include PerfectTemplate, etc
kjessup May 30, 2016
e735688
Removed comment
kjessup May 31, 2016
b4121e0
Updated README.md
kjessup May 31, 2016
637e475
Took care of 3.0 preview 1 warnings and an error
kjessup May 31, 2016
c7d3ef6
Added a comment WRT UInt8.hexString to note how it differs from Strin…
kjessup May 31, 2016
dd05a46
Added user/group id switching with PerfectServer.switchTo. Exposed to…
kjessup May 31, 2016
c04adfd
ETag support for StaticFileHandler
kjessup May 31, 2016
a60559f
Refactor StaticFileHandler a little
kjessup Jun 1, 2016
5169a11
Minor formatting and code cleanup
kjessup Jun 1, 2016
b9bb26d
Fixed compilation issue with SPM
kjessup Jun 1, 2016
1865774
update Routes usage description
taplin Jun 1, 2016
9b0aaef
Merge remote-tracking branch 'origin/master'
taplin Jun 1, 2016
ed2b0c6
merge updates to routes description
taplin Jun 1, 2016
4a9040b
Update README.md
kjessup Jun 1, 2016
eea3643
Change mustache API to support async value generation
kjessup Jun 2, 2016
bb37c03
Merge branch 'master' of https://github.com/PerfectlySoft/Perfect
kjessup Jun 2, 2016
f10cdc0
Corrected typo in doc comment
kjessup Jun 2, 2016
2ff0334
Fixed bad deallocation in File. Updated mustache test for API change.
kjessup Jun 2, 2016
84d3252
Removed new compiler warnings in test code. Added additional CURL test
kjessup Jun 2, 2016
bfeb557
Changed to compile with swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a
kjessup Jun 2, 2016
7d64165
Package version range
kjessup Jun 2, 2016
4284e3d
added .swift-version
kjessup Jun 3, 2016
10364c1
the new way of swift 3.0 to generate xcodeproj
kingiol Jun 3, 2016
0d11621
Merge pull request #182 from kingiol/master
kjessup Jun 3, 2016
5688736
Updated README to note proper toolchain
kjessup Jun 3, 2016
4d90ae5
Deleted unused image files
kjessup Jun 3, 2016
09f9cca
Removed Net/Thread code in favor of external modules. Removed Xcode p…
kjessup Jun 6, 2016
85d7e17
Split curl off into its own module. Removed Closable as it just wasn'…
kjessup Jun 6, 2016
82e1a76
Removed curl tests. Unified a file.
kjessup Jun 7, 2016
00154de
Refactored pathExtension extensions to remove duplicate code (thanks …
kjessup Jun 7, 2016
098435e
Removed some obsolete Swift compat code
kjessup Jun 7, 2016
01564c9
Refactored uuid from pointer creation
kjessup Jun 7, 2016
fd65297
File refactoring
kjessup Jun 7, 2016
2776c1e
Some WebRequest refactoring
kjessup Jun 7, 2016
6c13a46
Added a test. Some WebRequest refactoring
kjessup Jun 7, 2016
79af8f4
Fixed regression in File
kjessup Jun 7, 2016
9f2fe91
WebRequest refactoring
kjessup Jun 7, 2016
ee4e88b
Mustache partials now use template cache
kjessup Jun 7, 2016
ca01483
A bit of WebRequest cleanup
kjessup Jun 7, 2016
c3d10d5
A little cleanup and try to get jazzy working better
kjessup Jun 7, 2016
b3fea2d
Updated to newest Swift snapshot
kjessup Jun 7, 2016
0a8479d
Removed warnings for Linux compilation
kjessup Jun 7, 2016
167a401
Removed warnings for Linux compilation
kjessup Jun 7, 2016
cbf290b
Corrected multiple definition Linux compilation problem
kjessup Jun 8, 2016
37d2341
Updated README
kjessup Jun 8, 2016
7c8a97b
Updated README for dep changes.
kjessup Jun 8, 2016
9074fc1
Updated README
kjessup Jun 9, 2016
2b82b8b
Lower cased all enums to match lang guidelines
kjessup Jun 10, 2016
b0bc105
Fixed an error where mustache partials would fail due to relative and…
rymcol Jun 10, 2016
1c52e24
Merge pull request #186 from rymcol/mustache-partial-filepath
kjessup Jun 10, 2016
7372692
Updated README with new banner
kjessup Jun 13, 2016
faa8ac8
Some code cleanup and performance improvements
kjessup Jun 14, 2016
56d4d78
Updated tests
kjessup Jun 16, 2016
ff423df
Updated test for Linux
kjessup Jun 16, 2016
502e7c2
Updated README
kjessup Jun 16, 2016
37e143e
Updated README
kjessup Jun 16, 2016
3ac448f
Updated README
kjessup Jun 16, 2016
cf51807
Updated README
kjessup Jun 16, 2016
17fe188
Updated README
kjessup Jun 16, 2016
df97862
Made MimeType public
kjessup Jun 16, 2016
5f222fe
Cleaned up cookie expiration specification
kjessup Jun 16, 2016
133f3db
Updated README with Next Steps
kjessup Jun 16, 2016
81a57a1
Updated comments
kjessup Jun 16, 2016
3cef75d
Added and cleaned up some comments
kjessup Jun 17, 2016
3ff39e1
Added and cleaned up some comments
kjessup Jun 17, 2016
7b79bf0
Readme Main Banner Link
rymcol Jun 17, 2016
9ca9049
Merge pull request #193 from rymcol/readme-banner-link
kjessup Jun 19, 2016
3c31b5b
added @discardableResult to a few funcs
kjessup Jun 19, 2016
c3ee0d1
Update README.md
kjessup Jun 21, 2016
57b2007
update Routes usage description
JoeFerrucci Jun 22, 2016
21dfa3a
Merge pull request #197 from JoeFerrucci/master
kjessup Jun 22, 2016
5687e46
HTTP refactoring
kjessup Jun 23, 2016
946a8bd
HTTP refactoring
kjessup Jun 23, 2016
683e876
Reapplying headers as enum
kjessup Jun 23, 2016
a25ee9d
Performance tweaks
kjessup Jun 24, 2016
4ddf044
Added slow client test. Fixed a bug the slow client test found.
kjessup Jun 24, 2016
ce93daa
Using 'where' and 'guard' to remove pyramid of doom created by if els…
CoderXpert Jun 24, 2016
eae3ba0
using defer inside for loop for statements which need to execute in e…
CoderXpert Jun 24, 2016
23c9c45
Merge pull request #199 from CoderXpert/dir_refactor
kjessup Jun 25, 2016
f27ac6b
Updated for 6-20 snapshot
kjessup Jun 25, 2016
d8e38f7
Updated for 6-20 snapshot
kjessup Jun 25, 2016
0dff0c7
Updated for 6-20 snapshot
kjessup Jun 25, 2016
41f44ce
Merge branch 'http_refactor'
kjessup Jun 25, 2016
8f5c50b
Access tweaks
kjessup Jun 26, 2016
5e75906
Tweaked access
kjessup Jun 26, 2016
d7b5bcf
Badges stuff
kjessup Jun 26, 2016
22b8b87
A little code cleanup. Added some tests.
kjessup Jun 26, 2016
b7208ba
A little code cleanup.
kjessup Jun 26, 2016
0e7aa45
refactor dynamic loader class to look more like Swifty, by replacing …
CoderXpert Jun 26, 2016
7123fbd
Refactoring few methods in File.swift to use guard syntax to avoid py…
CoderXpert Jun 26, 2016
3c44c68
Updated README
kjessup Jun 27, 2016
7add841
Merge pull request #200 from CoderXpert/refactor_dynamicloader
kjessup Jun 27, 2016
46776c6
Merge pull request #201 from CoderXpert/file_refactor
kjessup Jun 27, 2016
4fd8ffd
Add reference to libssl-dev
iamjono Jun 27, 2016
733d563
HTTPResponseStatus.code
kjessup Jun 27, 2016
fd5ad2e
Renamed HTTPMethod.from. Made it public
kjessup Jun 28, 2016
b457d53
Fixed bad header name check in addHeader
kjessup Jun 28, 2016
8a2c7dd
Updated README
kjessup Jun 29, 2016
09423b6
Updated README with more detailed instructions
kjessup Jun 29, 2016
c7724d4
Fixed regression in httpresponse relating to content-length header
kjessup Jul 1, 2016
275db6b
Corrected problem with not setting content-length on keep-alive. Impr…
kjessup Jul 1, 2016
af2885b
Fix regression in StaticFileHandler when serving byte ranges
kjessup Jul 2, 2016
0075c42
HTTP request filters
kjessup Jul 4, 2016
9c98caa
HTTP response filters. Tests. Routing.reset()
kjessup Jul 5, 2016
45c02bf
Additional test: streaming response filters
kjessup Jul 5, 2016
bd0e14e
Doc comments for new code
kjessup Jul 5, 2016
38dbe45
Updated README
kjessup Jul 5, 2016
1dc517d
Updated README
kjessup Jul 5, 2016
0b7ef6d
Filtering api tweak
kjessup Jul 5, 2016
fc377b5
Minor code refactoring
kjessup Jul 5, 2016
7b06775
Minor code refactoring
kjessup Jul 5, 2016
d291ae2
Added syslog facility
kjessup Jul 5, 2016
a1e182e
Added syslog facility
kjessup Jul 5, 2016
5eccf86
Added syslog facility
kjessup Jul 5, 2016
8acbdf1
Log related facilities
kjessup Jul 6, 2016
cf2cc0e
Added support for tilde expansion in file and direcotry paths
kjessup Jul 6, 2016
886da1d
Additional tweak for tilde expansion in paths
kjessup Jul 6, 2016
142d5cb
Factored out HTTP things.
kjessup Jul 7, 2016
b5d3f72
Updated README
kjessup Jul 7, 2016
1e79cde
Fixed README problem
kjessup Jul 7, 2016
2acb42a
Fixed README problem
kjessup Jul 7, 2016
3c6136a
Updated README
kjessup Jul 8, 2016
4d885b7
Added a few more snippets to README
kjessup Jul 8, 2016
aac40b7
Updated README example
kjessup Jul 9, 2016
64b202c
Cleaned up UUID related meterials
kjessup Jul 10, 2016
2bcfe9d
Little code clean
kjessup Jul 10, 2016
2433033
Updated README
kjessup Jul 12, 2016
c3f92f7
Fixed test which was crashing Linux + a bad test
kjessup Jul 12, 2016
969253a
Made a few Dir funcs be vars instead. Cleaned up UUID related @availa…
kjessup Jul 13, 2016
53123ca
Added higher level file/dir permissions. Added test.
kjessup Jul 13, 2016
4a4f828
Linux compilation issues
kjessup Jul 13, 2016
719e605
Update README.md
kjessup Jul 14, 2016
f064099
Added throws on Dir.forEachEntry
kjessup Jul 15, 2016
fcb547b
Added retry for SysProcess EINTR. Added Dir.workingDir
kjessup Jul 15, 2016
b261b01
Fixed SysProcess closing before error info can be read
kjessup Jul 15, 2016
5221191
Adjusted stringByEncodingHTML to output BR for line breaks
kjessup Jul 18, 2016
5b45384
Added a Bytes test
kjessup Jul 25, 2016
d73f0d3
Updated for 07-25 chain
kjessup Jul 26, 2016
c8d4732
Updated for 07-25 chain
kjessup Jul 26, 2016
27ba77b
UPdated for 07-25 chain
kjessup Jul 26, 2016
65b39c1
Some Linux fixes
kjessup Jul 26, 2016
b1324dc
Abstracted over some lingering Linux/macOS Foundation differences
kjessup Jul 26, 2016
8676e4f
Linux ping pong
kjessup Jul 26, 2016
55f9860
Update README.md
kjessup Jul 27, 2016
c511664
current the freudian slip
iamjono Jul 27, 2016
6d2c95d
Merge branch 'master' of https://github.com/PerfectlySoft/Perfect
iamjono Jul 27, 2016
914beed
add issues location
iamjono Jul 27, 2016
9a46b92
Added Int32 & Int64 Extensions
rymcol Aug 1, 2016
e4329b4
Merge pull request #214 from rymcol/JSON-Int32-Int64
kjessup Aug 2, 2016
c0257d4
Updated for 8-04
kjessup Aug 5, 2016
44c8185
Updated for 8-04
kjessup Aug 8, 2016
e242d32
Update README.md
kjessup Aug 8, 2016
53876f4
Permit direct access to File fd
kjessup Aug 10, 2016
50fcf21
Removed dependency on Net. Re-added custom file path extensions
kjessup Aug 17, 2016
198d95b
Re-added initializeServices for compat
kjessup Aug 17, 2016
3798b3f
Corrected compat func
kjessup Aug 17, 2016
9bffaae
Update README.md
kjessup Aug 17, 2016
658208e
Fixed Linux testing
kjessup Aug 17, 2016
7611253
Update README.md
kjessup Aug 19, 2016
9142666
Opened class JSONConvertible
kjessup Aug 19, 2016
a6e9bf8
Merge branch 'master' of https://github.com/PerfectlySoft/PerfectLib
kjessup Aug 19, 2016
bd51c3b
Incoming edits from Liam
iamjono Aug 19, 2016
80ab238
Update to correct toolchain version
iamjono Aug 19, 2016
42f25ac
Updated for 8-18 toolchain
kjessup Aug 19, 2016
31202e1
Updated readme
kjessup Aug 19, 2016
0e1076b
update with new banners
iamjono Aug 22, 2016
55e7c27
hardcoding size
iamjono Aug 22, 2016
2def842
adding slack
iamjono Aug 22, 2016
f5753fb
formatting
iamjono Aug 22, 2016
7b93ffb
Create CODE_OF_CONDUCT.md
iamjono Aug 22, 2016
0c5debe
Adding code of conduct link, organizing repo mentions
iamjono Aug 22, 2016
eea880b
Slight change to current version presentation
iamjono Aug 22, 2016
e9d5ff7
Center Readme Badges
rymcol Aug 22, 2016
b536bbd
Center Top Images
rymcol Aug 22, 2016
0e795cc
STAY ON THE REPO
rymcol Aug 22, 2016
25ffb31
modifiable interface for child object
scorovit Aug 23, 2016
e04050e
Small grammar update to make the API docs more readable
iamjono Aug 23, 2016
f3d10de
Merge remote-tracking branch 'origin/master'
iamjono Aug 23, 2016
ceed6ce
Merge pull request #215 from rymcol/badges
iamjono Aug 23, 2016
87a54d5
Updating swift snapshot version to 08-23
iamjono Aug 24, 2016
634b7d8
Updated JSON methods in JSONConvertibleObject to
Kumuluzz Aug 24, 2016
cc0d291
Merge pull request #216 from scorovit/patch-1
iamjono Aug 25, 2016
51cc4b3
JSONConvertibleObject properly sub-classable
kjessup Aug 25, 2016
30323ad
Merge pull request #217 from Kumuluzz/master
iamjono Aug 30, 2016
12bfa17
Update README.md
kjessup Sep 1, 2016
dbc361a
Pinned dep versions
kjessup Sep 6, 2016
e79a2ee
Update README.md
kjessup Sep 6, 2016
a713f80
add new banner
iamjono Sep 12, 2016
f76adb1
correct size
iamjono Sep 12, 2016
371a4f8
update toolchain
iamjono Sep 12, 2016
41e1594
Update README.md
kjessup Sep 22, 2016
c83eab0
Update README.md
kjessup Sep 22, 2016
f68a50d
Update README.md
kjessup Sep 22, 2016
7dff05f
Essential Translation with README & CODE_OF_CONDUCT
RockfordWei Sep 27, 2016
16bd271
LICENSE file translated into simplified Chinese
RockfordWei Sep 28, 2016
9249798
Merge pull request #220 from RockfordWei/master
kjessup Oct 3, 2016
dd2e981
Added utf8 decoder variant
kjessup Oct 6, 2016
bc24b90
Added a few missing doc comments
kjessup Oct 13, 2016
ef2ed58
replace gitter with SO
iamjono Oct 19, 2016
a669ec5
deprecating gitter
iamjono Oct 19, 2016
984d4ba
again
iamjono Oct 19, 2016
2862b84
Fixed compilation warning
kjessup Oct 24, 2016
7d2fa55
Perfect Examples references
iamjono Oct 24, 2016
d6a2e28
Updated the Chinese translation.
RockfordWei Oct 25, 2016
792df7e
Merge pull request #221 from RockfordWei/master
iamjono Oct 25, 2016
e0cb262
Update README.md
kjessup Nov 2, 2016
5ad3873
Update README.md
kjessup Nov 2, 2016
2a55361
Corrected waitpid status code handling
kjessup Nov 8, 2016
85fc624
Update CODE_OF_CONDUCT.md
arielelkin Nov 8, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
[![Twitter](https://img.shields.io/badge/Twitter-@PerfectlySoft-brightgreen.svg?style=flat)](http://twitter.com/PerfectlySoft)
[![Join the chat at https://gitter.im/PerfectlySoft/Perfect](https://img.shields.io/badge/Gitter-Join%20Chat-brightgreen.svg)](https://gitter.im/PerfectlySoft/Perfect?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

**The master branch of this project currently compiles with Swift 2.2 and with the 3.0-dev MAY toolchain using Swift Package Manager.**
**The master branch of this project currently compiles with Swift 2.2 and with the 3.0 Preview 1 Release toolchain using Swift Package Manager.**

Perfect is an application server for Linux or OS X which provides a framework for developing web and other REST services in the Swift programming language. Its primary focus is on facilitating mobile apps which require backend server software, enabling you to use one language for both front and back ends.

@@ -32,7 +32,7 @@ swift --version
should produce something like the following:

```
Apple Swift version 3.0-dev (LLVM dffa09ffd8, Clang 9f0d189820, Swift 1c720b8f84)
Apple Swift version 3.0-dev (LLVM 3863c393d9, Clang d03752fe45, Swift e996f0c248)
Target: x86_64-apple-macosx10.9
```

10 changes: 5 additions & 5 deletions Sources/PerfectLib/Routing.swift
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ public struct RouteMap: CustomStringConvertible {
}

/// Add a route to the system using the indicated HTTP request method.
/// `Routing.Routes["GET", "/foo/*/baz"] = { request, response in ... }`
/// `Routing.Routes[.Get, "/foo/*/baz"] = { request, response in ... }`
public subscript(method: WebRequest.Method, path: String) -> RequestHandler? {
get {
return nil // Swift does not currently allow set-only subscripts
@@ -110,7 +110,7 @@ public struct RouteMap: CustomStringConvertible {
}

/// Add an array of routes for a given handler using the indicated HTTP request method.
/// `Routing.Routes["GET", ["/", "index.html"] ] = { request, response in ... }`
/// `Routing.Routes[.Get, ["/", "index.html"] ] = { request, response in ... }`
public subscript(method: WebRequest.Method, paths: [String]) -> RequestHandler? {
get {
return nil // Swift does not currently allow set-only subscripts
@@ -133,11 +133,11 @@ public struct RouteMap: CustomStringConvertible {
///
/// Add routes in the following manner:
/// ```
/// Routing.Routes["GET", ["/", "index.html"] ] = { request, response in ... }
/// Routing.Routes[.Get, ["/", "index.html"] ] = { request, response in ... }
/// Routing.Routes["/foo/*/baz"] = { request, response in ... }
/// Routing.Routes["/foo/bar/baz"] = { request, response in ... }
/// Routing.Routes["GET", "/user/{id}/baz"] = { request, response in ... }
/// Routing.Routes["POST", "/user/{id}/baz"] = { request, response in ... }
/// Routing.Routes[.Get, "/user/{id}/baz"] = { request, response in ... }
/// Routing.Routes[.Post, "/user/{id}/baz"] = { request, response in ... }
/// Routing.Routes["**"] = { request, response in ... } // matches any path
/// ```
/// Variables set by the routing process can be accessed through the `WebRequest.urlVariables` dictionary.