Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit 3859a04

Browse files
committed
added django app
2 parents 6999a3f + 3077417 commit 3859a04

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2403
-0
lines changed

.idea/gitlit.iml

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

algorithms/languages.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
C++
2+
Python
3+
Java
4+
JavaScript
5+
HTML
6+
CSS
7+
Shell
8+
Haskell
9+
Scala
10+
Ruby
11+
C#
12+
Erlang
13+
Go
14+
Lua
15+
PHP
16+
Swift
17+
Dart
18+
Jupyter Notebook
19+
CoffeeScript
20+
Batchfile

algorithms/topics.txt

+246
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
3d
2+
activitypub
3+
ai
4+
ajax
5+
algolia
6+
algorithm
7+
amphp
8+
android
9+
angular
10+
ansible
11+
antlr
12+
api
13+
arduino
14+
aspnet
15+
atom
16+
auth0
17+
awesome
18+
aws
19+
azure
20+
babel
21+
backbonejs
22+
bash
23+
basic8
24+
bitcoin
25+
blockchain
26+
bootstrap
27+
bot
28+
c
29+
chrome-extension
30+
chrome
31+
cli
32+
clojure
33+
cms
34+
code-quality
35+
code-review
36+
compiler
37+
composer
38+
computer-vision
39+
conan
40+
contentful
41+
continuous-integration
42+
cpp
43+
cryptocurrency
44+
crystal
45+
csharp
46+
css
47+
cwl
48+
d
49+
data-structures
50+
data-visualization
51+
database
52+
deep-learning
53+
dependency-management
54+
deployment
55+
discord
56+
django
57+
docker
58+
documentation
59+
dotnet
60+
duckduckgo
61+
electron
62+
elixir
63+
emacs
64+
ember
65+
emoji
66+
emulator
67+
es6
68+
eslint
69+
ethereum
70+
express
71+
f-droid
72+
fantasy-console
73+
firebase
74+
firefox-extension
75+
firefox
76+
first-tech-challenge
77+
flask
78+
font
79+
framework
80+
frontend
81+
game-engine
82+
game-off
83+
git
84+
github-api
85+
global-game-jam
86+
go
87+
godot
88+
google-cloud
89+
google
90+
gradle
91+
graphql
92+
gulp
93+
hacktoberfest
94+
haskell
95+
haxe
96+
homebrew
97+
homebridge
98+
html
99+
http
100+
icon-font
101+
image-processing
102+
ios
103+
ipfs
104+
java
105+
javascript
106+
jekyll
107+
jquery
108+
js13kgames
109+
json
110+
julia
111+
jupyter-notebook
112+
kerbal-space-program
113+
koa
114+
kotlin
115+
kubernetes
116+
laravel
117+
latex
118+
less
119+
library
120+
liko-12
121+
lineageos
122+
linux
123+
lisp
124+
localization
125+
lua
126+
ludum-dare
127+
luvit
128+
machine-learning
129+
macos
130+
mahapps
131+
markdown
132+
mastodon
133+
material-design
134+
matlab
135+
maven
136+
minecraft
137+
mobile
138+
monero
139+
mongodb
140+
mongoose
141+
monitoring
142+
mvvmcross
143+
mysql
144+
nativescript
145+
neo
146+
neural-network
147+
nim
148+
nlp
149+
nodejs
150+
nosql
151+
npm
152+
objective-c
153+
ocaml
154+
open-access
155+
opencv
156+
openfin
157+
opengl
158+
operating-system
159+
p2p
160+
package-manager
161+
parsing
162+
perl
163+
perl6
164+
pharo
165+
phaser
166+
php
167+
phpunit
168+
pico-8
169+
pixel-art
170+
pixel-vision-8
171+
postgresql
172+
privacy
173+
probot
174+
project-management
175+
publishing
176+
pwa
177+
python
178+
qt
179+
r
180+
rails
181+
raspberry-pi
182+
ratchet
183+
react-native
184+
react
185+
reactiveui
186+
reactphp
187+
redux
188+
reflex-frp
189+
rest-api
190+
ruby
191+
rust
192+
sass
193+
scala
194+
scikit-learn
195+
sdn
196+
security
197+
server
198+
serverless
199+
shell
200+
sitecore
201+
sketch
202+
spacevim
203+
spring-boot
204+
sql
205+
storybook
206+
sublime-text
207+
support
208+
swift
209+
symfony
210+
tailwind
211+
tbox
212+
telegram
213+
tensorflow
214+
terminal
215+
terraform
216+
testing
217+
thelounge
218+
threejs
219+
tic-80
220+
twitter
221+
typescript
222+
ubuntu
223+
unity
224+
unreal-engine
225+
uportal
226+
userscript
227+
vagrant
228+
vim
229+
virtual-reality
230+
visual-studio-code
231+
vue
232+
wagtail
233+
web-assembly
234+
web-components
235+
webapp
236+
webextension
237+
webpack
238+
windows
239+
wordplate
240+
wordpress
241+
xamarin
242+
xcode
243+
xmake
244+
xml
245+
yii
246+
zeit

