Panagiotis Moustafellos
f6a3496e8d
Removed trailing whitespace.. (OCD really kicking in)
11 years ago
Panagiotis Moustafellos
a28e74708b
swapped to return []; (OCD kicking in?)
11 years ago
Alexander Makarov
408eee75a9
Used full method names when sending email in advanced app
11 years ago
Alexander Makarov
e3292c959a
Advanced application template now uses mailer component instead of mail() function
11 years ago
Alexander Makarov
65be184344
Fixes #1324 : added missing @console alias to advanced app
11 years ago
Qiang Xue
c6318050d9
removed unneeded setting.
11 years ago
Kartik Visweswaran
817cbc175a
Comments cleanup.
...
Cleaned up a few comments ... hope its not my OCD again... :-)
11 years ago
Kartik Visweswaran
b979d3b024
Reverted closeButton
...
Reverted name to ```closeButton``` to be in sync with the bootstrap ```Alert``` widget.
11 years ago
Kartik Visweswaran
62493188a2
Nomenclature and code realignment.
...
1. Renamed closeButton to closeButtonOptions.
2. Generate unique id for each alert box.
3. Moved parent init to the top.
11 years ago
Kartik Visweswaran
2bff5f80bc
Alert types for flash messages are now configurable.
...
Each flash variable can be mapped to a bootstrap alert type through a configuration array passed to this widget.
11 years ago
Carsten Brandt
e775c82dd8
Changed usage of self to static to allow extendibility
...
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static
verification code for properties:
https://gist.github.com/cebe/7566916
11 years ago
Kartik Visweswaran
8ff4c3d46d
Code & minor bug cleanup.
...
Cleaned up redundant code (and a typo missed earlier).
11 years ago
Kartik Visweswaran
8a436c4acb
Code cleanup.
...
Removed redundant declarations and checks in the code.
11 years ago
Kartik Visweswaran
c550628558
CSS Class assignment correction # 2.
...
Ensure previous CSS classes are not appended and reinitialized in the foreach loop.
11 years ago
Kartik Visweswaran
affa9589dc
CSS Class assignment corrected.
...
Used ```Html::addCssClass``` and ```Html::removeCssClass``` more effectively.
11 years ago
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.
11 years ago
Kartik Visweswaran
1c56edd000
Update Alert.php
11 years ago
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.
11 years ago
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.
11 years ago
Qiang Xue
d2e5f2c507
Fixes #1234 : use dash instead of underscore to separate language and country in locale id.
11 years ago
marsuboss
11727d52bd
Duplicate
11 years ago
marsuboss
4d54319e35
Duplicate
11 years ago
Qiang Xue
83ab0f0655
minor refactoring
11 years ago
Alexander Makarov
ad6411cae2
Fixed LoginForm::getUserByUsername
11 years ago
Alexander Makarov
5795522fc2
Use Yii::$app->user->login result in LoginForm
11 years ago
Alexander Makarov
5b36503ca8
One less SQL query for login sequence in basic and advanced apps
11 years ago
Qiang Xue
3106105ed0
changed color setting.
11 years ago
Qiang Xue
c7b430cf55
removed extra line.
11 years ago
Qiang Xue
8775e25ca6
Added readme and updated test helper classes.
11 years ago
Qiang Xue
220e6dc42d
Added readme about tests.
11 years ago
Qiang Xue
cd7a4a6745
fixed functional test.
11 years ago
slavcodev
4c4f7bd708
Move AppAsset from config to assets directory
11 years ago
Qiang Xue
75dc290a24
Fixes #1193
11 years ago
slavcodev
f57b3536a2
Fixed apps rules
11 years ago
slavcodev
ecc557ef92
Refactor all models to new rules format
11 years ago
Carsten Brandt
016d796e95
advanced app: go back after login, not home
11 years ago
slavcodev
93dd629411
Fix apps phpDoc and short tags
11 years ago
Veaceslav Medvedev
03d70b6e7e
Update main.php
11 years ago
Qiang Xue
c8be05665f
Fixes #1122 : removed init from post-install-cmd-script of composer.
11 years ago
Qiang Xue
f09c78aad9
save security keys as a serialized string instead of exported variable.
11 years ago
Qiang Xue
998cf7e675
updated apps to use the mail component.
11 years ago
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
11 years ago
Alexander Makarov
d3f5d34819
Fixed advanced app error view
11 years ago
Alexander Makarov
927e9dddb4
Refactored View
11 years ago
Qiang Xue
48600b8edd
Fixed typo.
11 years ago
Qiang Xue
83a937990c
moved bootstrap to extension
11 years ago
Qiang Xue
6aa45b34d0
updated dependency.
11 years ago
Qiang Xue
1500f978b0
Fixed dependency of apps
11 years ago
Qiang Xue
3caf59b1bf
fixed extension list file location.
11 years ago
Qiang Xue
e5d5ab5655
updated license information.
11 years ago