Gerasimos (Makis) Maropoulos
b8cafce6b9
add simple tests for _examples/mvc/hello-world and session-controller
...
Former-commit-id: d88a792ba57cd869d2888f41bca6eb3e5b4f7d49
2017-12-16 21:27:20 +02:00
Gerasimos (Makis) Maropoulos
55dfd195e0
remove the old 'mvc' folder - examples are not changed yet - add the 'di' package inside the mvc2 package - which will be renamed to 'mvc' on the next commit - new mvc.Application and some dublications removed - The new version will be version 9 because it will contain breaking changes (not to the end-developer's controllers but to the API they register them) - get ready for 'Christmas Edition' for believers
...
Former-commit-id: c7114233dee90ee308c0a3e77ec2ad0c361094b8
2017-12-15 20:28:06 +02:00
Gerasimos (Makis) Maropoulos
8dcbdc0741
performance close to handlers if no bindings but even if bindings except service (new feature is that we can bind functions as well) is x1.1 faster than the previous mvc implementation - make BaseController (so and C) optionally but not break the existing APIs that using iris.C or mvc.C
...
Former-commit-id: a26a8f836894c061e0f435df8ac1c2c534f0ee48
2017-12-13 06:17:28 +02:00
kataras
2d80d73ad7
Merge branch 'master' into dev
...
fix route url reverse and add OnPing at websocket
Former-commit-id: ac8317f8a2516f00150d52f27e48953f49cf76d4
2017-12-04 05:08:10 +02:00
kataras
7043f352d9
made it work but looking for another approach
...
Former-commit-id: e61c4573543c57b8d6d4ef2583e40f52c391402f
2017-12-04 05:06:03 +02:00
honux
9197fd7349
Fixed a bug on router/path
...
- Stored the args length on a variable instead of three consecutive calls to the len method on "toStringSlice" function;
- Improved readability on "toStringSlice" function;
- Fixed a bug on "URL", which all routes without parameters would not return the full uri (just the path);
Former-commit-id: 3ddd8869087aa9046bdb874f98985b76daaa249e
2017-12-02 17:45:43 -02:00
kataras
dd5de52f34
implement a way to add controller functions as handlers with the existing rules respected but it's a bit dirty I will change the implementation and move the mvc2 to mvc and make the api builder's PartyFunc to be a critical part of the controller and the mvc2.Mvc bind values should be also respected to the controller and more
...
Former-commit-id: e452a916da80d886535b8ae9625d0ba8e2b58d6e
2017-11-27 21:39:57 +02:00
kataras
907ba28f84
give some more control over request params and their entries for the end-developers
...
Former-commit-id: 91362d3de5c63faf0d124e66747e40ad0df04fbb
2017-11-23 12:30:13 +02:00
kataras
42e7faec52
update the vendor of the new iris-contrib/i18n to support multi locale files as requested at: https://github.com/kataras/iris/issues/815
...
Former-commit-id: 06d7c704caf97eae1fc81228425fddb588f2f68c
2017-11-22 01:01:45 +02:00
kataras
9640f59961
app. SPA from router wrapper to a simple handler, works faster now. Iris' router respects wildcards with other paths as well (unique) for almost a half year now... so we don't need a whole wrapper for those things anymore, fixes https://github.com/kataras/iris/issues/807
...
Former-commit-id: 5bd7f24997bb025a01bb92960a1bf255f073a228
2017-11-10 16:15:47 +02:00
kataras
2a0c6dade6
Update to version 8.5.8 | Read HISTORY.md
...
Former-commit-id: 82128ce7a2896a9a8bafd7a5268b0b42057fc21a
2017-11-09 12:03:14 +02:00
kataras
7723e438a1
able to share static configuration between multiple server instances based on the homepath+iris.yml file with iris.WithGlobalConfiguration configurator
...
Former-commit-id: 3e528a3d01eb36b4c0781149e52acffd4dc5cf9f
2017-11-07 01:40:56 +02:00
kataras
af9a1f1241
Update to version 8.5.6 | Read HISTORY.md
...
Former-commit-id: 3c1fb7ad47d54133f68ee0ee8ebe4c3835fe4ce0
2017-11-05 04:12:18 +02:00
kataras
ef41e07d4e
Add a better example for the recaptcha middleware as requested at: https://github.com/kataras/iris/issues/799
...
Former-commit-id: 85c3286a9d6be5cf47631e7608f70f3790934e64
2017-11-04 02:59:21 +02:00
kataras
15feaf0237
Update to version 8.5.5 | Read HISTORY.md
...
Former-commit-id: dced7d472edabbab4f80c76051f13261928a8dea
2017-11-02 05:54:33 +02:00
Gerasimos (Makis) Maropoulos
6607008054
We need your help with translations into your native language.
...
Former-commit-id: 80e748ff4a8f17fe38dd6707f7686bae2acfcbfe
2017-10-26 06:40:52 +03:00
Gerasimos (Makis) Maropoulos
49ee8f2d75
Update to version 8.5.0 | NEW: MVC Output Result | Read HISTORY.md
...
Former-commit-id: 6a3579f2500fc715d7dc606478960946dcade61d
2017-10-09 15:26:46 +03:00
Gerasimos (Makis) Maropoulos
4fb78bbcd9
Update sessions/sessiondb/badger to its latest version and SessionController is able to initialize itself if session manager is not provided by the caller-dev.
...
Changes:
Update the badger database using transactions, as supported from yesterday via: 06242925c2
Add a custom `OnActivate` via mvc/activator/activate_listener.go, this can be used to perform any custom actions when the app registers the supported Controllers. See mvc/session_controller.go for the excellent use case.
errors.Reporter.AddErr returns true if the error is added to the stack, otherwise false
Former-commit-id: c896a2d186a4315643f3c5fdb4325f7ee48a9e0a
2017-10-06 01:19:10 +03:00
ZaniaDeveloper
0d339ce91e
Fixup #778
...
UseGlobal call order.
Former-commit-id: 293b37e6071e55aaa6c39bf12db9aed5c453c235
2017-10-05 08:15:05 +03:00
Gerasimos (Makis) Maropoulos
e066771207
Add support for multi http methods route registration at the .HandleMany
...
Former-commit-id: 6aa2c3027d64dac31a1cf84d782a3c63ad7b2fb0
2017-10-02 04:01:23 +03:00
Gerasimos (Makis) Maropoulos
38c6241055
Add a third, simple, example for folder structuring as requested at https://github.com/kataras/iris/issues/748
...
One change to code base but it will be described at the next version:
Error Handlers (`app.OnErrorCode/OnAnyErrorCode`) respect the `app.UseGlobal`'s middlewares now (not the `app.Use` for reasons we can all understand, hopefully).
Former-commit-id: ec97bbb04548f9932cf4d7b950be513b70747bcb
2017-10-01 16:29:25 +03:00
Gerasimos (Makis) Maropoulos
3e6ec4d441
fix https://github.com/kataras/iris/issues/762
...
Former-commit-id: 13d1a274518ed6b2fdfa9fefd02021b0ebc3071f
2017-10-01 06:26:21 +03:00
Gerasimos (Makis) Maropoulos
bff09c1a93
Improve memstore's GetBoolDefault
...
Former-commit-id: db47fcf76eaf09ea9d63bae2623c61a1af435c39
2017-09-29 03:58:43 +03:00
Gerasimos (Makis) Maropoulos
1a57504431
Add nil checks for memstore's GetInt, GetInt64, GetFloat64, GetBool and remove the golang/net/context's interface completion from Context
...
Former-commit-id: f79940acf96d44df5bae8eaaaf20086fdc5e251e
2017-09-29 03:54:05 +03:00
Gerasimos (Makis) Maropoulos
88b2343bd9
Implement "badger" kv store back-end for sessions
...
Former-commit-id: b9d85467238b5611d177b2b95ac9815cf5f8fe83
2017-09-24 14:32:16 +03:00
Gerasimos (Makis) Maropoulos
ff8f96d56d
fix https://github.com/kataras/iris/issues/760 and deeper
...
Former-commit-id: 65e8848933386f1d3253b560bbd160079bf4d876
2017-09-22 13:46:00 +03:00
Gerasimos (Makis) Maropoulos
99c6d3546e
Add "release" badge at README.md
...
Former-commit-id: 0344c998a68284bb0310da4b0131fdc1aec7c64a
2017-09-17 14:43:35 +03:00
hiveminded
f23e21f747
fix misspells 🆎 , previous commit: update to version 8.4.1 8a9a498316
[formerly 9e5f0a08049b83605aa847b8f51fb856427354a6]
...
Former-commit-id: d0f8c8018c14acc3b425b56c466f78a7b8e6fd84
2017-09-07 16:24:30 +03:00
hiveminded
8a9a498316
update to version 8.4.1 ❤️ https://github.com/kataras/iris/blob/master/HISTORY.md#th-07-september-2017--v841
...
Former-commit-id: 9e5f0a08049b83605aa847b8f51fb856427354a6
2017-09-07 16:20:31 +03:00
kataras
fcfc65a7bc
add h2 header manually for pre-go 1.9 users when manually key files are being used
...
Former-commit-id: edf521fc02de87b53cd3bdf0b8e77610dd535862
2017-09-05 14:47:41 +03:00
hiveminded
d7ec0d4416
add content type and response text to the Controller 💯
...
Former-commit-id: 99cde0a445027b10839155501a7918732a783af3
2017-09-02 14:32:14 +03:00
kataras
591806795e
Update to 8.4.0 | New macro type, new high-optimized MVC features. Read HISTORY.md
...
Former-commit-id: b72a23ba063be60a9750c8b1b0df024b0c8ed549
2017-08-27 18:46:04 +03:00
kataras
f7b655f145
Happy weekend! Due the latest news we have a single change for your own safety. iris.AutoTLS
users should pass all the necessary information now, these are the recommended by letsencrypt.
...
Iris devs should declare all the information now, there is no option to "leave something out" anymore, it's for your own good. Version is not changed yet, giving you time to see that changelog and do the necessary changes to your codebase, it will written to HISTORY.md too of course.
Before:
app.Run(iris.AutoTLS(":443"))
Now:
app.Run(iris.AutoTLS(":443", "example.com", "mail@example.com")
Happy weekend!
Former-commit-id: f5314a8c1f8303d7216481d05129eb8a62766e14
2017-08-26 01:33:55 +03:00
kataras
83fbef2d2f
Happy weekend! Due the latest news we have a single change for your own safety. iris.AutoTLS
users should pass all the necessary information now, these are the recommended by letsencrypt.
...
Iris devs should declare all the information now, there is no option to "leave something out" anymore, it's for your own good. Version is not changed yet, giving you time to see that changelog and do the necessary changes to your codebase. Happy weekend!
Former-commit-id: 490ce14a1022a2b81d347d7f59c2bb5412cfcdf2
2017-08-26 01:28:30 +03:00
kataras
5ffc7911cd
Add a TODO on the latest HISTORY.md entry
...
Also disable version updater on Iris benchmark source code files. It may runs ever faster than before if you started the benchmarks immediately after the banner 👍
Former-commit-id: a55dc1e0b658d7386229c32ba6953b1ea60f2872
2017-08-24 15:40:06 +03:00
kataras
91bad4b82b
Push v8.3.4 | Read HISTORY.md
...
Former-commit-id: e660dd91a4aae6d58c823f89cca733f02256c819
2017-08-23 17:01:51 +03:00
kataras
8b3c44b0a3
Give read access to the current route, a feature that many of you asked for
...
Former-commit-id: 39295ac1331ee08d3047c84f5c8ea152bce96781
2017-08-23 16:46:55 +03:00
sy264115809
e466765842
bugfix: trim relative slash incorrectly in apiBuilder.Party
...
Former-commit-id: 9c41facfe3b99138e80de6f12f6fea191e53cf60
2017-08-23 11:14:16 +08:00
kataras
e12513a534
Update to 8.3.2 | Read HISTORY.md file
...
Former-commit-id: e6ab761989d596cb004c39e65e04e8968d9461ab
2017-08-22 13:00:24 +03:00
kataras
b96476d100
Update to 8.3.0 | MVC Models and Bindings and fix of #723 , read HISTORY.md
...
Former-commit-id: d8f66d8d370c583a288333df2a14c6ee2dc56466
2017-08-18 17:09:18 +03:00
kataras
35620f6ecb
Update to 8.2.6 | More on Iris Controllers: optional EndRequest
. Read HISTORY.md
...
Former-commit-id: 5255ca5c4a898e2f3e7388f3af0457599e65f87f
2017-08-14 16:21:51 +03:00
kataras
8cd07719a6
Update to 8.2.5 | Say Hello to Controllers. Read HISTORY.md
...
Former-commit-id: 70f8619440497d132362da86c5187bcc57f8687b
2017-08-13 21:58:34 +03:00
kataras
2786ca1960
MVC Example - you can learn a lot | Asleep for your eyes (again)
...
Former-commit-id: cd66c00b29c903b724763cb84cae96426934acb5
2017-08-13 07:57:47 +03:00
kataras
39a24fb7cb
Document https://github.com/kataras/iris/issues/720 and fix https://github.com/kataras/iris/issues/719 for good
...
Former-commit-id: 75b855bee9216c28ce8e1ff46aee467766c37f23
2017-08-13 01:47:19 +03:00
kataras
e00cf383a2
Vol2 : https://github.com/kataras/iris/issues/717 , worked
...
Former-commit-id: f4a19eb83a28279782b8a75ee298b38c9e180157
2017-08-12 08:49:00 +03:00
kataras
71af9d7f45
untested solution for https://github.com/kataras/iris/issues/717 , waiting for respond before push the minor version
...
Former-commit-id: 6c7f36dde24f36f513b4a6f939a6d52c18c6c8ed
2017-08-12 07:02:56 +03:00
kataras
bf929aa557
Update to 8.2.3 | Fix https://github.com/kataras/iris/issues/714
...
Former-commit-id: 67ec32dd9ca5f228f56b2b73196cfa9c2ae94474
2017-08-10 21:15:26 +03:00
kataras
4da5cd47f1
Update to 8.2.2 | Google reCAPTCHA. Read HISTORY.md
...
Former-commit-id: dc8ee74fa33b2fbc41659c9097955afb152d5a6f
2017-08-10 15:21:42 +03:00
kataras
48e352e1df
Update to 8.2.0 | BoltDB session database, fix file sessiondb, faster, simpler and improvement Session Database API
...
Former-commit-id: 4034737a65b78a77277e4283fd9289c17f4a452e
2017-08-07 06:04:35 +03:00
hiveminded
9143ccec6e
add PartyFunc and gofmt -s -w . 🔷
...
Former-commit-id: a3809498a45140d691f3f235ad9cb25239d495a2
2017-08-01 22:25:08 +03:00
kataras
6432759dbf
Give an easier and more permant solution for https://github.com/kataras/iris/pull/689
...
Former-commit-id: 8dc16d15f7bd14cb98b91b16d7d6b1bd756132bd
2017-07-29 04:27:58 +03:00
kataras
726d89fd1b
fix https://github.com/kataras/iris/issues/683#issuecomment-317229068
...
Former-commit-id: a42c54708297e6fed78d6fdc2b7cd5ee91c9574b
2017-07-23 12:10:51 +03:00
hiveminded
9a0b18acbf
move sessions and websocket examples, gofmt, fix misspells and experimental optimizations 🍐
...
Former-commit-id: cae4f94bbd404d26ab13dade02b52f81feaddf24
2017-07-22 22:57:20 +03:00
Gerasimos (Makis) Maropoulos
a2af84336f
Merge pull request #679 from corebreaker/get-reporter
...
Add GetReporter method for getting the Reporter. Fixes #678
Former-commit-id: c4aea6edbd657dec9c76e01b91fe1570f2b198f8
2017-07-18 23:22:14 +03:00
corebreaker
0e3b29c551
Gofmt
...
Former-commit-id: a665e3f1253feb0d520c79ea499cba1f205c9c4f
2017-07-18 23:13:05 +03:00
hiveminded
feb1d264c0
add quicktemplate example. Iris + Quicktemplate made easy 👍
...
Former-commit-id: b17fb21d8c1d5a73f9f9170f49ae0527870377a1
2017-07-18 21:17:23 +03:00
corebreaker
6b747affad
Tests failed, maybe net port problem
...
Former-commit-id: c02333acba09575a655cde67d41e11223ec9d1c0
2017-07-18 16:27:12 +03:00
corebreaker
68a28b3a5d
Add GetReporter method for getting the Reporter
...
Former-commit-id: 4c3f6144c2303b2f8f740251335454a80f51d457
2017-07-18 15:37:39 +03:00
kataras
093d087a68
Update to 8.0.4 | New: transfer a message to the request logger
...
Former-commit-id: 2bab3c9f28f7e9edd5d85e579349f70388af871d
2017-07-17 17:42:51 +03:00
kataras
56aa3de645
Update to 8.0.3 | Request logger improvements, error handlers improvements. Read HISTORY.md
...
Former-commit-id: fb5eca0dc955d8c07fdba35b47068008565dbbd1
2017-07-16 13:58:10 +03:00
kataras
5752625c80
Update to 8.0.2. Read HISTORY.md for the surpise
...
Former-commit-id: bbdf020ccaa986c332716aa7f749b7bdc24e427e
2017-07-15 17:40:29 +03:00
hiveminded
16ccb2edc4
omit errors received by the server via configuration 🍪 | requested by https://github.com/kataras/iris/issues/668
...
relative link: https://github.com/kataras/iris/issues/668
Former-commit-id: 6491abd68b74e18bf4ed0b32406e67597c9b55a9
2017-07-13 16:31:36 +03:00
kataras
9f85b74fc9
Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded
...
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
2017-07-10 18:32:42 +03:00
kataras
e0128d204d
Update to 7.2.0. Read https://github.com/kataras/iris/blob/master/HISTORY.md#th-15-june-2017--v720
...
Fix https://github.com/iris-contrib/community-board/issues/12 .
Read more: https://github.com/kataras/iris/blob/master/HISTORY.md#th-15-june-2017--v720
Former-commit-id: 398cb69fdc7e5367b147693371287ffb7b912feb
2017-06-15 20:02:08 +03:00
kataras
a10e80842f
Update to 7.1.1. Read HISTORY.md
...
Fix https://github.com/iris-contrib/community-board/issues/11
Read the latest fixes and features by visiting: https://github.com/kataras/iris/blob/master/HISTORY.md
Former-commit-id: 7f35481f917673d0bbb356a4816d9cf54cc0c9ba
2017-06-13 09:06:10 +03:00
kataras
e4df35e351
Fix https://github.com/iris-contrib/community-board/issues/10 and upgrade the minor version number
...
Former-commit-id: 02f6656aceb890217bfc19688d7f45224df274ec
2017-06-12 18:23:35 +03:00
kataras
6ff4500e3c
Rename MacroMap to simply, Map on tests too
...
Former-commit-id: 22a4d4de2af2763f6d6e16037299dd2df7b05e35
2017-06-12 04:52:06 +03:00
kataras
9dfd5799fc
ineffassign
...
Former-commit-id: 756ac0316a8a78fce1252ac526a504bc8ea24009
2017-06-12 04:50:47 +03:00
kataras
fb85ae15d5
Linting 🅰️
...
Former-commit-id: 367bb53ed6656002c60c40e3ad30bda578de21c6
2017-06-12 04:47:16 +03:00
kataras
74989ad0a1
Remove internal/cmd/gen, it has no use for the end-developer.
...
Former-commit-id: 12bead9d379c6644e391c482fe71b2e88263376c
2017-06-11 23:58:34 +03:00
kataras
d031ad55b8
Update to 7.0.5 | Dynamic and static paths are not in conflict anymore.
...
Read more at: https://github.com/kataras/iris/blob/master/HISTORY.md
Former-commit-id: b636d25c141ebdd5ad095ae9271433876a96e7ff
2017-06-11 23:07:50 +03:00
kataras
c4788ee4e8
add gocov on travis
...
Former-commit-id: 99555baee1f5e8ea73b995a5f6476815fd62e0a4
2017-06-10 04:21:55 +03:00
kataras
26c315cdb1
gofmt -s -w .
...
Former-commit-id: 6cca675303187f10377a7a713b2e7b3cdf16fd18
2017-06-10 03:56:42 +03:00
kataras
c4f5fae561
a bit linting and some tests are online again
...
Former-commit-id: bd5463a169a36b078dba1c1b6e7dd3ffbd627617
2017-06-10 03:31:50 +03:00
kataras
14e7751d21
SetImmutable
for sessions and context's values. https://github.com/iris-contrib/community-board/issues/5
...
New package "memstore" created, read it to see how I made it.
Former-commit-id: 9edc344b938786b2ef68defec03c44259a2d539c
2017-06-08 03:39:15 +03:00
kataras
6282a71a6f
7.0.1 - https://github.com/iris-contrib/community-board/issues/1 https://github.com/iris-contrib/community-board/issues/2
...
Read HISTORY.md
Former-commit-id: 82df2d266055818ffafe0ba66b58cf4ed9089922
2017-06-07 07:20:53 +03:00
kataras
1bea8f5803
Start of the internal cmd
...
gen website examples is the first command that I should finish soon because we need it for the website's "Recipe" page. Two more html query-relative dependencies added.
Former-commit-id: 04b7f8bb968cbc3c441e2a09a4aa525b10cd4aca
2017-06-05 16:57:47 +03:00
kataras
a2df3c9740
Fix django view engine and context.ViewData
...
Former-commit-id: e16a9ef0241f83c4b9a7ebd3b5b7663b33fb070a
2017-06-05 03:27:35 +03:00
kataras
5e4b63acb2
Publish the new version ✈️ | Look description please!
...
# FAQ
### Looking for free support?
http://support.iris-go.com
https://kataras.rocket.chat/channel/iris
### Looking for previous versions?
https://github.com/kataras/iris#version
### Should I upgrade my Iris?
Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready.
> Iris uses the [vendor directory](https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo ) feature, so you get truly reproducible builds, as this method guards against upstream renames and deletes.
**How to upgrade**: Open your command-line and execute this command: `go get -u github.com/kataras/iris`.
For further installation support, please click [here](http://support.iris-go.com/d/16-how-to-install-iris-web-framework ).
### About our new home page
http://iris-go.com
Thanks to [Santosh Anand](https://github.com/santoshanand ) the http://iris-go.com has been upgraded and it's really awesome!
[Santosh](https://github.com/santoshanand ) is a freelancer, he has a great knowledge of nodejs and express js, Android, iOS, React Native, Vue.js etc, if you need a developer to find or create a solution for your problem or task, please contact with him.
The amount of the next two or three donations you'll send they will be immediately transferred to his own account balance, so be generous please!
Read more at https://github.com/kataras/iris/blob/master/HISTORY.md
Former-commit-id: eec2d71bbe011d6b48d2526eb25919e36e5ad94e
2017-06-03 23:22:52 +03:00