Commit Graph

141 Commits

Author SHA1 Message Date
Gergely POLONKAI
aed588e5e2 Applied php-cs-fixer and added some @PHPDoc
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-17 16:18:43 +02:00
Gergely POLONKAI
4772fd2273 Fixed bottom statusline position in dev environment
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 22:06:32 +02:00
Gergely POLONKAI
f15d0215dd Added setupUserSpans() JavaScript function to set up user data spans
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 21:56:39 +02:00
Gergely POLONKAI
0bbad6bebe Fixed menu text color
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 21:35:55 +02:00
Gergely POLONKAI
44539862a2 Fixed scope error in TwigBBExtension
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 19:37:26 +02:00
Gergely POLONKAI
08e987c4bb Redesigned forum
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 19:35:05 +02:00
Gergely POLONKAI
1d0a513ea2 Now injecting services with JMSDiExtraBundle
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 19:06:00 +02:00
Polonkai Gergely
cd361a8ca9 Fixed menu.css typo
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-16 17:07:29 +02:00
Gergely POLONKAI
4e38560944 Redesigned the main page
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 16:55:14 +02:00
Gergely POLONKAI
fab08cad6f Refactored code to comply with PSR-*
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 15:52:41 +02:00
Gergely POLONKAI
de00a6ad21 Merge branch 'master' of w00d5t0ck.info:blueroses 2012-08-16 10:36:00 +02:00
Polonkai Gergely
9d7883f694 Merge branch 'master' of localhost:blueroses 2012-08-16 10:34:48 +02:00
Polonkai Gergely
e8d018d663 Fixed bug in group join/joinrequest code
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-16 10:18:28 +02:00
Gergely POLONKAI
fe920000dc Moved as much main page Javascripts to a separate file as possible
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 10:01:48 +02:00
Gergely POLONKAI
36fbac8fcd Fixed news list hider function.
In the previous version the whole #hirek DIV was cleared, which rendered
the redisplay function faulty.

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-16 09:25:00 +02:00
Gergely POLONKAI
111c563409 Fixed event listing
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-15 18:07:46 +02:00
Gergely POLONKAI
7a77a4e1ed Fixed header and news sidebar width
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-15 18:05:31 +02:00
Polonkai Gergely
b5ffdf4ad7 Fixed news list (didn't load without login)
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-15 14:25:08 +02:00
Gergely POLONKAI
feda5d7d57 News sidebar is now ajax-based, and hidden by default
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-15 14:11:05 +02:00
Gergely POLONKAI
8d27d0c290 Moved main_template.html.twig into KekRozsakFrontBundle
Logical reasons.

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-15 12:31:02 +02:00
Gergely POLONKAI
78878d4117 Moved assetic output kekrozsak.css to css/ folder
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-15 12:18:23 +02:00
Polonkai Gergely
608d78ec8f Reworked CSS to use assetic
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-15 12:07:20 +02:00
Gergely POLONKAI
5982b8c05d Bug fix - Missing link on Group documents page
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-15 11:46:27 +02:00
Polonkai Gergely
b613d6223a Added Role hierarchy service.
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-15 09:59:37 +02:00
Polonkai Gergely
828dccba7a Bug fix: AccessDeniedException was not imported in EventController
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-09 18:36:08 +02:00
Polonkai Gergely
099a6d3609 Bug fix: _securityController was not defined in ArticleController
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-09 17:54:55 +02:00
Polonkai Gergely
121f6a110c Article view is now security aware
ArticleController::viewAction is now aware of Article::public

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-09 09:31:44 +02:00
Polonkai Gergely
8b9470cfd1 Fixed code according to Sf2.1 API change
* changed Form::bindRequest calls to Form::bind, as bindRequest goes
    deprecated soon

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-08 22:18:33 +02:00
Polonkai Gergely
55cde1594b Added popup functionality and Library
* doPopup() JavaScript call creates a centered popup div with user
    defined width, height, title, content, and calls an optional
    callback function

* Library with currently non-modifiable book list, and a popup with the
    books' details

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-08 22:15:51 +02:00
Polonkai Gergely
624e56389e Added basic PDF export feature for documents
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-03 17:56:21 +02:00
Polonkai Gergely
a181bfd4db Removed old Poll* entities, wrote it back to TODO
Polls will be implemented later (maybe much later)

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-01 22:15:12 +02:00
Polonkai Gergely
7f83e2f9c4 Changed service_container to router in UserDataSpan Twig extension
Actually, only router was used by retrieving it from the container. Now
injecting only what is necessary.

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-01 08:48:16 +02:00
Polonkai Gergely
cc7ce78787 Bug fix for previous commit: made a typo
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-01 07:41:00 +02:00
Polonkai Gergely
0377233eb6 Moved tooltips from jquery.tooltip to jquery-cluetip
Also removed no longer needed jquery.tooltip related files

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-01 01:26:25 +02:00
Polonkai Gergely
ac6467f649 Added the UserDataSpan Twig extension
This Twig extension can filter User entities, creating a HTML <span>
element from them with the class userdata, which can later be converted
to an AJAX tooltip with jquery.cluetip

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-01 01:15:10 +02:00
Polonkai Gergely
7d9f02f542 Added Event listing and Event box
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-07-31 11:09:52 +02:00
Polonkai Gergely
995b96b3b7 Added role listing to profile box
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-07-31 11:06:53 +02:00
Polonkai Gergely
aa884ae798 Revised Forum Controller and Templates
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-07-31 10:25:06 +02:00
Polonkai Gergely
b82eb93bf7 Bug fixes
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-07-31 10:14:26 +02:00
Polonkai Gergely
f21d48c6a8 Added ViM modelines to the beginning of twig templates
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-07-31 09:52:24 +02:00
Polonkai Gergely
a43f2d6017 Revised Document stuff (Controller and templates)
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-07-31 09:47:50 +02:00
Polonkai Gergely
067a9fae97 Revised Article stuff (Controller and templates)
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-07-31 09:46:25 +02:00
Polonkai Gergely
6ee7a12d74 Revised the Group stuff (Controllers, and templates)
Signed-off-by: Polonkai Gergely <polesz@w00d5t0ck.info>
2012-07-31 09:44:28 +02:00
Polonkai Gergely
33b90a5c9f Moved boxes to separate files 2012-07-24 16:59:48 +02:00
Polonkai Gergely
2e7d217503 Fixed the privacy issue - now for sure 2012-07-23 18:23:13 +02:00
Polonkai Gergely
ff1e3fd9fc Fixed non-public news display issue
Non-public news items didn't appear at all.
2012-07-23 18:09:15 +02:00
Polonkai Gergely
acc64ee66d News can now be non-public 2012-07-23 17:50:40 +02:00
Polonkai Gergely
08385f076f vendor update 2012-07-23 15:46:14 +02:00
Polonkai Gergely
b82b4ffd34 Made document editing possible 2012-07-22 19:38:00 +02:00
Polonkai Gergely
1b55b079f4 Moved document related stuff into DocumentController 2012-07-17 23:33:31 +02:00
Polonkai Gergely
9f49b70d67 Made group creation possible (open groups only, yet) 2012-07-17 21:37:54 +02:00
Polonkai Gergely
cab47219b3 Made entity properties protected instead of private 2012-07-17 18:47:20 +02:00
Polonkai Gergely
45b4e11fef Fixed relationship between user and userdata. 2012-07-17 18:41:56 +02:00
Polonkai Gergely
56de160dc1 Removed user->userData relationship (userData->user still must exist!) 2012-07-17 18:24:54 +02:00
Polonkai Gergely
36e5590436 Fixed some minor template issues 2012-07-17 10:22:41 +02:00
Polonkai Gergely
c44a8bc144 Fixed Document <-> Group relationship mapping 2012-07-17 10:11:53 +02:00
Polonkai Gergely
b173b9a9bb Added document view support 2012-07-17 09:21:33 +02:00
Polonkai Gergely
aa453242df Fixed bugs came with 2.1 BETA3 upgrade
ForumPostType had a hidden field with a DateTime data, which could not
be rendered
Security authentication success handler could not run
2012-07-17 07:52:24 +02:00
Polonkai Gergely
7a06301624 Added Document support (entity only) 2012-07-16 21:17:23 +02:00
Polonkai Gergely
e7fe6cd78e Fixed group listing, now has an icon 2012-07-16 20:55:49 +02:00
Polonkai Gergely
91b6f9f8b9 Added group views 2012-07-16 17:05:23 +02:00
Polonkai Gergely
973b331825 Added basic group management, with many missing features. 2012-07-16 14:16:10 +02:00
Polonkai Gergely
038ad5d018 Created groups and membership table 2012-07-15 20:44:43 +02:00
Polonkai Gergely
47177333f9 Fixed a bug so topics' last post is now refreshed. 2012-07-15 15:30:08 +02:00
Polonkai Gergely
bb7aee6fee Upgraded to Symfony 2.1-beta2 2012-07-15 14:56:31 +02:00
Polonkai Gergely
c1232c9792 Added forum topic last post view 2012-07-13 13:53:41 +02:00
Polonkai Gergely
00190c3e37 Moved everything under annotations.
Some review is still needed.
2012-07-13 12:35:02 +02:00
Polonkai Gergely
7dac9378ee Fixed forum post template so it is now possible to post in empty topics 2012-07-09 18:10:23 +02:00
Polonkai Gergely
8a55e32303 Added user profile editing support 2012-07-09 17:29:37 +02:00
Polonkai Gergely
0fad11ffd0 Next try to update the last post field in ForumTopic and ForumTopicGroup 2012-07-09 13:37:01 +02:00
Polonkai Gergely
de42154b51 Removed unnecessary unique constraint from ForumTopic entity 2012-07-09 13:34:51 +02:00
Polonkai Gergely
6cfae864a8 Changed e-mail address for registration info mails
TODO: Make it a parameter maybe?
2012-07-07 22:18:14 +02:00
Polonkai Gergely
13d03100e4 Fixed registration issues 2012-07-07 22:15:36 +02:00
Polonkai Gergely
837d93b14c Now redirecting logged in users to main page from registration form 2012-07-07 20:56:04 +02:00
Polonkai Gergely
301db68281 Made forum posting possible.
It has some limitations, though, as
ForumTopic.last_post and ForumTopicGroup.last_post is not updated
automagically...
2012-07-07 20:25:54 +02:00
Polonkai Gergely
adba578db8 Added a lastLoginAt field to the User entity 2012-07-07 18:04:15 +02:00
Polonkai Gergely
26527d8057 Added basic design to forum pages 2012-07-07 12:12:33 +02:00
Polonkai Gergely
a454dc7483 Added the possibility to register 2012-07-07 11:13:13 +02:00
Polonkai Gergely
20fea814e4 Now fetching news from the database 2012-07-03 18:06:22 +02:00
Polonkai Gergely
8b0e8e1a29 Removed the Acme bundle 2012-07-03 16:58:35 +02:00
Polonkai Gergely
1af3a30c2a Added very basic forum functionality 2012-07-03 14:56:28 +02:00
Polonkai Gergely
0649408e60 Added very-very basic forum functionality 2012-07-03 14:11:18 +02:00
Polonkai Gergely
e1fde17057 Finished authentication
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-02 22:41:06 +02:00
Polonkai Gergely
f2370faa68 Moved front's main template to ::main_template.html.twig
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 22:27:22 +02:00
Polonkai Gergely
cad25854b5 Changed slug and title of a menu item
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 21:31:44 +02:00
Polonkai Gergely
44c555bcb7 Fixed main page controller function
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 20:29:59 +02:00
Polonkai Gergely
95152ca62b Created the article viewer
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 19:11:31 +02:00
Polonkai Gergely
2bca134a79 Fixed text some places
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 18:42:38 +02:00
Polonkai Gergely
60c0ef8e00 Added the main page contents, currently static
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 14:50:25 +02:00
Polonkai Gergely
0b401e352e Created KekRozsak\FrontBundle as an almost empty bundle
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 10:02:35 +02:00
Polonkai Gergely
082a0130c2 Initial commit with Symfony 2.1+Vendors
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
2012-07-01 09:52:20 +02:00