Giter VIP home page Giter VIP logo

freekbes / improved_intra Goto Github PK

View Code? Open in Web Editor NEW
164.0 164.0 16.0 5.91 MB

The ultimate browser extension for 42's Intranet, used monthly by more than 3000 students from all over the world

Home Page: https://chrome.google.com/webstore/detail/hmflgigeigiejaogcgamkecmlibcpdgo/

License: MIT License

CSS 46.30% Shell 2.71% JavaScript 47.14% HTML 0.88% PowerShell 2.96%
1337school 42born2code browser-extension chrome-extension codam dark-mode dark-theme extension firefox-addon firefox-extension

improved_intra's Introduction

Hi there ๐Ÿ‘‹

My name is Freek. I'm a guy who enjoys programming (who would have thought!), playing videogames, producing and listening to music, and taking pictures. Currently working as System & Network Administrator for Codam Coding College, which is part of the 42 Network. I also studied there - if you're interested in what the school's curriculum is like, feel free to refer to my submitted work in the @fbescodam organization.

I've created several personal projects ever since I started programming in 2015, some larger than others. The biggest one is probably TunePlay, which was a website where you could play music from most platforms (YouTube, Spotify, Soundcloud, Deezer, Mixcloud) using just one interface. I also created @me_irl_bot on Instagram, which gained over 200,000 followers and roughly 25 million weekly impressions (until Instagram deactivated the account). In 2021, I created Improved Intra 42, a browser extension that aims to improve the intranet of 42 Network schools by providing more (personalized) features and improving its visuals. It is currently used by over 25% of the active student population.

The source code for most of my projects is open sourced here, on this GitHub profile. Have a look around!

Links

Portfolio (needs some updating) | LinkedIn | Twitter | Instagram | 42 Profile

Some useless stats

Programming languages I main

I am proficient in Javascript/Typescript, Python, PHP, C, Bash, CSS (yes, CSS is not a "real" language, but it is still a valuable skill). I have also worked with C++, Java, Go, Ruby, pSQL and probably a bunch of others before. In the end, I believe I can pick up any language and understand its functioning.

Programming history: my journey through the years

Click to view
  • 2023: Migrated the entire fleet of computers at Codam Coding College from macOS to Linux with almost zero downtime.
  • 2022: Joined the staff team of Codam Coding College as System and Network Administrator, finished their core curriculum.
  • 2021: Started attending Codam Coding College (at the end of 2020) to further increase my programming skills and meet like-minded people. Created Improved Intra 42, a browser extension with over 3000 monthly users.
  • 2020: Covid-19 disrupted the high school I was working at as IT Assistant. However, I made sure lessons could continue smoothly within 3 days of the school's closure, by creating a link between our scheduling software and Google Meet.
  • 2019: Co-founded a start-up in Switzerland where I was CTO, which gained the interest of a VC; created a functioning MVP.
  • 2018: Discovered the use of APIs, bundled many together into TunePlay (a website that played music from various streaming services using the same interface). Started @me_irl_bot on Instagram, which gained over 200.000 followers and 25 million weekly impressions.
  • 2017: Started developing back-ends in PHP for the previously created front-ends
  • 2016: Substantially increased my CSS and Javascript skills.
  • 2015: Started basic web development: learnt the ins and outs of HTML & CSS.
  • 2014: Started attending a computer science course in high school: learnt binary calculation, Java programming, basic HTML, simplistic "AI" scenarios.
  • <2013: Broke and fixed many Windows installations and versions, which taught me a lot about this operating system.

improved_intra's People

Contributors

axenth avatar cschuijt avatar freekbes avatar harm-smits avatar mariusmivw avatar nimon77 avatar pde-bakk avatar rabarbra avatar sirmorfield avatar w2wizard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

improved_intra's Issues

Projects not sorted by time

When I turn on sorting by compilation date, its not working!

Projects need to be sorted when we turn on this feature.

image image

macOS 10.14.6
Chrome
Extension version 4.3.1

3 outstandings displaying as only 1 star

Describe the bug
Projects validated with 3 outstanding flags only display 1 star next to the project name on profile.

To Reproduce
Try to see a profile with a project that has 3 outstanding flags.
This isn't specific to seeing my own profile as this happens of friends' profiles too.

Expected behavior
Based on the screenshot of this feature, 3 stars should appear instead of 1.
I did not test this for 2 outstanding flags so I don't know if it works.

