Commit Graph

345 Commits

Author SHA1 Message Date
Kartik Visweswaran
8a436c4acb Code cleanup.
Removed redundant declarations and checks in the code.
2013-11-20 22:45:49 +05:30
Kartik Visweswaran
c550628558 CSS Class assignment correction # 2.
Ensure previous CSS classes are not appended and reinitialized in the foreach loop.
2013-11-20 22:35:35 +05:30
Kartik Visweswaran
affa9589dc CSS Class assignment corrected.
Used ```Html::addCssClass``` and ```Html::removeCssClass``` more effectively.
2013-11-20 19:58:25 +05:30
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
marsuboss
11727d52bd Duplicate 2013-11-19 11:37:43 +01:00
Qiang Xue
83ab0f0655 minor refactoring 2013-11-16 20:39:51 -05:00
Alexander Makarov
ad6411cae2 Fixed LoginForm::getUserByUsername 2013-11-17 02:19:05 +04:00
Alexander Makarov
5795522fc2 Use Yii::$app->user->login result in LoginForm 2013-11-16 22:16:24 +04:00
Alexander Makarov
5b36503ca8 One less SQL query for login sequence in basic and advanced apps 2013-11-16 19:39:11 +04: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
Veaceslav Medvedev
03d70b6e7e Update main.php 2013-11-12 05:21:06 +02:00
Qiang Xue
c8be05665f Fixes #1122: removed init from post-install-cmd-script of composer. 2013-11-08 23:58:58 -05: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
d3f5d34819 Fixed advanced app error view 2013-11-07 01:15:01 +04:00
Alexander Makarov
927e9dddb4 Refactored View 2013-11-06 22:52:27 +04:00
Qiang Xue
48600b8edd Fixed typo. 2013-11-03 00:49:01 -04:00
Qiang Xue
83a937990c moved bootstrap to extension 2013-11-03 00:40:06 -04:00
Qiang Xue
6aa45b34d0 updated dependency. 2013-11-03 00:25:31 -04:00
Qiang Xue
1500f978b0 Fixed dependency of apps 2013-11-02 23:00:13 -04:00
Qiang Xue
3caf59b1bf fixed extension list file location. 2013-11-02 16:04:38 -04:00
Qiang Xue
e5d5ab5655 updated license information. 2013-11-02 15:37:25 -04:00
Qiang Xue
1d092d1755 Changed the exit status to normal. 2013-11-02 13:06:04 -04:00
Alexander Makarov
91b61692c5 Better alias paths for advanced application 2013-11-01 03:16:34 +04:00
Alexander Mohorev
0d04846c08 php short echo syntax 2013-10-28 23:57:40 +03:00
Alexander Mohorev
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +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
Qiang Xue
8fc489091b removed InstallHandler. 2013-10-22 21:13:57 -04:00
Alexander Makarov
c2dabfa78e Adjusted short tags 2013-10-20 00:59:56 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +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
Alexander Makarov
55cc812847 Merge pull request #1012 from KingYes/master
Convert to short syntax [2].
2013-10-18 02:08:15 -07:00
Yakir Sitbon
dfb6e1f404 Convert to short syntax [2]. 2013-10-18 12:03:36 +00:00
Alexander Makarov
e115b0c860 Updated docs, composer.json and other things to mention and use PHP 5.4 2013-10-18 13:01:13 +04:00
Alexander Makarov
f8ddb3d7be Advanced application: added applying migrations to readme 2013-09-28 01:27:23 +04:00
Alexander Makarov
c4354d6be6 Advanced application: init is now automatically called when installing via Composer 2013-09-28 01:14:19 +04:00
Alexander Makarov
4ab2e986c6 Advanced application: init script can now be executed in non-interactive input mode
Usage:
init --env=Development
init --env=Production
2013-09-28 01:10:38 +04:00
Alexander Makarov
907d24fb9e Advanced application: fixed console return codes 2013-09-28 01:01:49 +04:00
Alexander Makarov
e19d0dacf9 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04:00