Archived
1
0
Fork 0
Commit graph

217 commits

Author SHA1 Message Date
b3e6bcbafd
package.json: call for dbmigrate script. run "npm run phinx" instead of phinx directly. 2018-08-10 16:13:48 +02:00
694eac24ef
app/library/Acl.php: some cleanup. 2018-08-10 15:49:44 +02:00
d6dbb6e085
Adding README 2018-08-10 01:44:15 +02:00
972e6cb4f8 Merge branch '12-oauth-linkedin' into 'dev'
Resolve "OAuth - LinkedIn"

Closes #12

See merge request pnx/httpcb!17
2018-08-09 12:26:32 +00:00
e42201dde3
package.json: version bump. 2018-08-08 23:46:15 +02:00
f2774f180d
app/views/user/settings.volt: adding LinkedIn button 2018-08-08 23:40:47 +02:00
f4659ff549
app/assets/less/base/typography.less: adding .text-linkedin 2018-08-08 23:38:50 +02:00
c28f8cafa5
app/library/OAuth/Adapter/League.php: add linkedIn provider. 2018-08-08 23:38:50 +02:00
cd694ebbca
adding app/library/OAuth/UserData/LinkedIn.php 2018-08-08 23:38:50 +02:00
6312f5d22e
app/models/Data/User.php: adding "linkedin_id" field. 2018-08-08 23:38:49 +02:00
160533f88f
adding app/migrations/20180808200726_user_oauth_linkedin.php 2018-08-08 23:38:49 +02:00
cfdf0cd9fb
app/views/auth/index.volt: show Linked In button. 2018-08-08 23:38:49 +02:00
207955fb4c
app/assets/less/components/button.less: adding linkedin button. 2018-08-08 23:38:49 +02:00
c76b3f1b09
app/assets/less/variables.less: adding LinkedIn variables. 2018-08-08 23:38:48 +02:00
b289a330e8
composer: adding league/oauth2-linkedin 2018-08-08 23:38:48 +02:00
bfa772c486
app/views/user/settings.volt: cleaning up social links with array and loop. 2018-08-08 23:38:08 +02:00
99e86fedd3
app/views/user/settings.volt: oops, should be Disconnect instead of Connect. 2018-08-08 22:55:14 +02:00
422c5bc699
app/config/app.yml: remove sessionDir 2018-08-08 20:14:48 +02:00
ffb1881527
app/library/Services.php: add use session.path instead of application.sessionDir in _initSession() 2018-08-08 20:14:31 +02:00
4ee1073a6b
remove cache/sess/.placeholder 2018-08-08 20:12:58 +02:00
82adcbe8d8
app/config/local.sample.yml: adding "models-metadata" and "session" sections. 2018-08-08 16:50:56 +02:00
a2ea4f54e0
app/library/Services.php: add config for session. 2018-08-08 16:50:28 +02:00
aa07255891
app/library/Services.php: change config path for Models Meta-data abit. 2018-08-08 16:49:58 +02:00
2097c3a657
app/library/Services.php: minor cleanup 2018-08-08 15:36:02 +02:00
102e6cc613
composer require redis extension 2018-08-08 15:31:15 +02:00
33d484355a
updated composer.lock 2018-08-08 02:49:20 +02:00
d61df18a1c
composer: more info. 2018-08-08 02:45:39 +02:00
c4ca8e623b
composer: force phalcon >= 3.4.0 2018-08-08 02:13:16 +02:00
3f2f3f6af6
composer: force php >= 7.0.0 2018-08-08 01:59:31 +02:00
1550aab606
app/config/routes.yml: add ":params" to cb-endpoint route. 2018-08-06 20:19:24 +02:00
6c6bc209e4
app/controllers/CallbackController.php: in newAction() make sure name is set correctly.
Fixes #18
2018-07-24 12:00:10 +02:00
bbbe2fac94
builds.sh: run "build" and "dbmigrate" from npm. 2018-06-25 16:31:48 +02:00
b44e74c154
package.json: adding phinx and dbmigrate scripts command. 2018-06-25 16:31:13 +02:00
e41ef8653a
phinx.php: configfile is just "local.yml" now. 2018-06-25 16:30:44 +02:00
5e85f63d37
package.json: "gulp all" should be "gulp build-assets" 2018-06-25 15:18:21 +02:00
f40b498ffb
build-tools: switch grunt for gulp. 2018-06-25 14:52:45 +02:00
e41c7f776a
minor fixes. 2018-06-25 12:42:38 +02:00
7db774aa46
Version 1.0 2018-06-19 09:45:33 +02:00
8b2bf80d32 app/assets/less/base/typography.less: adding text-{gitlab,github,google} classes. 2018-06-18 22:30:17 +02:00
d2ef7f2c52 app/library/Services.php: load menu config from file. 2018-06-18 22:22:50 +02:00
a8a448331e app/library/Services.php: load router settings from config file. 2018-06-18 22:16:03 +02:00
ca90ec30fb config: drop the "conf" prefix for config files. 2018-06-18 22:12:55 +02:00
005f1e3292 app/library/Services.php: make config service abit more generic (loading any number of files). 2018-06-18 20:21:31 +02:00
3ebd19a8cf remove app/config/config.php 2018-06-18 20:11:50 +02:00
d490e928d9 public/index.php: skip debug code here. also call Httpcb\Bootstrap::prepare() 2018-06-18 20:11:38 +02:00
2e7c67ba8a app/library/Bootstrap.php: use debugger if configured. 2018-06-18 20:11:09 +02:00
9dd712045a app/library/Services.php: adding debugger service. 2018-06-18 20:03:21 +02:00
e85d935734 Create a Bootstrap class and move bootstrap code from public/index.php 2018-06-18 17:42:30 +02:00
b3254e1f6c app/library/Services.php: database: no need for $di in closure. 2018-06-18 17:39:42 +02:00
f9050181d0 app/library/Bootstrap.php: revove "Application" and add "Services" class with the services definitions.
Had some wierd problem with closures an $this when being defined in one class and used in another
(defined in Application, used in Phalcon\Di\FactoryDefault).

So we move all of this to "Services" class that directly extends FactoryDefault DI.
And therefore, we don't need a Application class anymore.
2018-06-18 16:46:40 +02:00