Screenshots
Screen Shot 2023-03-27 at 3 47 38 PM
My so_long was validated with 3 outstanding flags.

HTML source code
Intra Profile thepaqui.txt

Desktop information (please complete the following information):

  • Current server version: 3.1.1
  • Server target version: 4.0.0
  • Extension version: 4.0.4
  • Browser: Chrome 100.0.4896.127
  • OS: macOS 10.14.6

Additional resources are at the bottom instead of the top

Describe the bug
Additional resources are at the bottom instead of the top. Not a very severe issue but still one to be aware of.

To Reproduce

  1. Go to someones project page
  2. See that the additional resources are at the bottom instead of the top.

Expected behavior
It should be the other way around.

Screen Shot 2022-04-29 at 6 59 48 PM

Other git hosting platform link

I think it could be pretty cool if we could add our username on other git-based hosting platform (especially self-hosted one).
A few exemple would be gitea, sourcehut or gogs, to name only a few.

Custom user profile banners sometimes being overridden by coalition banners

Describe the bug
Sometimes, custom images used as banner images on user profiles are overridden by the coalition banner after loading. It might be necessary to increase the timeout that's set before loading the custom banner data, or to keep checking for a few seconds after page load, if the banner is still loaded, and if not, replace it again.

To Reproduce
Refresh Intra a few times. It happens occasionally. The reason this bug occurs, is because the banner image seems to get fetched from the server after page load and only then it gets used. The extension and the page are fighting over what image to use, essentially.

Expected behavior
The custom image should always be used.

Show failed projects in My Projects view

It frustrates me that when I have failed a project, I have to use the Holy Graph to find it again so I can retry after the cooldown has expired.

It would be nice if there could be an option for failed projects to still show up in the My Projects view. A failed project is likely to be still being actively worked on.

Custom color scheme

Having the ability to input a custom color for the color scheme could be interesting.
So if for some reason people want a different shade of blue, of red, or just want a different color all together, it's possible to change it.

LOGTIME months hidden to right side on Show monthly logtimes/show cumulative logtimes per week

Describe the bug
Logtimes (week/month) causes current month to be hidden on right side of the logtime section.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Select 'Show monthly logtimes' and/or 'Show Cumulative logtimes per week'
  3. Refresh Intra page
  4. See 'LOGTIME' on intra

Expected behavior
Show as normal but with Cumulative and/or Monthly Logtimes. Current Month is MAY 2022 but it is hidden.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2022-05-10 at 4 55 53 PM

HTML source code
(cannot upload .html file)
intra_src_code.txt

Desktop information (please complete the following information):

  • OS: macOS Catalina (within 42 Campus)
  • Browser: Google Chrome Version 92.0.4515.131 (Official Build) (x86_64)

remove "Feedbacks Logs" buttons

Describe the bug
This feature has been added to the Intranet.

To Reproduce
...

Expected behavior
...

Screenshots
image

HTML source code
...

Desktop information (please complete the following information):

  • OS: not relevant
  • Browser: not relevant

Logout after every reboot

Describe the bug
All the preferences get reset after a reboot, and when you click on the extension icon to see if it's logged out, it looks normal at first, but if you restart your internet browser it shows the "login with intra" prompt, the preferences that get reset are the blackhole timer, and dark mode switches back to light mode

To Reproduce
Steps to reproduce the behavior:
0. Be logged into the extension

  1. Reboot your machine
  2. Go to intra.42.fr
  3. Restart the browser
  4. See error

Expected behavior
Staying logged in

Desktop information (please complete the following information):

  • OS: Linux/MacOS
  • Browser: Firefox

BlackHole CoolDown disappeared on profile pages

Describe the bug
BlackHole CoolDown disappeared on profile pages.

To Reproduce
Steps to reproduce the behavior:
Go to any user profile page

Expected behavior
It was expected to see a date or the remaining days of the BlackHole.

Screenshots
image

HTML source code
Intra Profile alouis-j.html.txt

Desktop information (please complete the following information):

  • OS: Ubuntu 20.04.4 LTS x64
  • Tested Browser Chrome & Firefox

Intra V3 support

Is your feature request related to a problem? Please describe.
Many campuses rolled out Profile V3 or Intra V3 lately, which at least from my testing and understanding is unsupported by this extension. Extension simply tries to authenticate and gets redirected back to profile.intra.fr and none of the features are applied. However, it only affects profile subdomain, other pages seem to be behaving as usual (i.e. dark theme is applied).

