<commit_before># Astronomy gallery

### April 28th 2017:

The project was part of the course "Software technologies" in Software University Bulgaria. It has been developed by 2 software development students with less than a year experience. The inspiration came from a website for astronomy pictures: <a href="http://www.emilivanov.com/index2.htm" target="_blank">http://www.emilivanov.com/index2.htm</a>. The rights to use the pictures for this project have been given by <NAME> via email and the project will be presented to him too (after the defense of the project on April 29th). This project will not be used for any commercial purposes - it is a non-profit student project.

Due to the small experience of the developers when the project was created, it does not pretend to be perfect from software engineering point of view. However, many hours have been dedicated to it in order to work, look and feel good.

The beautiful pictures are separated by categories. They can be searched by tags or by categories.

More details and features:

- General look: Bootstrap Solar theme is being used for the general look and style of the application(2-3 elements of it have been slightly customized - e.g. color, padding)
- Authentication: Users can register and log in to the site with email (username) and password
- Seed at first startup: Default administrator user account "<EMAIL>", roles "Admin" and "User" and category "Other" are being created in the database during the first start of the project 
- Upload: Pictures can be uploaded and saved in the project's database and file system (by a logged in user only)
- Every picture is stored in subdirectory with name the name of its category in ~/Content/images/astroPics/ (e.g. /Content/images/astroPics/Galaxies)
- Download: Pictures can be downloaded to a user's device
- Categories: Every uploaded picture is put in a category:

<img src="https://raw.githubusercontent.com/SoftwareFans/AstroPhotoGallery/master/RepoPics/categories.png" alt="Category menu"/>

- Edit: Pictures can be edited (title, description, category) by administrators or by the picture's uploader:

<img src="https://raw.githubusercontent.com/SoftwareFans/AstroPhotoGallery/master/RepoPics/edit.png" alt="Edic pic view"/>

- Security: Categories can be created and edited/deleted only by administrators:

<img src="https://raw.githubusercontent.com/SoftwareFans/AstroPhotoGallery/master/RepoPics/category%20edit%20admin.png" alt="Admin panel view" align="middle"/>

- If a whole category is deleted then all of the pictures in that category are deleted too<commit_msg>add url of the site on azure<commit_after># Astronomy gallery

### April 28th 2017:

The project was part of the course "Software technologies" in Software University Bulgaria. It has been developed by 2 software development students with less than a year experience. The inspiration came from a website for astronomy pictures: <a href="http://www.emilivanov.com/index2.htm" target="_blank">http://www.emilivanov.com/index2.htm</a>. The rights to use the pictures for this project have been given by <NAME> via email and the project will be presented to him too (after the defense of the project on April 29th). This project will not be used for any commercial purposes - it is a non-profit student project.

Due to the small experience of the developers when the project was created, it does not pretend to be perfect from software engineering point of view. However, many hours have been dedicated to it in order to work, look and feel good.

The beautiful pictures are separated by categories. They can be searched by tags or by categories.

More details and features:

- Hosting: The application is temporarily hosted on Microsoft Azure - http://astrogallery.azurewebsites.net/
- General look: Bootstrap Solar theme is being used for the general look and style of the application(2-3 elements of it have been slightly customized - e.g. color, padding). The site is completely responsive on all types of screens(tested on smartphone, laptop, TV).
- Authentication: Users can register and log in to the site with email (username) and password
- Seed at first startup: Default administrator user account "<EMAIL>", roles "Admin" and "User" and category "Other" are being created in the database during the first start of the project 
- Upload: Pictures can be uploaded and saved in the project's database and file system (by a logged in user only)
- Every picture is stored in subdirectory with name the name of its category in ~/Content/images/astroPics/ (e.g. /Content/images/astroPics/Galaxies)
- Download: Pictures can be downloaded to a user's device
- Categories: Every uploaded picture is put in a category:

<img src="https://raw.githubusercontent.com/SoftwareFans/AstroPhotoGallery/master/RepoPics/categories.png" alt="Category menu"/>

- Edit: Pictures can be edited (title, description, category) by administrators or by the picture's uploader:

<img src="https://raw.githubusercontent.com/SoftwareFans/AstroPhotoGallery/master/RepoPics/edit.png" alt="Edic pic view"/>

- Security: Categories can be created and edited/deleted only by administrators:

<img src="https://raw.githubusercontent.com/SoftwareFans/AstroPhotoGallery/master/RepoPics/category%20edit%20admin.png" alt="Admin panel view" align="middle"/>

- If a whole category is deleted then all of the pictures in that category are deleted too
{'fraction_non_alphanumeric': 0.07076866223207687, 'fraction_numerical': 0.006282335550628234, 'mean_word_length': 4.770788912579957, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '277834', 'n_tokens_mistral': 1417, 'n_tokens_neox': 1347, 'n_words': 711}