Commit graph

23 commits

Author SHA1 Message Date
Dmitriy Zaporozhets
2f6342978b Public projects feature - step2
* Render right layout depends on current_user
* show sample git username/email when repo is empty
* Show extra info when browsing public area
* Fixed some tests related to public projects
* show comments in read-only for public projects
* Remove old public routing
2013-09-24 22:14:28 +03:00
Dmitriy Zaporozhets
ffd0a985ee Point to project page from public area 2013-09-24 16:00:21 +03:00
Izaak Alpert
61a86101e8 Prevent empty public projects from throwing exceptions
GITLAB-1279 (GITLAB-1264)

Change-Id: Ifb5b4313bc91fae720f8ef5c36152c45e9d38934
2013-09-20 11:42:38 -04:00
Jörg Bornschein
811622346b Minor UI change in iews/public/project/index.html.haml
Placeholder in search field was wrong
2013-09-12 13:33:09 +02:00
Dmitriy Zaporozhets
e7f92c8a16 Bold names for public projects 2013-08-20 21:50:33 +03:00
Dmitriy Zaporozhets
e3f9bd231b use control-group classes for inline forms in rest pages 2013-08-07 23:32:20 +03:00
Dmitriy Zaporozhets
dd8f090bc8 Fix hardcoded condition and unassigned vars 2013-07-29 16:51:04 +03:00
Dmitriy Zaporozhets
efa2676021 Render readme file in public project#show 2013-07-29 16:50:00 +03:00
Dmitriy Zaporozhets
a7fab42b9c Public area: Project#show page prototype 2013-07-27 21:23:35 +03:00
Dmitriy Zaporozhets
c49dcbacc3 Few ui fixes: network graph and accept mr button 2013-07-15 09:30:33 +03:00
Dmitriy Zaporozhets
36fd4de825 Replace page_title with page-title. Correct margin for some blocks/layouts 2013-07-13 08:45:48 +03:00
Dmitriy Zaporozhets
c5feabde2d Add simple search to projects in public area 2013-05-13 21:18:08 +03:00
Stephen Lottermoser
8589f0f400 Non-logged in users see public project names as static text
In the public area, project names are shown as static text for
non-logged in users, while logged-in users are given project
names as links they can follow to the project's page.
2013-05-02 13:32:09 -07:00
Stephen Lottermoser
4c44c5ef9a Internally public projects
Public projects listed in the public section will be linked to the
actual project's page. Public projects now give any user Guest
permissions to the project, allowing them to download the code, read
and create issues, and view anything else in the project's pages.

Ample access tests have been added to the project_access_spec to
verify correct permissions and behavior on public projects.
- Visitors to the site who are not logged in still cannot view the
  project's pages.
- Logged-in users visiting a public project where they are not a team
  member can create issues, but not snippets. They can view the projects
  code, issues, merge requests, etc, just as if they were a Guest member
  of the project.
- Since this is a public project, the user is also granted :download_code
  permissions, a permission normally reserved for Reporters, since they
  can clone the repo anyways and browse commits and branches locally.
2013-05-02 00:06:59 -07:00
Dmitriy Zaporozhets
9fddd5b440 Refactoring & restyle pagination:
- remove admin kaminari theme. Use gitlab theme everywhere
- use bootstrap styled for gitlab admin themes
- dont reload page when change issue filter
2013-04-06 22:32:23 +03:00
Dmitriy Zaporozhets
e90277f9b5 show project description on public area 2013-03-07 10:08:43 +02:00
Dmitriy Zaporozhets
24cc0faf2c add link ti public area 2013-03-04 20:11:23 +02:00
Dmitriy Zaporozhets
e2fb18a3ec replace right with pull-right 2013-01-30 16:40:43 +02:00
Riyad Preukschas
607a38dd00 Fix public/projects#index page 2013-01-19 15:27:00 +01:00
Dmitriy Zaporozhets
729088a7af Owner can enable public mode for project 2013-01-16 16:54:01 +02:00
Dmitriy Zaporozhets
68bfcd0521 Add public filter to admin projects 2013-01-13 17:25:18 +02:00
Dmitriy Zaporozhets
122acb2254 fix unauth for public 2013-01-13 17:25:18 +02:00
Dmitriy Zaporozhets
4c6224aad1 Public git read-only access via http 2013-01-13 17:25:18 +02:00