Describe the solution you'd like
First of all I would like to open a discussion whether this extension can be adopted to support profiles of intra v3 or should it be forked. Furthermore, I am happy to contribute to this project to adapt it to intra v3.

Describe alternatives you've considered
A simple alternative would reverting profiles back Intra V2 however this is unsupported currently at my campus. Also, it does not seem like a good long term solution.

Order users to administrate on Companies page by login

Is your feature request related to a problem? Please describe.
On the Intranet, when validating an internship as staff on the Administration page of companies.intra.42.fr, an Intra user has to be selected as an "administrator". This selection is done using a dropdown containing a list of all staff accounts on the Intranet. However, this dropdown menu is not ordered by logins.

Describe the solution you'd like
If the dropdown is ordered by login, selection would be easier.

Where to find this issue
Any page under https://companies.intra.42.fr/en/administrations/

Appearance settings don't appear after editing them if you have a banner.

Describe the bug
Appearance settings don't appear after editing them if you have a banner.

To Reproduce
Steps to reproduce the behavior:

  1. Add a banner.
  2. Change appearance options to your liking.
  3. Check your intra.
  4. Delete the banner.
  5. Recheck your intra and you will see the appearance settings were applied.

Desktop information (please complete the following information):

  • OS: Linux
  • Browser: Brave
  • Extension version: 3.3.0

Line breaks not showing in feedbacks on specific URL format

Describe the bug
Line breaks are not being shown in feedbacks on project pages that fit the following format: https://projects.intra.42.fr/project_id/username

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://projects.intra.42.fr/1332/jkoers
  2. Compare with https://projects.intra.42.fr/projects/webserv/projects_users/2501800

Screenshots
Got
image

Expected
image

Desktop information (please complete the following information):

  • OS: Windows
  • Browser: Opera

Agenda overflowing out of container element

Describe the bug
When logged in as staff/admin on Intra, the agenda overview in the dashboard overflows vertically due to the addition of extra buttons.

To Reproduce
Steps to reproduce the behavior:

  1. Log in as staff
  2. Set your resolution to 1600 pixels wide
  3. Look at the dashboard's calendar element
  4. See error

Expected behavior
The calendar should properly clip and adjust the scrollbar accordingly

Screenshots
image

Desktop information (please complete the following information):

  • OS: macOS
  • Browser: Chrome

Admin buttons on sidebar are not colored red

Elements not displaying as expected
The buttons that link to Intra's admin/staff pages are not colored red like they do without Improved Intra installed.

Screenshots
image

Expected behavior
image

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome

Evaluations are hidden

Describe the bug
Evaluations are hidden

To Reproduce
Complicated to know how this happens. It's been a long time since I've done an evaluation. When I had feedback I did not have this problem. I will try to update this issue if I have more news.

Expected behavior
Evaluations are hidden after loading the dark theme. In the first photo you can see the evolution very quickly before the theme loads completely.

Screenshots
image
image
image
image

HTML source code
edegraev.txt (.txt cause .html not working )

Desktop information (please complete the following information):

  • OS: Ubuntu 22.04.2 LTS
  • Browser: Google Chrome 121.0.6167.139 (Official Build) (64-bit)
  • Current server version: 3.3.0
  • Server target version: 4.2.0
  • Extension version: 4.3.1

add friends42 for paris map

Is your feature request related to a problem? Please describe.
at paris the students use https://friends42.fr/ for the map and i think it could be a good idea if the improved intra map redirect to friends42

Describe the solution you'd like
create a specific rule for paris campus

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Cannot authenticate - Bad gateway

It is not possible to authenticate the extension on Chrome using our intra profile. With this, there are a few functions that are not loading and it's not possible for new users to use the extension either. The message received when trying to authenticate or access the extension home page is: "502 Bad Gateway - nginx/1.18.0"

Steps to reproduce the behavior:

  1. Go to the extension icon.
  2. Click on it and choose to authenticate.
  3. A new window will appear and, after a minute, it'll show the error.

It was expected that we could access the extension configuration page and could authenticate using 42's website.

Screenshot from 2023-07-19 20-30-52

Desktop information (please complete the following information):

  • OS: Linux
  • Browser: Chrome
  • Extension version: 4.1.0

UI bugging when I middle clicked a link

