Commit Graph

174 Commits

Author SHA1 Message Date
Kartik Visweswaran
70f41387b6 Update Alert.php to add some refinements and clean up bugs.
Added closeButton parameter, assignment of CSS class corrected, and added php doc comments.
2013-11-20 19:39:55 +05:30
Kartik Visweswaran
1c56edd000 Update Alert.php 2013-11-20 18:39:37 +05:30
Kartik Visweswaran
8fc77afc63 Update Alert.php to display multiple flash messages for the session.
The previous alert widget within the advanced/basic app does not render multiple flash messages. The current implementation allows display of all flash messages assigned through setFlash. Also a validation is done for allowed bootstrap alert types.
2013-11-20 17:50:47 +05:30
kumorig
7450fc1000 Small edit for consistency with frontend config.
Small edit for consistency with /apps/advanced/backend/config/main.php. Sorry, my OCD kicked in.
2013-11-20 09:26:51 +09:00
Qiang Xue
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
slavcodev
4c4f7bd708 Move AppAsset from config to assets directory 2013-11-13 18:17:05 +02:00
Qiang Xue
447bad5a12 Merge pull request #1184 from slavcodev/only-arrays-in-rules
Using only arrays in rules instead comma-separated string
2013-11-13 05:37:43 -08:00
Qiang Xue
75dc290a24 Fixes #1193 2013-11-13 08:31:49 -05:00
slavcodev
f57b3536a2 Fixed apps rules 2013-11-13 11:41:25 +02:00
slavcodev
ecc557ef92 Refactor all models to new rules format 2013-11-12 16:39:23 +02:00
Carsten Brandt
016d796e95 advanced app: go back after login, not home 2013-11-12 11:07:14 +01:00
slavcodev
93dd629411 Fix apps phpDoc and short tags 2013-11-12 06:24:07 +02:00
Qiang Xue
998cf7e675 updated apps to use the mail component. 2013-11-07 23:01:13 -05:00
Alexander Makarov
f2484fd616 Modified application templates so when trying to log in when already logged in it just redirects to homepage instead of throwing exceptions 2013-11-07 01:19:36 +04:00
Alexander Makarov
927e9dddb4 Refactored View 2013-11-06 22:52:27 +04:00
Qiang Xue
3caf59b1bf fixed extension list file location. 2013-11-02 16:04:38 -04:00
Alexander Mohorev
0d04846c08 php short echo syntax 2013-10-28 23:57:40 +03:00
Carsten Brandt
9fe0eb6c3f add sorting icons to gridview sort links in basic and advanced app css 2013-10-25 12:02:09 +02:00
Qiang Xue
10553b6afc adjusted the advanced app to use the new yii composer extension installer. 2013-10-22 21:29:42 -04:00
Alexander Makarov
c2dabfa78e Adjusted short tags 2013-10-20 00:59:56 +04:00
Alexander Makarov
24bc980da4 Replaced "<?php echo" with "<?=" that is always available for PHP 5.4 2013-10-18 14:09:11 +04:00
Yakir Sitbon
dfb6e1f404 Convert to short syntax [2]. 2013-10-18 12:03:36 +00:00
Alexander Makarov
e1061f19ac Advanced application template: Delete flash message after it was displayed 2013-09-24 12:07:41 +04:00
Alexander Makarov
bb6d0f1b47 Merge pull request #888 from sergon/patch-5
Update passwordResetToken.php
2013-09-18 11:27:52 -07:00
gsd
41e2c41002 Update SiteController.php 2013-09-18 22:18:12 +06:00
gsd
29394758ba Update passwordResetToken.php 2013-09-18 22:12:47 +06:00
Alexander Makarov
f5778b6bf0 Advanced application enhancements.
- Turned on CSRF validation by default.
- Added access control for login, signup and logout for frontend application.
- Added access control for login, logout and index for backend application.
- YII_ENV is now defined for all applications.
- No trace is writted to logs if debug is turned off.
- Added default error view for frontend and backend.
- In frontend application captcha will always ask for "testme" if YII_ENV is defined as "test".
2013-09-16 02:46:29 +04:00
Alexander Makarov
f877de144b Removed DebugTarget reference from advanced app template configs 2013-09-04 15:55:32 +04:00
Roman Revin
fae8084524 Update alert widget 2013-08-21 11:48:01 +04:00
Alexander Makarov
4b008ae096 Updated bootstrap to release version including wrappers and views 2013-08-21 03:00:13 +04:00
Qiang Xue
1896dd1707 gii WIP 2013-08-16 07:38:18 -04:00
Qiang Xue
65352e500f refactored ActiveField. 2013-08-14 21:17:13 -04:00
lancecoder
c884aca466 Update main.php 2013-08-14 21:07:47 +00:00
Alexander Makarov
6040841687 fixed User class namespace in phpdoc 2013-08-13 02:50:16 +04:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Alexander Makarov
edb77393b2 fixes #736 2013-08-13 01:16:53 +04:00
Qiang Xue
27ad7e1fc7 Added Controller::goHome(). 2013-08-12 13:19:37 -04:00
Qiang Xue
e3801fbf6b Upgraded bootstrap to 3.0RC1. 2013-08-08 20:00:48 -04:00
Alexander Makarov
322dc10d22 fixes #687 2013-08-05 12:10:08 +04:00
Qiang Xue
3d5388ff2b Reorganized captcha code. 2013-08-03 07:20:39 -04:00
Alexander Makarov
71fae803bc fixes #684 2013-08-02 17:22:30 +04:00
Alexander Makarov
1e0decf44d fixes #650 2013-07-29 20:29:55 +04:00
Qiang Xue
3bef7365f1 Fixes #624: renamed www to web. 2013-07-25 07:57:49 -04:00
Qiang Xue
3d10cb1852 Changed default value of Logger::traceLevel. 2013-07-24 07:51:12 -04:00
Alexander Makarov
42397df054 fixed code style 2013-07-22 14:36:48 +04:00
Alexander Makarov
f4b10b56b6 fixes #651 2013-07-22 12:46:58 +04:00
Alexander Makarov
aa3e816023 fixes #652 advanced app fixes 2013-07-22 12:41:25 +04:00
Alexander Makarov
b02f01f6be More on advanced app template:
- Unified way to use Alert
- Added link to restore password to login form
- Refactored restore password
2013-07-21 22:10:31 +04:00
Luciano Baraglia
aff33aaa9f Password input in advanced app signup [ci skip] 2013-07-18 15:07:27 -03:00
Alexander Makarov
fc402dc378 fixed field type 2013-07-18 12:56:20 +04:00