graphql/README.MD

Whitespace-only changes.

portal/__init__.py

Whitespace-only changes.

portal/db.sqlite3

320 KB
Binary file not shown.

portal/repo/__init__.py

Whitespace-only changes.

portal/repo/admin.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from django.contrib import admin
2+
from .models import *
3+
from django.contrib.auth.models import User
4+
from django.db.models.signals import post_save
5+
6+
admin.site.register(Repository)
7+
admin.site.register(Topic)

portal/repo/apps.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from django.apps import AppConfig
2+
3+
4+
class RepoConfig(AppConfig):
5+
name = 'repo'
+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Generated by Django 2.1.4 on 2018-12-16 05:24
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
initial = True
9+
10+
dependencies = [
11+
]
12+
13+
operations = [
14+
migrations.CreateModel(
15+
name='Repository',
16+
fields=[
17+
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18+
('reponame', models.CharField(help_text='slug', max_length=70, unique=True)),
19+
('name', models.SlugField()),
20+
('owner', models.SlugField()),
21+
('hasTopicTag', models.BooleanField(default=None)),
22+
('hasDocumentation', models.BooleanField(default=None)),
23+
('hasDescription', models.BooleanField(default=None)),
24+
('hasLicense', models.BooleanField(default=None)),
25+
('hasContributingGuidelines', models.BooleanField(default=None)),
26+
('commitCount', models.IntegerField(blank=True, null=True)),
27+
('prCount', models.IntegerField(blank=True, null=True)),
28+
('prMergedCount', models.IntegerField(blank=True, null=True)),
29+
('issueCount', models.IntegerField(blank=True, null=True)),
30+
('branchCount', models.IntegerField(blank=True, null=True)),
31+
('maintainersCount', models.IntegerField(blank=True, null=True)),
32+
('avgIssueResolutionTime', models.DurationField(blank=True, null=True)),
33+
('avgPRmergeTime', models.DurationField(blank=True, null=True)),
34+
('avgFirstResponseTime', models.DurationField(blank=True, null=True)),
35+
('weeklyContributorsCount', models.IntegerField(blank=True, null=True)),
36+
('firstTimeContributorsThisWeek', models.IntegerField(blank=True, null=True)),
37+
('weeklyContributorsChange', models.IntegerField(blank=True, null=True)),
38+
('contributorsList', models.TextField(blank=True, null=True)),
39+
('contributorsThisWeekList', models.TextField(blank=True, null=True)),
40+
('score', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
41+
('baseScore', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
42+
('activityScore', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
43+
('popularityScore', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
44+
('inclusivityScore', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
45+
('meritScore', models.DecimalField(blank=True, decimal_places=2, max_digits=10, null=True)),
46+
],
47+
options={
48+
'verbose_name': 'Repository',
49+
'verbose_name_plural': 'Repositories',
50+
},
51+
),
52+
migrations.CreateModel(
53+
name='Topic',
54+
fields=[
55+
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
56+
('name', models.SlugField(help_text='slug', unique=True)),
57+
('full_name', models.CharField(blank=True, max_length=50)),
58+
('icon', models.URLField(blank=True)),
59+
('short_description', models.CharField(blank=True, max_length=200)),
60+
('related', models.CharField(blank=True, max_length=100)),
61+
('description', models.TextField(blank=True, max_length=500)),
62+
('url', models.URLField(blank=True)),
63+
('wikipedia_url', models.URLField(blank=True)),
64+
],
65+
options={
66+
'verbose_name': 'Topics',
67+
'verbose_name_plural': 'Topic',
68+
},
69+
),
70+
migrations.AddField(
71+
model_name='repository',
72+
name='topics',
73+
field=models.ManyToManyField(related_name='repo_name', to='repo.Topic'),
74+
),
75+
]

portal/repo/migrations/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)