Commit Graph

71 Commits

Author SHA1 Message Date
NotZippy
4d7a290247 Updated readme, Updated travis 2018-09-16 20:04:40 -07:00
NotZippy
3ad381d45b Enhanced package and build to by default not include any source code 2018-09-14 21:32:20 -07:00
NotZippy
d0baaeb9e9 Initial rewrite of revel/cmd to provide vendor support and enhanced CLI options 2018-09-14 21:26:25 -07:00
NotZippy
7e501b8a65 Added missed GPL license to command 2018-04-15 21:09:59 -07:00
vin01
ac056d17af Adding referrer policy security header
It will set a default strict `Referrer-Policy ``strict-origin-when-cross-origin`` that controls what referrer information shall be included with requests.
More: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy, https://scotthelme.co.uk/a-new-security-header-referrer-policy/
It can prevent issues like: https://robots.thoughtbot.com/is-your-site-leaking-password-reset-links
2018-01-06 14:05:20 +05:30
NotZippy
29c6237caf Removed the catch all route, and added comment about security issue 2017-10-22 09:31:18 -07:00
NotZippy
637ccbd250 Updated skeleton to added critical.
modified db.import to support multiple packages
2017-10-07 21:39:13 -07:00
notzippy
db4054233b Merge pull request #99 from Acidic9/master
Remove abort with 'revel new' on empty directory
2017-09-24 13:17:32 -07:00
Ari Seyhun
3907c6575e Clean code 2017-09-23 14:20:09 +09:30
NotZippy
17e7d40d31 Fixed missing debug context parameter name
Added check to see if specfication was not exported
Added warnings if expected types did not match specification
2017-09-20 17:49:34 -07:00
Ari Seyhun
54ce8d3699 Remove abort with 'revel new' on empty directory
If you use 'revel new ...' on an empty directory, revel will abort complaining the directory exists.

With this commit, it will no longer abort if the directory is empty.
2017-09-16 15:24:37 +09:30
NotZippy
9d57681ae6 Updated command to use new logging 2017-09-02 09:10:21 -07:00
NotZippy
e6b34786bb Added mutex lock on Refresh, removed check for app existence 2017-08-07 16:56:19 -07:00
NotZippy
e5255cd373 Updated as requested 2017-07-06 15:31:43 -07:00
NotZippy
3cf6d5094e Changed skeleton back to original 2017-06-07 09:45:09 -07:00
NotZippy
efcd02de37 Modified harness to bootstrap using the go engine. Skeleton app updated to use new request code 2017-06-07 09:45:09 -07:00
NotZippy
1c5fb4a6f8 Fixed captialization 2017-05-31 20:25:04 -07:00
Brenden Soares
a699dab33d Merge pull request #61 from krhubert/develop
Use config.http.addr and config.http.ssl for create baseURL local server
2017-05-30 21:46:51 -07:00
Brenden Soares
bf30aab381 Adding consistent values and example formatting 2017-04-07 12:05:14 -07:00
Brenden Soares
b81860de5f Remove unneeded quotes 2017-04-07 11:34:44 -07:00
Brenden Soares
fb1f8c2706 Fixes issue #77 (regression bug when running revel run appname) 2017-03-24 20:41:17 -07:00
Shawn Catanzarite
5eac8fae04 change up wording 2017-03-20 14:59:20 -07:00
Shawn Catanzarite
3dcee9651d update doc for cookie.secure to match new defaults and add addiitonal info
see #1141
2017-03-20 14:45:51 -07:00
NotZippy
a4888fa407 Found the issue with os... 2017-03-10 02:33:27 -08:00
notzippy
8e4203838a Merge pull request #71 from notzippy/sample-to-example
Changed samples to example to match repository
2017-03-09 16:45:24 -08:00
Pedro Morgan
f6c6c931d3 fix onAppStart docs 2017-03-10 00:06:46 +00:00
NotZippy
8dac9acf77 Changed samples to example to match repository 2017-03-09 16:01:04 -08:00
Pedro Morgan
adcebf9aca Correct bootstrap error class 2017-03-05 01:50:46 +00:00
Pedro Morgan
7b90dfa83e Tidy up skeleton 2017-03-05 00:20:51 +00:00
Nick Wallace
d865cfce90 Added some example code to show that DevMode and RunMode only work from within OnAppStart
Hoping this helps someone else as it took me a while to figure it out. I was wanting to run DEV only code on init.
2016-11-18 13:29:06 -06:00
krhubert
0381636044 Typo in httpProto 2016-08-17 10:20:13 +02:00
krhubert
fb3980ce9d Use config.http.addr and config.http.ssl for create baseURL test server 2016-08-11 11:41:48 +02:00
Jeevanandam M
86e9258a8f Merge pull request #58 from revel/move-skeleton-to-cmd
skeleton moved successfully to cmd repo
2016-06-28 18:54:58 -07:00
Jeevanandam M
54ef57e56d Done #52 skeleton moved successfully to cmd repo 2016-06-25 20:09:38 -07:00
Jeevanandam M
612de1d3a4 #51 - Streamlined app version ad buildtime for revel app 2016-06-25 19:04:40 -07:00
Jeevanandam M
4b46dbb1a7 revel/revel#389 run cmd become more robust 2016-06-18 12:06:12 -07:00
Jeevanandam M
a5c8a8da09 revel/revel#1057 code improvements docs, errcheck, cyclo, etc 2016-06-17 14:34:22 -07:00
Jeevanandam M
5a57eaa743 revel/revel#1057 code improvements 2016-06-08 19:32:13 -07:00
Jeevanandam M
514b078c3d revel/revel#1057 addressing golint ALL_CAPS 2016-06-08 12:09:48 -07:00
Jeevanandam M
e485de7e9c #46 cross platform support 2016-06-07 00:16:51 -07:00
Jeevanandam M
e3f469739c golint taken care for version name 2016-05-31 22:58:56 -07:00
Jeevanandam M
ced303ede6 #19 Revel version command added 2016-05-28 11:07:43 -07:00
Jeevanandam M
6005ac35f7 Merge pull request #20 from metafex/symlink-walk
Switch to revel.Walk, the symlink-aware filepath.Walk helper
2016-05-27 23:23:41 -07:00
Jeevanandam M
b85dd76b3e revel/revel#1004 choose go path relative to current working directory 2016-05-26 17:23:52 -07:00
Jeevanandam M
b00267450e default run mode value updated dev 2016-05-26 17:14:53 -07:00
Jeevanandam M
5282ce262b revel/revel#1014 added check for path like ../dir & ./dir for new command 2016-05-25 22:49:11 -07:00
Jeevanandam M
2e0697adf2 Removed print statement 2016-05-23 22:31:35 -07:00
Jeevanandam M
a7fb140b7a Merge branch 'birkirb-master' into develop 2016-05-22 20:40:58 -07:00
Jeevanandam M
6d12b806d3 Validated PR #14 and fixed issues for the PR 2016-05-22 20:40:13 -07:00
Jeevanandam M
e75cbc42cb updated msg and condition check 2016-05-22 13:49:19 -07:00