Archived
1
0
Fork 0
Commit graph

288 commits

Author SHA1 Message Date
124eb1ef16 rename app/assets/sass/components/_request-item.scss to _request-list.scss 2018-09-05 17:45:38 +00:00
f7432fa4a8
remove public/img/phalcon_logo.png as we have 2. 2018-09-03 20:56:54 +02:00
7dac50c6a4
v1.0.1 2018-08-31 18:23:41 +02:00
babe5cd1e3 Merge branch '20-move-from-less-to-sass' into 'dev'
Resolve "move from LESS to SASS."

Closes #20

See merge request pnx/httpcb!18
2018-08-29 08:37:22 +00:00
7490c86f7f remove old application less source. 2018-08-29 08:37:03 +00:00
fec6b6caa5 Converting application less to sass. 2018-08-29 08:37:03 +00:00
b30be955ca gulpfile.js: some cleanup and inclusion of bootstrap-3 js/sass 2018-08-29 08:37:03 +00:00
3588eff13c npm: include bootstrap3-sass 2018-08-29 08:37:03 +00:00
bc317369eb gulpfile.js: compile sass instead of less. 2018-08-29 08:37:03 +00:00
0b020387c8 npm: install gulp-sass and remove gulp-less 2018-08-29 08:37:03 +00:00
84491b1c5e Merge branch '21-wrong-input-validators-when-creating-new-callbacks' into 'dev'
Resolve "Wrong input validators when creating new callbacks."

Closes #21

See merge request pnx/httpcb!19
2018-08-23 10:58:33 +00:00
28e2201a6b
app/models/Data/User.php: in validation() only validate changed fields. 2018-08-22 06:08:52 +02:00
bd51dd8700
app/models/Data/User.php: extend our base model instead of Phalcon\Mvc\Model directly. 2018-08-22 06:08:02 +02:00
dcff1a81b2
app/models/Data/Base.php: override hasChanged()
Phalcon throws an exception if no valid snapshot data is present.

We override this behaviour by treating no
snapshot data (new row) as changed.
2018-08-22 06:06:56 +02:00
ee000f4fc4
less: remove ionicons 2018-08-21 08:15:37 +02:00
66b577f44f
app/views/_templates/navigation.volt: change menu icon to fontawesome. 2018-08-21 08:15:15 +02:00
15a9009828
app/library/Auth.php: switch $_session_key to a constant. 2018-08-17 16:57:44 +02:00
ca7a3675f7
app/controllers/AuthController.php: use Httpcb\Auth\Result to have more detailed reason why an authentication failed. 2018-08-17 16:54:38 +02:00
1e9203f35f
app/library/Auth.php: use Httpcp\Auth\Result 2018-08-17 16:53:57 +02:00
d4902331cf
adding app/library/Auth/Result.php 2018-08-17 16:51:41 +02:00
fe542461f7
Merge branch 'oauth-registration' into dev 2018-08-17 16:22:59 +02:00
1d1c1c29ce
app/controllers/AuthController.php: in oauthAction() use User::findFirstByEmail() 2018-08-16 19:00:01 +02:00
1e46302267
app/models/Data/User.php: findFirstByUsernameOrEmail() should only fetch rows where status != deleted 2018-08-16 18:59:21 +02:00
82fb869042
app/controllers/AuthController.php: fixing registerAction() 2018-08-15 22:07:19 +02:00
c75b24d2a9
app/forms/Registration.php: add User as entity parameter to initialize() 2018-08-15 22:04:46 +02:00
e072ae686d
app/forms/Registration.php: cleanup, get rid of bind() 2018-08-15 22:03:20 +02:00
8237a71f52
app/forms/Registration.php: change Uniqueness validator to Callback + cleanup username validators abit. 2018-08-15 21:59:43 +02:00
c71416908a
app/library/Auth.php: in loginOauth() no need to set status active anymore User::findFirstByOAuth() do not return deleted users. 2018-08-15 21:56:54 +02:00
9bd0ef86fc
app/models/Data/User.php: in findFirstByOAuthID() also only fetch rows where status != deleted 2018-08-15 21:48:29 +02:00
0bf7c54539
app/models/Data/User.php: change validation from Uniqueness to Callback and check findFirstByUsername() and findFirstByEmail() 2018-08-15 21:42:43 +02:00
6876cc13be
app/models/Data/User.php: adding findFirstByUsername() 2018-08-15 21:41:05 +02:00
aced9f8bf3
app/models/Data/User.php: in findFirstByEmail() only fetch rows with Status != deleted. 2018-08-15 21:40:26 +02:00
ec5c6f2d14
app/models/Data/User.php: adding findFirstByEmail() 2018-08-14 23:22:31 +02:00
2529d29d80
app/controllers/AuthController.php: in oauthAction() redirect to registration page if no user is found. 2018-08-14 23:22:30 +02:00
7b2f53e4dc
app/controllers/AuthController.php: add registerAction() 2018-08-14 23:18:24 +02:00
a337ccd4fa
app/library/OAuth/UserData/UserDataInterface.php: add toArray() 2018-08-14 23:18:24 +02:00
43417740a7
app/library/OAuth/UserData: make all concrete classes extend UserData. 2018-08-14 23:18:23 +02:00
4a22f67e62
adding app/library/OAuth/UserData/UserData.php 2018-08-14 23:18:23 +02:00
6eb08d7a70
adding app/forms/Registration.php 2018-08-14 23:18:23 +02:00
31d5740681
app/library/Auth.php: adding systemLogin() 2018-08-14 23:18:22 +02:00
968ca64c1d
adding app/views/auth/register.volt 2018-08-14 23:18:22 +02:00
ad3bbdd6bc
app/models/Data/User.php: adding setOAuthId() 2018-08-14 23:18:22 +02:00
ddb9d8934d
adding app/library/Form.php 2018-08-14 23:18:21 +02:00
316edec020
app/library/Auth.php: in loginOauth() should return false if there is no user. 2018-08-14 23:18:21 +02:00
bfa71745e0
adding app/assets/less/components/spacer.less 2018-08-14 21:43:04 +02:00
808afbac17
adding app/assets/less/views/register.less 2018-08-14 21:43:04 +02:00
6c14bf9873
app/config/routes.yml: add '/register' route. 2018-08-14 21:43:03 +02:00
f65832332b
app/library/OAuth/UserData/Gitlab.php: oops, forgot a var_dump() 2018-08-14 21:42:20 +02:00
887908d733
app/models/Data/User.php: split name into first/last name. 2018-08-14 21:20:28 +02:00
a9081dcfc8
migration: 20180814172405_user_split_name.php 2018-08-14 21:17:19 +02:00