Describe the bug
When opening a page with middle click the entire UI bug and it's nearly impossible to read.
Seems to be only on firefox because when using chrome I do not have any problems.
But I may be dumb.

To Reproduce
Open any tab of 42intra in firefox with middle click

Expected behavior
The UI to work correctly and be readable when opening with middle click

Screenshots
Jut click :
image
With middle click :
image

Desktop information (please complete the following information):

  • Browser Firefox
  • OS Ubuntu 20.04 LTS

(PS : I'm not very smart so maybe so it's caused by something I've got (for example i have the Dark Reader extension but it's deactivate on the intra so i don't know))
(PS1 : I'm french don't judge my writing)

"Authenticate with 42" button doesn't work

Describe the bug
The changes made in the Improved Intra settings aren't applied to the Intra because it is impossible to authenticate with 42 from the extension menu

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Intra
  2. Click on the extensions menu in the top bar
  3. Click on the Improved Intra extension
  4. Click on "Authenticate with 42"
  5. A window will open and close immediately
  6. The process can be repeated indefinitely without the user being authenticated

Expected behavior
The user should be connected to their account and their chosen settings should be synced

Screenshots
Extension_menu
Intra_profile
Improved_Intra_settings-location
Improved_Intra_Settings-blackhole

Desktop information (please complete the following information):
Current server version: 3.0.2
Server target version: 4.0.0
Extension version: 4.0.3
Browser: Opera 96.0.0.0
OS: macOS 10.15.7

Manage slot : way to replace 12 hours format to 24

The table for reserving slots for evalutations is in 12h format, which is quite confusing. The option would be to replace the 12h format with 24h. The funny thing is that in the html code you can see tags expressing the time in 24 format.

image
image

Change first day of the week of the log time calendar.

Request:
Represent the log time calendar with Monday as first day of the week.

This could be archived by rearranging the rectangles of the calendar SVG element, by manipulating their x and y values.
This feature should probably be a setting, to make the change optional.

Additional notes:
Since in some areas in the world, the first day of the week is Saturday, a third option or a free selection for day could also be an option (but might be more complex).
The default setting could be set depending on the user's locale.

Syncing symbol displayed over the save button in extension's settings page is not shown properly

Describe the bug
When clicking on the flopping disk to change your settings of "intra improved". The image of the floppy disk disappears.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Intra improved preference tab'
  2. Click on 'The floppy disk'
  3. See error

Expected behavior
It shouldn't disappear :)

Screenshots

Screen.Recording.2022-04-16.at.9.56.33.PM.mov

Desktop information (please complete the following information):

  • OS: MacOs 10.14.6
  • Browser Firefox 88.0.1

Sort projects on user profiles by project name instead of their slug

Is your feature request related to a problem? Please describe.
When you visit a user's profile on Intra and look at the projects a user has completed, these projects are sorted by slug (URL path) instead of by their name.

Describe the solution you'd like
Using Javascript, it might be possible to sort the projects based on their names instead.

Using "Click to go back' on cluster visualization

Upon clicking on your current workstation on your profile page, you get correctly redirected to the page showing you clusters. After that, if you click on a profile and then use the "Click to go back" arrow, the clusters do not show up correctly but instead show the raw data of the users currently logged in. The bug happens with Google Chrome on Ubuntu 22.04.1 LTS. I did not try to reproduce the bug on other OS or other browser.
bugintra

Coalition screen text almost invisible on dark mode

Usernames and points gained by users for their coalitions show as black text on a black/grey background.

Screenshots
Screen Shot 2023-08-01 at 10 46 26 AM

Expected behavior
Text should be at least visible (white or any light color)

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Extension version: 4.1.0

HTML source code
Intra Profile Void.txt

add Image requirements to the upload menu

I am trying for 30 minutes now to upload my image and it wont work !
I tried resizing it, changing the name, the format and everything and I don't know why it wont work

If it is possible to add the requirement and format accepted to the images it would be fantastic

If not, put them on the github readme maybe ?

In anyway i'll contimue trying putting my image x_x

(this one) https://imgur.com/MYYtwkP
wallpaper

Index button in issues is white

Index button is white, also overwrite these classes:

Screen Shot 2022-03-09 at 8 23 07 PM

.topic-item .topic-content .topic-metadata {
    color: rgba(103,103,109,0.5);
}

Gitlab link

add an option for add link to github or gitlab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.